]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
corrected Unicode conversion when replacing shared library extension with ".rsrc"
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51 /***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61 #include <string.h>
62
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
68 # else
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
71 # endif
72 # else
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
76 # else
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
79 # endif
80 # endif
81 #else
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
84 #endif
85
86 #ifdef SWIG_GLOBAL
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #else
89 # define SWIGRUNTIME(a) static a
90 #endif
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
119
120
121 #ifdef __cplusplus
122 }
123
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxPrintData swig_types[5]
217 #define SWIGTYPE_p_wxFontData swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxIconBundle swig_types[9]
221 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226 #define SWIGTYPE_p_wxRegion swig_types[15]
227 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxSize swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxIcon swig_types[20]
232 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
233 #define SWIGTYPE_p_wxColourData swig_types[22]
234 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
235 #define SWIGTYPE_p_wxPyWindow swig_types[24]
236 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
237 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
238 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
239 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
240 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
241 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
242 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
243 #define SWIGTYPE_p_wxFileDialog swig_types[32]
244 #define SWIGTYPE_p_wxPrinter swig_types[33]
245 #define SWIGTYPE_p_wxArrayInt swig_types[34]
246 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
247 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
248 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
249 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
250 #define SWIGTYPE_p_wxRect swig_types[39]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
252 #define SWIGTYPE_p_wxFrame swig_types[41]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
256 #define SWIGTYPE_p_wxStatusBar swig_types[45]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
258 #define SWIGTYPE_p_wxPoint swig_types[47]
259 #define SWIGTYPE_p_wxObject swig_types[48]
260 #define SWIGTYPE_p_unsigned_long swig_types[49]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
262 #define SWIGTYPE_p_wxTipWindow swig_types[51]
263 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[52]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
268 #define SWIGTYPE_p_wxSashWindow swig_types[57]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
270 #define SWIGTYPE_p_wxWindow swig_types[59]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
273 #define SWIGTYPE_p_wxMenuBar swig_types[62]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
275 #define SWIGTYPE_p_wxSashEvent swig_types[64]
276 #define SWIGTYPE_p_wxString swig_types[65]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
278 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
279 #define SWIGTYPE_p_wxFontDialog swig_types[68]
280 #define SWIGTYPE_p_wxDirDialog swig_types[69]
281 #define SWIGTYPE_p_wxColourDialog swig_types[70]
282 #define SWIGTYPE_p_wxDialog swig_types[71]
283 #define SWIGTYPE_p_wxPanel swig_types[72]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
285 #define SWIGTYPE_p_wxBitmap swig_types[74]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
287 #define SWIGTYPE_p_wxPrintQuality swig_types[76]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
290 #define SWIGTYPE_p_wxColour swig_types[79]
291 #define SWIGTYPE_p_wxToolBar swig_types[80]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
294 static swig_type_info *swig_types[84];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309 DECLARE_DEF_STRING(PanelNameStr);
310 DECLARE_DEF_STRING(EmptyString);
311
312
313
314
315
316 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
317 PyObject* o2;
318 PyObject* o3;
319
320 if (!target) {
321 target = o;
322 } else if (target == Py_None) {
323 Py_DECREF(Py_None);
324 target = o;
325 } else {
326 if (!PyTuple_Check(target)) {
327 o2 = target;
328 target = PyTuple_New(1);
329 PyTuple_SetItem(target, 0, o2);
330 }
331 o3 = PyTuple_New(1);
332 PyTuple_SetItem(o3, 0, o);
333
334 o2 = target;
335 target = PySequence_Concat(o2, o3);
336 Py_DECREF(o2);
337 Py_DECREF(o3);
338 }
339 return target;
340 }
341
342
343 // Put some wx default wxChar* values into wxStrings.
344 DECLARE_DEF_STRING(FrameNameStr);
345 DECLARE_DEF_STRING(DialogNameStr);
346 DECLARE_DEF_STRING(StatusLineNameStr);
347 DECLARE_DEF_STRING(ToolBarNameStr);
348
349 bool wxDialog_IsModalShowing(wxDialog *self){
350
351
352
353 return self->IsModalShowing();
354
355 }
356
357
358 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
359 wxRect r;
360 self->GetFieldRect(i, r);
361 return r;
362 }
363
364 static const wxChar* wxSplitterNameStr = wxT("splitter");
365 DECLARE_DEF_STRING(SplitterNameStr);
366
367
368 static const wxChar* wxSashNameStr = wxT("sashWindow");
369 DECLARE_DEF_STRING(SashNameStr);
370 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
371 DECLARE_DEF_STRING(SashLayoutNameStr);
372
373
374 #include <wx/popupwin.h>
375
376
377 class wxPopupWindow : public wxWindow {
378 public:
379 wxPopupWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
380 wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
381 };
382
383 class wxPyPopupTransientWindow : public wxPopupWindow
384 {
385 public:
386 wxPyPopupTransientWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
387 wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
388 };
389
390
391 #include <wx/tipwin.h>
392
393 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
394 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
395 }
396
397 #include <wx/tipwin.h>
398
399
400 #include <wx/vscroll.h>
401
402
403 class wxPyVScrolledWindow : public wxVScrolledWindow
404 {
405 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
406 public:
407 wxPyVScrolledWindow() : wxVScrolledWindow() {}
408
409 wxPyVScrolledWindow(wxWindow *parent,
410 wxWindowID id = wxID_ANY,
411 const wxPoint& pos = wxDefaultPosition,
412 const wxSize& size = wxDefaultSize,
413 long style = 0,
414 const wxString& name = wxPyPanelNameStr)
415 : wxVScrolledWindow(parent, id, pos, size, style, name)
416 {}
417
418 // Overridable virtuals
419
420 // this function must be overridden in the derived class and it should
421 // return the height of the given line in pixels
422 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
423
424
425 // this function doesn't have to be overridden but it may be useful to do
426 // it if calculating the lines heights is a relatively expensive operation
427 // as it gives the user code a possibility to calculate several of them at
428 // once
429 //
430 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
431 // shouldn't rely on the latter being called for all lines in the interval
432 // specified here. It is also possible that OnGetLineHeight() will be
433 // called for the lines outside of this interval, so this is really just a
434 // hint, not a promise.
435 //
436 // finally note that lineMin is inclusive, while lineMax is exclusive, as
437 // usual
438 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
439
440
441 // when the number of lines changes, we try to estimate the total height
442 // of all lines which is a rather expensive operation in terms of lines
443 // access, so if the user code may estimate the average height
444 // better/faster than we do, it should override this function to implement
445 // its own logic
446 //
447 // this function should return the best guess for the total height it may
448 // make
449 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
450
451
452 // Also expose some other interesting protected methods
453
454
455 // find the index of the line we need to show at the top of the window such
456 // that the last (fully or partially) visible line is the given one
457 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
458 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
459
460 // get the total height of the lines between lineMin (inclusive) and
461 // lineMax (exclusive)
462 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
463 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
464
465
466 PYPRIVATE;
467 };
468
469 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
470
471 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
472 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
473 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
474
475
476 #include <wx/vlbox.h>
477 DECLARE_DEF_STRING(VListBoxNameStr);
478
479
480 class wxPyVListBox : public wxVListBox
481 {
482 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
483 public:
484 wxPyVListBox() : wxVListBox() {}
485
486 wxPyVListBox(wxWindow *parent,
487 wxWindowID id = wxID_ANY,
488 const wxPoint& pos = wxDefaultPosition,
489 const wxSize& size = wxDefaultSize,
490 long style = 0,
491 const wxString& name = wxPyVListBoxNameStr)
492 : wxVListBox(parent, id, pos, size, style, name)
493 {}
494
495 // Overridable virtuals
496
497 // the derived class must implement this function to actually draw the item
498 // with the given index on the provided DC
499 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
500 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
501
502
503 // the derived class must implement this method to return the height of the
504 // specified item
505 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
506 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
507
508
509 // this method may be used to draw separators between the lines; note that
510 // the rectangle may be modified, typically to deflate it a bit before
511 // passing to OnDrawItem()
512 //
513 // the base class version doesn't do anything
514 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
515 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
516
517
518 // this method is used to draw the items background and, maybe, a border
519 // around it
520 //
521 // the base class version implements a reasonable default behaviour which
522 // consists in drawing the selected item with the standard background
523 // colour and drawing a border around the item if it is either selected or
524 // current
525 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
526 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
527
528
529 PYPRIVATE;
530 };
531
532 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
533
534 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
535 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
536 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
537 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
538
539
540
541 #include <wx/htmllbox.h>
542
543
544 class wxPyHtmlListBox : public wxHtmlListBox
545 {
546 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
547 public:
548 wxPyHtmlListBox() : wxHtmlListBox() {}
549
550 wxPyHtmlListBox(wxWindow *parent,
551 wxWindowID id = wxID_ANY,
552 const wxPoint& pos = wxDefaultPosition,
553 const wxSize& size = wxDefaultSize,
554 long style = 0,
555 const wxString& name = wxPyVListBoxNameStr)
556 : wxHtmlListBox(parent, id, pos, size, style, name)
557 {}
558
559 // Overridable virtuals
560
561 // this method must be implemented in the derived class and should return
562 // the body (i.e. without <html>) of the HTML for the given item
563 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
564
565 // this function may be overridden to decorate HTML returned by OnGetItem()
566 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
567
568 // TODO:
569 // // this method allows to customize the selection appearance: it may be used
570 // // to specify the colour of the text which normally has the given colour
571 // // colFg when it is inside the selection
572 // //
573 // // by default, the original colour is not used at all and all text has the
574 // // same (default for this system) colour inside selection
575 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
576
577 // // this is the same as GetSelectedTextColour() but allows to customize the
578 // // background colour -- this is even more rarely used as you can change it
579 // // globally using SetSelectionBackground()
580 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
581
582
583 PYPRIVATE;
584 };
585
586
587 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
588
589 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
590 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
591
592
593
594
595
596 #ifdef __WXMAC__
597 // implement dummy classes and such for wxMac
598
599 class wxTaskBarIcon : public wxEvtHandler
600 {
601 public:
602 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
603 };
604
605
606 class wxTaskBarIconEvent : public wxEvent
607 {
608 public:
609 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
610 { PyErr_SetNone(PyExc_NotImplementedError); }
611 virtual wxEvent* Clone() const { return NULL; }
612 };
613
614 enum {
615 wxEVT_TASKBAR_MOVE = 0,
616 wxEVT_TASKBAR_LEFT_DOWN = 0,
617 wxEVT_TASKBAR_LEFT_UP = 0,
618 wxEVT_TASKBAR_RIGHT_DOWN = 0,
619 wxEVT_TASKBAR_RIGHT_UP = 0,
620 wxEVT_TASKBAR_LEFT_DCLICK = 0,
621 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
622 };
623 #endif
624
625
626
627 DECLARE_DEF_STRING(FileSelectorPromptStr);
628 DECLARE_DEF_STRING(DirSelectorPromptStr);
629 DECLARE_DEF_STRING(DirDialogNameStr);
630 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
631 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
632 DECLARE_DEF_STRING(MessageBoxCaptionStr);
633
634
635 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
636 wxArrayString arr;
637 self->GetFilenames(arr);
638 return wxArrayString2PyList_helper(arr);
639 }
640 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
641 wxArrayString arr;
642 self->GetPaths(arr);
643 return wxArrayString2PyList_helper(arr);
644 }
645 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
646 return wxArrayInt2PyList_helper(self->GetSelections());
647 }
648 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
649 return new wxSingleChoiceDialog(parent, message, caption,
650 choices, choices_array, NULL, style, pos);
651 }
652
653 #include <wx/mdi.h>
654
655 // C++ version of Python aware wxWindow
656 class wxPyWindow : public wxWindow
657 {
658 DECLARE_DYNAMIC_CLASS(wxPyWindow)
659 public:
660 wxPyWindow() : wxWindow() {}
661 wxPyWindow(wxWindow* parent, const wxWindowID id,
662 const wxPoint& pos = wxDefaultPosition,
663 const wxSize& size = wxDefaultSize,
664 long style = 0,
665 const wxString& name = wxPyPanelNameStr)
666 : wxWindow(parent, id, pos, size, style, name) {}
667
668
669 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
670 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
671 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
672 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
673
674 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
675 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
676 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
677
678 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
679 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
680
681 DEC_PYCALLBACK__(InitDialog);
682 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
683 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
684 DEC_PYCALLBACK_BOOL_(Validate);
685
686 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
687 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
688 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
689
690 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
691 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
692
693 PYPRIVATE;
694 };
695
696 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
697
698 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
699 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
700 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
701 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
702
703 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
704 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
705 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
706
707 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
708 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
709
710 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
711 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
712 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
713 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
714
715 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
716 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
717 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
718
719 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
720 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
721
722
723 // C++ version of Python aware wxPanel
724 class wxPyPanel : public wxPanel
725 {
726 DECLARE_DYNAMIC_CLASS(wxPyPanel)
727 public:
728 wxPyPanel() : wxPanel() {}
729 wxPyPanel(wxWindow* parent, const wxWindowID id,
730 const wxPoint& pos = wxDefaultPosition,
731 const wxSize& size = wxDefaultSize,
732 long style = 0,
733 const wxString& name = wxPyPanelNameStr)
734 : wxPanel(parent, id, pos, size, style, name) {}
735
736
737 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
738 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
739 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
740 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
741
742 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
743 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
744 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
745
746 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
747 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
748
749 DEC_PYCALLBACK__(InitDialog);
750 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
751 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
752 DEC_PYCALLBACK_BOOL_(Validate);
753
754 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
755 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
756 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
757
758 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
759 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
760
761 PYPRIVATE;
762 };
763
764 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
765
766 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
767 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
768 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
769 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
770
771 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
772 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
773 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
774
775 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
776 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
777
778 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
779 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
780 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
781 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
782
783 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
784 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
785 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
786
787 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
788 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
789
790
791
792 #include "wx/wxPython/printfw.h"
793
794 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
795 DECLARE_DEF_STRING(PrintoutTitleStr);
796 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
797 DECLARE_DEF_STRING(PreviewCanvasNameStr);
798
799
800
801
802
803 // Since this one would be tough and ugly to do with the Macros...
804 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
805 bool hadErr = False;
806 bool found;
807
808 wxPyBeginBlockThreads();
809 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
810 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
811 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
812 PyObject* val;
813
814 val = PyTuple_GetItem(result, 0);
815 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
816 else hadErr = True;
817
818 val = PyTuple_GetItem(result, 1);
819 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
820 else hadErr = True;
821
822 val = PyTuple_GetItem(result, 2);
823 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
824 else hadErr = True;
825
826 val = PyTuple_GetItem(result, 3);
827 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
828 else hadErr = True;
829 }
830 else
831 hadErr = True;
832
833 if (hadErr) {
834 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
835 PyErr_Print();
836 }
837 Py_DECREF(result);
838 }
839 wxPyEndBlockThreads();
840 if (! found)
841 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
842 }
843
844 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
845 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
846 }
847
848
849 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
850 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
851 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
852 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
853 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
854 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
855 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
856
857
858
859
860
861 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
862 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
863 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
864
865
866 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
867 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
868 bool rval=False; \
869 bool found; \
870 wxPyBeginBlockThreads(); \
871 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
872 PyObject* win = wxPyMake_wxObject(a); \
873 PyObject* dc = wxPyMake_wxObject(&b); \
874 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
875 Py_DECREF(win); \
876 Py_DECREF(dc); \
877 } \
878 wxPyEndBlockThreads(); \
879 if (! found) \
880 rval = PCLASS::CBNAME(a, b); \
881 return rval; \
882 } \
883 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
884 return PCLASS::CBNAME(a, b); \
885 }
886
887
888
889
890 class wxPyPrintPreview : public wxPrintPreview
891 {
892 DECLARE_CLASS(wxPyPrintPreview)
893 public:
894 wxPyPrintPreview(wxPyPrintout* printout,
895 wxPyPrintout* printoutForPrinting,
896 wxPrintData* data=NULL)
897 : wxPrintPreview(printout, printoutForPrinting, data)
898 {}
899
900 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
901 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
902 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
903 DEC_PYCALLBACK_BOOL_INT(RenderPage);
904 DEC_PYCALLBACK_VOID_INT(SetZoom);
905 DEC_PYCALLBACK_BOOL_BOOL(Print);
906 DEC_PYCALLBACK_VOID_(DetermineScaling);
907
908 PYPRIVATE;
909 };
910
911 // Stupid renamed classes... Fix this in 2.5...
912 #if defined(__WXMSW__)
913 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
914 #elif defined(__WXMAC__)
915 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
916 #else
917 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
918 #endif
919
920 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
921 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
922 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
923 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
924 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
925 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
926 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
927
928
929 class wxPyPreviewFrame : public wxPreviewFrame
930 {
931 DECLARE_CLASS(wxPyPreviewFrame);
932 public:
933 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
934 const wxString& title,
935 const wxPoint& pos = wxDefaultPosition,
936 const wxSize& size = wxDefaultSize,
937 long style = wxDEFAULT_FRAME_STYLE,
938 const wxString& name = wxPyFrameNameStr)
939 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
940 {}
941
942 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
943 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
944
945 DEC_PYCALLBACK_VOID_(Initialize);
946 DEC_PYCALLBACK_VOID_(CreateCanvas);
947 DEC_PYCALLBACK_VOID_(CreateControlBar);
948
949 PYPRIVATE;
950 };
951
952 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
953
954 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
955 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
956 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
957
958
959 class wxPyPreviewControlBar : public wxPreviewControlBar
960 {
961 DECLARE_CLASS(wxPyPreviewControlBar);
962 public:
963 wxPyPreviewControlBar(wxPrintPreview *preview,
964 long buttons,
965 wxWindow *parent,
966 const wxPoint& pos = wxDefaultPosition,
967 const wxSize& size = wxDefaultSize,
968 long style = 0,
969 const wxString& name = wxPyPanelNameStr)
970 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
971 {}
972
973 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
974
975 DEC_PYCALLBACK_VOID_(CreateButtons);
976 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
977
978 PYPRIVATE;
979 };
980
981 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
982 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
983 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
984
985 #ifdef __cplusplus
986 extern "C" {
987 #endif
988 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
989 PyObject *resultobj;
990 wxWindow *arg1 = (wxWindow *) 0 ;
991 int arg2 = (int) (int)-1 ;
992 wxPoint const &arg3_defvalue = wxDefaultPosition ;
993 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
994 wxSize const &arg4_defvalue = wxDefaultSize ;
995 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
996 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
997 wxString const &arg6_defvalue = wxPyPanelNameStr ;
998 wxString *arg6 = (wxString *) &arg6_defvalue ;
999 wxPanel *result;
1000 wxPoint temp3 ;
1001 wxSize temp4 ;
1002 bool temp6 = False ;
1003 PyObject * obj0 = 0 ;
1004 PyObject * obj2 = 0 ;
1005 PyObject * obj3 = 0 ;
1006 PyObject * obj5 = 0 ;
1007 char *kwnames[] = {
1008 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1009 };
1010
1011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1013 if (obj2) {
1014 {
1015 arg3 = &temp3;
1016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1017 }
1018 }
1019 if (obj3) {
1020 {
1021 arg4 = &temp4;
1022 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1023 }
1024 }
1025 if (obj5) {
1026 {
1027 arg6 = wxString_in_helper(obj5);
1028 if (arg6 == NULL) SWIG_fail;
1029 temp6 = True;
1030 }
1031 }
1032 {
1033 PyThreadState* __tstate = wxPyBeginAllowThreads();
1034 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1035
1036 wxPyEndAllowThreads(__tstate);
1037 if (PyErr_Occurred()) SWIG_fail;
1038 }
1039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1040 {
1041 if (temp6)
1042 delete arg6;
1043 }
1044 return resultobj;
1045 fail:
1046 {
1047 if (temp6)
1048 delete arg6;
1049 }
1050 return NULL;
1051 }
1052
1053
1054 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1055 PyObject *resultobj;
1056 wxPanel *result;
1057 char *kwnames[] = {
1058 NULL
1059 };
1060
1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1062 {
1063 PyThreadState* __tstate = wxPyBeginAllowThreads();
1064 result = (wxPanel *)new wxPanel();
1065
1066 wxPyEndAllowThreads(__tstate);
1067 if (PyErr_Occurred()) SWIG_fail;
1068 }
1069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1070 return resultobj;
1071 fail:
1072 return NULL;
1073 }
1074
1075
1076 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1077 PyObject *resultobj;
1078 wxPanel *arg1 = (wxPanel *) 0 ;
1079 wxWindow *arg2 = (wxWindow *) 0 ;
1080 int arg3 ;
1081 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1082 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1083 wxSize const &arg5_defvalue = wxDefaultSize ;
1084 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1085 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1086 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1087 wxString *arg7 = (wxString *) &arg7_defvalue ;
1088 bool result;
1089 wxPoint temp4 ;
1090 wxSize temp5 ;
1091 bool temp7 = False ;
1092 PyObject * obj0 = 0 ;
1093 PyObject * obj1 = 0 ;
1094 PyObject * obj3 = 0 ;
1095 PyObject * obj4 = 0 ;
1096 PyObject * obj6 = 0 ;
1097 char *kwnames[] = {
1098 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1099 };
1100
1101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1104 if (obj3) {
1105 {
1106 arg4 = &temp4;
1107 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1108 }
1109 }
1110 if (obj4) {
1111 {
1112 arg5 = &temp5;
1113 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1114 }
1115 }
1116 if (obj6) {
1117 {
1118 arg7 = wxString_in_helper(obj6);
1119 if (arg7 == NULL) SWIG_fail;
1120 temp7 = True;
1121 }
1122 }
1123 {
1124 PyThreadState* __tstate = wxPyBeginAllowThreads();
1125 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1126
1127 wxPyEndAllowThreads(__tstate);
1128 if (PyErr_Occurred()) SWIG_fail;
1129 }
1130 resultobj = PyInt_FromLong((long)result);
1131 {
1132 if (temp7)
1133 delete arg7;
1134 }
1135 return resultobj;
1136 fail:
1137 {
1138 if (temp7)
1139 delete arg7;
1140 }
1141 return NULL;
1142 }
1143
1144
1145 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1146 PyObject *resultobj;
1147 wxPanel *arg1 = (wxPanel *) 0 ;
1148 PyObject * obj0 = 0 ;
1149 char *kwnames[] = {
1150 (char *) "self", NULL
1151 };
1152
1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1155 {
1156 PyThreadState* __tstate = wxPyBeginAllowThreads();
1157 (arg1)->InitDialog();
1158
1159 wxPyEndAllowThreads(__tstate);
1160 if (PyErr_Occurred()) SWIG_fail;
1161 }
1162 Py_INCREF(Py_None); resultobj = Py_None;
1163 return resultobj;
1164 fail:
1165 return NULL;
1166 }
1167
1168
1169 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1170 PyObject *obj;
1171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1172 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1173 Py_INCREF(obj);
1174 return Py_BuildValue((char *)"");
1175 }
1176 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject *resultobj;
1178 wxWindow *arg1 = (wxWindow *) 0 ;
1179 int arg2 = (int) (int)-1 ;
1180 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1181 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1182 wxSize const &arg4_defvalue = wxDefaultSize ;
1183 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1184 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1185 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1186 wxString *arg6 = (wxString *) &arg6_defvalue ;
1187 wxScrolledWindow *result;
1188 wxPoint temp3 ;
1189 wxSize temp4 ;
1190 bool temp6 = False ;
1191 PyObject * obj0 = 0 ;
1192 PyObject * obj2 = 0 ;
1193 PyObject * obj3 = 0 ;
1194 PyObject * obj5 = 0 ;
1195 char *kwnames[] = {
1196 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1197 };
1198
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1201 if (obj2) {
1202 {
1203 arg3 = &temp3;
1204 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1205 }
1206 }
1207 if (obj3) {
1208 {
1209 arg4 = &temp4;
1210 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1211 }
1212 }
1213 if (obj5) {
1214 {
1215 arg6 = wxString_in_helper(obj5);
1216 if (arg6 == NULL) SWIG_fail;
1217 temp6 = True;
1218 }
1219 }
1220 {
1221 PyThreadState* __tstate = wxPyBeginAllowThreads();
1222 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1223
1224 wxPyEndAllowThreads(__tstate);
1225 if (PyErr_Occurred()) SWIG_fail;
1226 }
1227 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1228 {
1229 if (temp6)
1230 delete arg6;
1231 }
1232 return resultobj;
1233 fail:
1234 {
1235 if (temp6)
1236 delete arg6;
1237 }
1238 return NULL;
1239 }
1240
1241
1242 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1243 PyObject *resultobj;
1244 wxScrolledWindow *result;
1245 char *kwnames[] = {
1246 NULL
1247 };
1248
1249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1250 {
1251 PyThreadState* __tstate = wxPyBeginAllowThreads();
1252 result = (wxScrolledWindow *)new wxScrolledWindow();
1253
1254 wxPyEndAllowThreads(__tstate);
1255 if (PyErr_Occurred()) SWIG_fail;
1256 }
1257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1258 return resultobj;
1259 fail:
1260 return NULL;
1261 }
1262
1263
1264 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1265 PyObject *resultobj;
1266 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1267 wxWindow *arg2 = (wxWindow *) 0 ;
1268 int arg3 = (int) (int)-1 ;
1269 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1270 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1271 wxSize const &arg5_defvalue = wxDefaultSize ;
1272 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1273 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1274 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1275 wxString *arg7 = (wxString *) &arg7_defvalue ;
1276 bool result;
1277 wxPoint temp4 ;
1278 wxSize temp5 ;
1279 bool temp7 = False ;
1280 PyObject * obj0 = 0 ;
1281 PyObject * obj1 = 0 ;
1282 PyObject * obj3 = 0 ;
1283 PyObject * obj4 = 0 ;
1284 PyObject * obj6 = 0 ;
1285 char *kwnames[] = {
1286 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1287 };
1288
1289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1292 if (obj3) {
1293 {
1294 arg4 = &temp4;
1295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1296 }
1297 }
1298 if (obj4) {
1299 {
1300 arg5 = &temp5;
1301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1302 }
1303 }
1304 if (obj6) {
1305 {
1306 arg7 = wxString_in_helper(obj6);
1307 if (arg7 == NULL) SWIG_fail;
1308 temp7 = True;
1309 }
1310 }
1311 {
1312 PyThreadState* __tstate = wxPyBeginAllowThreads();
1313 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1314
1315 wxPyEndAllowThreads(__tstate);
1316 if (PyErr_Occurred()) SWIG_fail;
1317 }
1318 resultobj = PyInt_FromLong((long)result);
1319 {
1320 if (temp7)
1321 delete arg7;
1322 }
1323 return resultobj;
1324 fail:
1325 {
1326 if (temp7)
1327 delete arg7;
1328 }
1329 return NULL;
1330 }
1331
1332
1333 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1334 PyObject *resultobj;
1335 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1336 int arg2 ;
1337 int arg3 ;
1338 int arg4 ;
1339 int arg5 ;
1340 int arg6 = (int) 0 ;
1341 int arg7 = (int) 0 ;
1342 bool arg8 = (bool) False ;
1343 PyObject * obj0 = 0 ;
1344 PyObject * obj7 = 0 ;
1345 char *kwnames[] = {
1346 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1347 };
1348
1349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1351 if (obj7) {
1352 arg8 = PyInt_AsLong(obj7) ? true : false;
1353 if (PyErr_Occurred()) SWIG_fail;
1354 }
1355 {
1356 PyThreadState* __tstate = wxPyBeginAllowThreads();
1357 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1358
1359 wxPyEndAllowThreads(__tstate);
1360 if (PyErr_Occurred()) SWIG_fail;
1361 }
1362 Py_INCREF(Py_None); resultobj = Py_None;
1363 return resultobj;
1364 fail:
1365 return NULL;
1366 }
1367
1368
1369 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1370 PyObject *resultobj;
1371 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1372 int arg2 ;
1373 int arg3 ;
1374 PyObject * obj0 = 0 ;
1375 char *kwnames[] = {
1376 (char *) "self",(char *) "x",(char *) "y", NULL
1377 };
1378
1379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1381 {
1382 PyThreadState* __tstate = wxPyBeginAllowThreads();
1383 (arg1)->Scroll(arg2,arg3);
1384
1385 wxPyEndAllowThreads(__tstate);
1386 if (PyErr_Occurred()) SWIG_fail;
1387 }
1388 Py_INCREF(Py_None); resultobj = Py_None;
1389 return resultobj;
1390 fail:
1391 return NULL;
1392 }
1393
1394
1395 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1396 PyObject *resultobj;
1397 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1398 int arg2 ;
1399 int result;
1400 PyObject * obj0 = 0 ;
1401 char *kwnames[] = {
1402 (char *) "self",(char *) "orient", NULL
1403 };
1404
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1407 {
1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
1409 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1410
1411 wxPyEndAllowThreads(__tstate);
1412 if (PyErr_Occurred()) SWIG_fail;
1413 }
1414 resultobj = PyInt_FromLong((long)result);
1415 return resultobj;
1416 fail:
1417 return NULL;
1418 }
1419
1420
1421 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1422 PyObject *resultobj;
1423 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1424 int arg2 ;
1425 int arg3 ;
1426 PyObject * obj0 = 0 ;
1427 char *kwnames[] = {
1428 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1429 };
1430
1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1433 {
1434 PyThreadState* __tstate = wxPyBeginAllowThreads();
1435 (arg1)->SetScrollPageSize(arg2,arg3);
1436
1437 wxPyEndAllowThreads(__tstate);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 Py_INCREF(Py_None); resultobj = Py_None;
1441 return resultobj;
1442 fail:
1443 return NULL;
1444 }
1445
1446
1447 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1448 PyObject *resultobj;
1449 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1450 int arg2 ;
1451 int arg3 ;
1452 PyObject * obj0 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1459 {
1460 PyThreadState* __tstate = wxPyBeginAllowThreads();
1461 (arg1)->SetScrollRate(arg2,arg3);
1462
1463 wxPyEndAllowThreads(__tstate);
1464 if (PyErr_Occurred()) SWIG_fail;
1465 }
1466 Py_INCREF(Py_None); resultobj = Py_None;
1467 return resultobj;
1468 fail:
1469 return NULL;
1470 }
1471
1472
1473 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1474 PyObject *resultobj;
1475 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1476 int *arg2 = (int *) 0 ;
1477 int *arg3 = (int *) 0 ;
1478 int temp2 ;
1479 int temp3 ;
1480 PyObject * obj0 = 0 ;
1481 char *kwnames[] = {
1482 (char *) "self", NULL
1483 };
1484
1485 arg2 = &temp2;
1486 arg3 = &temp3;
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1489 {
1490 PyThreadState* __tstate = wxPyBeginAllowThreads();
1491 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1492
1493 wxPyEndAllowThreads(__tstate);
1494 if (PyErr_Occurred()) SWIG_fail;
1495 }
1496 Py_INCREF(Py_None); resultobj = Py_None;
1497 {
1498 PyObject *o = PyInt_FromLong((long) (*arg2));
1499 resultobj = t_output_helper(resultobj,o);
1500 }
1501 {
1502 PyObject *o = PyInt_FromLong((long) (*arg3));
1503 resultobj = t_output_helper(resultobj,o);
1504 }
1505 return resultobj;
1506 fail:
1507 return NULL;
1508 }
1509
1510
1511 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1512 PyObject *resultobj;
1513 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1514 bool arg2 ;
1515 bool arg3 ;
1516 PyObject * obj0 = 0 ;
1517 PyObject * obj1 = 0 ;
1518 PyObject * obj2 = 0 ;
1519 char *kwnames[] = {
1520 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1521 };
1522
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1525 arg2 = PyInt_AsLong(obj1) ? true : false;
1526 if (PyErr_Occurred()) SWIG_fail;
1527 arg3 = PyInt_AsLong(obj2) ? true : false;
1528 if (PyErr_Occurred()) SWIG_fail;
1529 {
1530 PyThreadState* __tstate = wxPyBeginAllowThreads();
1531 (arg1)->EnableScrolling(arg2,arg3);
1532
1533 wxPyEndAllowThreads(__tstate);
1534 if (PyErr_Occurred()) SWIG_fail;
1535 }
1536 Py_INCREF(Py_None); resultobj = Py_None;
1537 return resultobj;
1538 fail:
1539 return NULL;
1540 }
1541
1542
1543 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1544 PyObject *resultobj;
1545 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1546 int *arg2 = (int *) 0 ;
1547 int *arg3 = (int *) 0 ;
1548 int temp2 ;
1549 int temp3 ;
1550 PyObject * obj0 = 0 ;
1551 char *kwnames[] = {
1552 (char *) "self", NULL
1553 };
1554
1555 arg2 = &temp2;
1556 arg3 = &temp3;
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1559 {
1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
1561 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1562
1563 wxPyEndAllowThreads(__tstate);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 Py_INCREF(Py_None); resultobj = Py_None;
1567 {
1568 PyObject *o = PyInt_FromLong((long) (*arg2));
1569 resultobj = t_output_helper(resultobj,o);
1570 }
1571 {
1572 PyObject *o = PyInt_FromLong((long) (*arg3));
1573 resultobj = t_output_helper(resultobj,o);
1574 }
1575 return resultobj;
1576 fail:
1577 return NULL;
1578 }
1579
1580
1581 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1582 PyObject *resultobj;
1583 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1584 double arg2 ;
1585 double arg3 ;
1586 PyObject * obj0 = 0 ;
1587 char *kwnames[] = {
1588 (char *) "self",(char *) "xs",(char *) "ys", NULL
1589 };
1590
1591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1593 {
1594 PyThreadState* __tstate = wxPyBeginAllowThreads();
1595 (arg1)->SetScale(arg2,arg3);
1596
1597 wxPyEndAllowThreads(__tstate);
1598 if (PyErr_Occurred()) SWIG_fail;
1599 }
1600 Py_INCREF(Py_None); resultobj = Py_None;
1601 return resultobj;
1602 fail:
1603 return NULL;
1604 }
1605
1606
1607 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject *resultobj;
1609 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1610 double result;
1611 PyObject * obj0 = 0 ;
1612 char *kwnames[] = {
1613 (char *) "self", NULL
1614 };
1615
1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 resultobj = PyFloat_FromDouble(result);
1626 return resultobj;
1627 fail:
1628 return NULL;
1629 }
1630
1631
1632 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1635 double result;
1636 PyObject * obj0 = 0 ;
1637 char *kwnames[] = {
1638 (char *) "self", NULL
1639 };
1640
1641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 resultobj = PyFloat_FromDouble(result);
1651 return resultobj;
1652 fail:
1653 return NULL;
1654 }
1655
1656
1657 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1658 PyObject *resultobj;
1659 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1660 wxPoint *arg2 = 0 ;
1661 wxPoint result;
1662 wxPoint temp2 ;
1663 PyObject * obj0 = 0 ;
1664 PyObject * obj1 = 0 ;
1665
1666 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1668 {
1669 arg2 = &temp2;
1670 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1671 }
1672 {
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) SWIG_fail;
1678 }
1679 {
1680 wxPoint * resultptr;
1681 resultptr = new wxPoint((wxPoint &) result);
1682 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1683 }
1684 return resultobj;
1685 fail:
1686 return NULL;
1687 }
1688
1689
1690 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1691 PyObject *resultobj;
1692 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1693 int arg2 ;
1694 int arg3 ;
1695 int *arg4 = (int *) 0 ;
1696 int *arg5 = (int *) 0 ;
1697 int temp4 ;
1698 int temp5 ;
1699 PyObject * obj0 = 0 ;
1700
1701 arg4 = &temp4;
1702 arg5 = &temp5;
1703 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1705 {
1706 PyThreadState* __tstate = wxPyBeginAllowThreads();
1707 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1708
1709 wxPyEndAllowThreads(__tstate);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 }
1712 Py_INCREF(Py_None); resultobj = Py_None;
1713 {
1714 PyObject *o = PyInt_FromLong((long) (*arg4));
1715 resultobj = t_output_helper(resultobj,o);
1716 }
1717 {
1718 PyObject *o = PyInt_FromLong((long) (*arg5));
1719 resultobj = t_output_helper(resultobj,o);
1720 }
1721 return resultobj;
1722 fail:
1723 return NULL;
1724 }
1725
1726
1727 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1728 int argc;
1729 PyObject *argv[4];
1730 int ii;
1731
1732 argc = PyObject_Length(args);
1733 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1734 argv[ii] = PyTuple_GetItem(args,ii);
1735 }
1736 if (argc == 2) {
1737 int _v;
1738 {
1739 void *ptr;
1740 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1741 _v = 0;
1742 PyErr_Clear();
1743 } else {
1744 _v = 1;
1745 }
1746 }
1747 if (_v) {
1748 {
1749 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1750 }
1751 if (_v) {
1752 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1753 }
1754 }
1755 }
1756 if (argc == 3) {
1757 int _v;
1758 {
1759 void *ptr;
1760 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1761 _v = 0;
1762 PyErr_Clear();
1763 } else {
1764 _v = 1;
1765 }
1766 }
1767 if (_v) {
1768 {
1769 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1770 }
1771 if (_v) {
1772 {
1773 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1774 }
1775 if (_v) {
1776 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1777 }
1778 }
1779 }
1780 }
1781
1782 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1783 return NULL;
1784 }
1785
1786
1787 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1788 PyObject *resultobj;
1789 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1790 wxPoint *arg2 = 0 ;
1791 wxPoint result;
1792 wxPoint temp2 ;
1793 PyObject * obj0 = 0 ;
1794 PyObject * obj1 = 0 ;
1795
1796 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1798 {
1799 arg2 = &temp2;
1800 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1801 }
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 {
1810 wxPoint * resultptr;
1811 resultptr = new wxPoint((wxPoint &) result);
1812 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1813 }
1814 return resultobj;
1815 fail:
1816 return NULL;
1817 }
1818
1819
1820 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1821 PyObject *resultobj;
1822 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1823 int arg2 ;
1824 int arg3 ;
1825 int *arg4 = (int *) 0 ;
1826 int *arg5 = (int *) 0 ;
1827 int temp4 ;
1828 int temp5 ;
1829 PyObject * obj0 = 0 ;
1830
1831 arg4 = &temp4;
1832 arg5 = &temp5;
1833 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1835 {
1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
1837 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1838
1839 wxPyEndAllowThreads(__tstate);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 }
1842 Py_INCREF(Py_None); resultobj = Py_None;
1843 {
1844 PyObject *o = PyInt_FromLong((long) (*arg4));
1845 resultobj = t_output_helper(resultobj,o);
1846 }
1847 {
1848 PyObject *o = PyInt_FromLong((long) (*arg5));
1849 resultobj = t_output_helper(resultobj,o);
1850 }
1851 return resultobj;
1852 fail:
1853 return NULL;
1854 }
1855
1856
1857 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1858 int argc;
1859 PyObject *argv[4];
1860 int ii;
1861
1862 argc = PyObject_Length(args);
1863 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1864 argv[ii] = PyTuple_GetItem(args,ii);
1865 }
1866 if (argc == 2) {
1867 int _v;
1868 {
1869 void *ptr;
1870 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1871 _v = 0;
1872 PyErr_Clear();
1873 } else {
1874 _v = 1;
1875 }
1876 }
1877 if (_v) {
1878 {
1879 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1880 }
1881 if (_v) {
1882 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1883 }
1884 }
1885 }
1886 if (argc == 3) {
1887 int _v;
1888 {
1889 void *ptr;
1890 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1891 _v = 0;
1892 PyErr_Clear();
1893 } else {
1894 _v = 1;
1895 }
1896 }
1897 if (_v) {
1898 {
1899 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1900 }
1901 if (_v) {
1902 {
1903 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1904 }
1905 if (_v) {
1906 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1907 }
1908 }
1909 }
1910 }
1911
1912 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1913 return NULL;
1914 }
1915
1916
1917 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1918 PyObject *resultobj;
1919 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1920 PyObject * obj0 = 0 ;
1921 char *kwnames[] = {
1922 (char *) "self", NULL
1923 };
1924
1925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1927 {
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 (arg1)->AdjustScrollbars();
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 Py_INCREF(Py_None); resultobj = Py_None;
1935 return resultobj;
1936 fail:
1937 return NULL;
1938 }
1939
1940
1941 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1942 PyObject *resultobj;
1943 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1944 wxScrollWinEvent *arg2 = 0 ;
1945 int result;
1946 PyObject * obj0 = 0 ;
1947 PyObject * obj1 = 0 ;
1948 char *kwnames[] = {
1949 (char *) "self",(char *) "event", NULL
1950 };
1951
1952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1955 if (arg2 == NULL) {
1956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1957 }
1958 {
1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
1960 result = (int)(arg1)->CalcScrollInc(*arg2);
1961
1962 wxPyEndAllowThreads(__tstate);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 }
1965 resultobj = PyInt_FromLong((long)result);
1966 return resultobj;
1967 fail:
1968 return NULL;
1969 }
1970
1971
1972 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1973 PyObject *resultobj;
1974 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1975 wxWindow *arg2 = (wxWindow *) 0 ;
1976 PyObject * obj0 = 0 ;
1977 PyObject * obj1 = 0 ;
1978 char *kwnames[] = {
1979 (char *) "self",(char *) "target", NULL
1980 };
1981
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 (arg1)->SetTargetWindow(arg2);
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2002 wxWindow *result;
2003 PyObject * obj0 = 0 ;
2004 char *kwnames[] = {
2005 (char *) "self", NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2010 {
2011 PyThreadState* __tstate = wxPyBeginAllowThreads();
2012 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2013
2014 wxPyEndAllowThreads(__tstate);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 }
2017 {
2018 resultobj = wxPyMake_wxObject(result);
2019 }
2020 return resultobj;
2021 fail:
2022 return NULL;
2023 }
2024
2025
2026 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2027 PyObject *resultobj;
2028 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2029 wxRect *arg2 = 0 ;
2030 wxRect temp2 ;
2031 PyObject * obj0 = 0 ;
2032 PyObject * obj1 = 0 ;
2033 char *kwnames[] = {
2034 (char *) "self",(char *) "rect", NULL
2035 };
2036
2037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2039 {
2040 arg2 = &temp2;
2041 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2042 }
2043 {
2044 PyThreadState* __tstate = wxPyBeginAllowThreads();
2045 (arg1)->SetTargetRect((wxRect const &)*arg2);
2046
2047 wxPyEndAllowThreads(__tstate);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 }
2050 Py_INCREF(Py_None); resultobj = Py_None;
2051 return resultobj;
2052 fail:
2053 return NULL;
2054 }
2055
2056
2057 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject *resultobj;
2059 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2060 wxRect result;
2061 PyObject * obj0 = 0 ;
2062 char *kwnames[] = {
2063 (char *) "self", NULL
2064 };
2065
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
2070 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 }
2075 {
2076 wxRect * resultptr;
2077 resultptr = new wxRect((wxRect &) result);
2078 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2079 }
2080 return resultobj;
2081 fail:
2082 return NULL;
2083 }
2084
2085
2086 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2087 PyObject *obj;
2088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2089 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2090 Py_INCREF(obj);
2091 return Py_BuildValue((char *)"");
2092 }
2093 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject *resultobj;
2095 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2096 bool arg2 = (bool) True ;
2097 PyObject * obj0 = 0 ;
2098 PyObject * obj1 = 0 ;
2099 char *kwnames[] = {
2100 (char *) "self",(char *) "maximize", NULL
2101 };
2102
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2105 if (obj1) {
2106 arg2 = PyInt_AsLong(obj1) ? true : false;
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 (arg1)->Maximize(arg2);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 Py_INCREF(Py_None); resultobj = Py_None;
2117 return resultobj;
2118 fail:
2119 return NULL;
2120 }
2121
2122
2123 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2124 PyObject *resultobj;
2125 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2126 PyObject * obj0 = 0 ;
2127 char *kwnames[] = {
2128 (char *) "self", NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 (arg1)->Restore();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 Py_INCREF(Py_None); resultobj = Py_None;
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2150 bool arg2 = (bool) True ;
2151 PyObject * obj0 = 0 ;
2152 PyObject * obj1 = 0 ;
2153 char *kwnames[] = {
2154 (char *) "self",(char *) "iconize", NULL
2155 };
2156
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2159 if (obj1) {
2160 arg2 = PyInt_AsLong(obj1) ? true : false;
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
2165 (arg1)->Iconize(arg2);
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
2170 Py_INCREF(Py_None); resultobj = Py_None;
2171 return resultobj;
2172 fail:
2173 return NULL;
2174 }
2175
2176
2177 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2178 PyObject *resultobj;
2179 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2180 bool result;
2181 PyObject * obj0 = 0 ;
2182 char *kwnames[] = {
2183 (char *) "self", NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2188 {
2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
2190 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2191
2192 wxPyEndAllowThreads(__tstate);
2193 if (PyErr_Occurred()) SWIG_fail;
2194 }
2195 resultobj = PyInt_FromLong((long)result);
2196 return resultobj;
2197 fail:
2198 return NULL;
2199 }
2200
2201
2202 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2205 bool result;
2206 PyObject * obj0 = 0 ;
2207 char *kwnames[] = {
2208 (char *) "self", NULL
2209 };
2210
2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2213 {
2214 PyThreadState* __tstate = wxPyBeginAllowThreads();
2215 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2216
2217 wxPyEndAllowThreads(__tstate);
2218 if (PyErr_Occurred()) SWIG_fail;
2219 }
2220 resultobj = PyInt_FromLong((long)result);
2221 return resultobj;
2222 fail:
2223 return NULL;
2224 }
2225
2226
2227 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2228 PyObject *resultobj;
2229 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2230 wxIcon result;
2231 PyObject * obj0 = 0 ;
2232 char *kwnames[] = {
2233 (char *) "self", NULL
2234 };
2235
2236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2238 {
2239 PyThreadState* __tstate = wxPyBeginAllowThreads();
2240 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2241
2242 wxPyEndAllowThreads(__tstate);
2243 if (PyErr_Occurred()) SWIG_fail;
2244 }
2245 {
2246 wxIcon * resultptr;
2247 resultptr = new wxIcon((wxIcon &) result);
2248 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2249 }
2250 return resultobj;
2251 fail:
2252 return NULL;
2253 }
2254
2255
2256 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2257 PyObject *resultobj;
2258 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2259 wxIcon *arg2 = 0 ;
2260 PyObject * obj0 = 0 ;
2261 PyObject * obj1 = 0 ;
2262 char *kwnames[] = {
2263 (char *) "self",(char *) "icon", NULL
2264 };
2265
2266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2269 if (arg2 == NULL) {
2270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2271 }
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 (arg1)->SetIcon((wxIcon const &)*arg2);
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 }
2279 Py_INCREF(Py_None); resultobj = Py_None;
2280 return resultobj;
2281 fail:
2282 return NULL;
2283 }
2284
2285
2286 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2287 PyObject *resultobj;
2288 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2289 wxIconBundle *arg2 = 0 ;
2290 PyObject * obj0 = 0 ;
2291 PyObject * obj1 = 0 ;
2292 char *kwnames[] = {
2293 (char *) "self",(char *) "icons", NULL
2294 };
2295
2296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2299 if (arg2 == NULL) {
2300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2301 }
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 return resultobj;
2311 fail:
2312 return NULL;
2313 }
2314
2315
2316 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2319 bool arg2 ;
2320 long arg3 = (long) wxFULLSCREEN_ALL ;
2321 bool result;
2322 PyObject * obj0 = 0 ;
2323 PyObject * obj1 = 0 ;
2324 char *kwnames[] = {
2325 (char *) "self",(char *) "show",(char *) "style", NULL
2326 };
2327
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2330 arg2 = PyInt_AsLong(obj1) ? true : false;
2331 if (PyErr_Occurred()) SWIG_fail;
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2339 resultobj = PyInt_FromLong((long)result);
2340 return resultobj;
2341 fail:
2342 return NULL;
2343 }
2344
2345
2346 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2347 PyObject *resultobj;
2348 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2349 bool result;
2350 PyObject * obj0 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "self", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 resultobj = PyInt_FromLong((long)result);
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2374 wxString *arg2 = 0 ;
2375 bool temp2 = False ;
2376 PyObject * obj0 = 0 ;
2377 PyObject * obj1 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self",(char *) "title", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2384 {
2385 arg2 = wxString_in_helper(obj1);
2386 if (arg2 == NULL) SWIG_fail;
2387 temp2 = True;
2388 }
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 (arg1)->SetTitle((wxString const &)*arg2);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 Py_INCREF(Py_None); resultobj = Py_None;
2397 {
2398 if (temp2)
2399 delete arg2;
2400 }
2401 return resultobj;
2402 fail:
2403 {
2404 if (temp2)
2405 delete arg2;
2406 }
2407 return NULL;
2408 }
2409
2410
2411 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj;
2413 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2414 wxString result;
2415 PyObject * obj0 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "self", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 {
2430 #if wxUSE_UNICODE
2431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2432 #else
2433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2434 #endif
2435 }
2436 return resultobj;
2437 fail:
2438 return NULL;
2439 }
2440
2441
2442 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject *resultobj;
2444 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2445 wxRegion *arg2 = 0 ;
2446 bool result;
2447 PyObject * obj0 = 0 ;
2448 PyObject * obj1 = 0 ;
2449 char *kwnames[] = {
2450 (char *) "self",(char *) "region", NULL
2451 };
2452
2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2456 if (arg2 == NULL) {
2457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2458 }
2459 {
2460 PyThreadState* __tstate = wxPyBeginAllowThreads();
2461 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2462
2463 wxPyEndAllowThreads(__tstate);
2464 if (PyErr_Occurred()) SWIG_fail;
2465 }
2466 resultobj = PyInt_FromLong((long)result);
2467 return resultobj;
2468 fail:
2469 return NULL;
2470 }
2471
2472
2473 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2474 PyObject *obj;
2475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2476 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2477 Py_INCREF(obj);
2478 return Py_BuildValue((char *)"");
2479 }
2480 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2481 PyObject *resultobj;
2482 wxWindow *arg1 = (wxWindow *) 0 ;
2483 int arg2 ;
2484 wxString *arg3 = 0 ;
2485 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2486 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2487 wxSize const &arg5_defvalue = wxDefaultSize ;
2488 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2489 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2490 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2491 wxString *arg7 = (wxString *) &arg7_defvalue ;
2492 wxFrame *result;
2493 bool temp3 = False ;
2494 wxPoint temp4 ;
2495 wxSize temp5 ;
2496 bool temp7 = False ;
2497 PyObject * obj0 = 0 ;
2498 PyObject * obj2 = 0 ;
2499 PyObject * obj3 = 0 ;
2500 PyObject * obj4 = 0 ;
2501 PyObject * obj6 = 0 ;
2502 char *kwnames[] = {
2503 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2504 };
2505
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2508 {
2509 arg3 = wxString_in_helper(obj2);
2510 if (arg3 == NULL) SWIG_fail;
2511 temp3 = True;
2512 }
2513 if (obj3) {
2514 {
2515 arg4 = &temp4;
2516 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2517 }
2518 }
2519 if (obj4) {
2520 {
2521 arg5 = &temp5;
2522 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2523 }
2524 }
2525 if (obj6) {
2526 {
2527 arg7 = wxString_in_helper(obj6);
2528 if (arg7 == NULL) SWIG_fail;
2529 temp7 = True;
2530 }
2531 }
2532 {
2533 PyThreadState* __tstate = wxPyBeginAllowThreads();
2534 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2535
2536 wxPyEndAllowThreads(__tstate);
2537 if (PyErr_Occurred()) SWIG_fail;
2538 }
2539 {
2540 resultobj = wxPyMake_wxObject(result);
2541 }
2542 {
2543 if (temp3)
2544 delete arg3;
2545 }
2546 {
2547 if (temp7)
2548 delete arg7;
2549 }
2550 return resultobj;
2551 fail:
2552 {
2553 if (temp3)
2554 delete arg3;
2555 }
2556 {
2557 if (temp7)
2558 delete arg7;
2559 }
2560 return NULL;
2561 }
2562
2563
2564 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2565 PyObject *resultobj;
2566 wxFrame *result;
2567 char *kwnames[] = {
2568 NULL
2569 };
2570
2571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2572 {
2573 PyThreadState* __tstate = wxPyBeginAllowThreads();
2574 result = (wxFrame *)new wxFrame();
2575
2576 wxPyEndAllowThreads(__tstate);
2577 if (PyErr_Occurred()) SWIG_fail;
2578 }
2579 {
2580 resultobj = wxPyMake_wxObject(result);
2581 }
2582 return resultobj;
2583 fail:
2584 return NULL;
2585 }
2586
2587
2588 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2589 PyObject *resultobj;
2590 wxFrame *arg1 = (wxFrame *) 0 ;
2591 wxWindow *arg2 = (wxWindow *) 0 ;
2592 int arg3 ;
2593 wxString *arg4 = 0 ;
2594 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2595 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2596 wxSize const &arg6_defvalue = wxDefaultSize ;
2597 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2598 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2599 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2600 wxString *arg8 = (wxString *) &arg8_defvalue ;
2601 bool result;
2602 bool temp4 = False ;
2603 wxPoint temp5 ;
2604 wxSize temp6 ;
2605 bool temp8 = False ;
2606 PyObject * obj0 = 0 ;
2607 PyObject * obj1 = 0 ;
2608 PyObject * obj3 = 0 ;
2609 PyObject * obj4 = 0 ;
2610 PyObject * obj5 = 0 ;
2611 PyObject * obj7 = 0 ;
2612 char *kwnames[] = {
2613 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2614 };
2615
2616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2619 {
2620 arg4 = wxString_in_helper(obj3);
2621 if (arg4 == NULL) SWIG_fail;
2622 temp4 = True;
2623 }
2624 if (obj4) {
2625 {
2626 arg5 = &temp5;
2627 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2628 }
2629 }
2630 if (obj5) {
2631 {
2632 arg6 = &temp6;
2633 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2634 }
2635 }
2636 if (obj7) {
2637 {
2638 arg8 = wxString_in_helper(obj7);
2639 if (arg8 == NULL) SWIG_fail;
2640 temp8 = True;
2641 }
2642 }
2643 {
2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
2645 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2646
2647 wxPyEndAllowThreads(__tstate);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 }
2650 resultobj = PyInt_FromLong((long)result);
2651 {
2652 if (temp4)
2653 delete arg4;
2654 }
2655 {
2656 if (temp8)
2657 delete arg8;
2658 }
2659 return resultobj;
2660 fail:
2661 {
2662 if (temp4)
2663 delete arg4;
2664 }
2665 {
2666 if (temp8)
2667 delete arg8;
2668 }
2669 return NULL;
2670 }
2671
2672
2673 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject *resultobj;
2675 wxFrame *arg1 = (wxFrame *) 0 ;
2676 wxPoint result;
2677 PyObject * obj0 = 0 ;
2678 char *kwnames[] = {
2679 (char *) "self", NULL
2680 };
2681
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2684 {
2685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2686 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2687
2688 wxPyEndAllowThreads(__tstate);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 {
2692 wxPoint * resultptr;
2693 resultptr = new wxPoint((wxPoint &) result);
2694 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2695 }
2696 return resultobj;
2697 fail:
2698 return NULL;
2699 }
2700
2701
2702 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2703 PyObject *resultobj;
2704 wxFrame *arg1 = (wxFrame *) 0 ;
2705 PyObject * obj0 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "self", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2712 {
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 (arg1)->SendSizeEvent();
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) SWIG_fail;
2718 }
2719 Py_INCREF(Py_None); resultobj = Py_None;
2720 return resultobj;
2721 fail:
2722 return NULL;
2723 }
2724
2725
2726 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxFrame *arg1 = (wxFrame *) 0 ;
2729 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2730 PyObject * obj0 = 0 ;
2731 PyObject * obj1 = 0 ;
2732 char *kwnames[] = {
2733 (char *) "self",(char *) "menubar", NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2739 {
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 (arg1)->SetMenuBar(arg2);
2742
2743 wxPyEndAllowThreads(__tstate);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 Py_INCREF(Py_None); resultobj = Py_None;
2747 return resultobj;
2748 fail:
2749 return NULL;
2750 }
2751
2752
2753 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2754 PyObject *resultobj;
2755 wxFrame *arg1 = (wxFrame *) 0 ;
2756 wxMenuBar *result;
2757 PyObject * obj0 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "self", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 {
2772 resultobj = wxPyMake_wxObject(result);
2773 }
2774 return resultobj;
2775 fail:
2776 return NULL;
2777 }
2778
2779
2780 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2781 PyObject *resultobj;
2782 wxFrame *arg1 = (wxFrame *) 0 ;
2783 int arg2 ;
2784 bool result;
2785 PyObject * obj0 = 0 ;
2786 char *kwnames[] = {
2787 (char *) "self",(char *) "winid", NULL
2788 };
2789
2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2792 {
2793 PyThreadState* __tstate = wxPyBeginAllowThreads();
2794 result = (bool)(arg1)->ProcessCommand(arg2);
2795
2796 wxPyEndAllowThreads(__tstate);
2797 if (PyErr_Occurred()) SWIG_fail;
2798 }
2799 resultobj = PyInt_FromLong((long)result);
2800 return resultobj;
2801 fail:
2802 return NULL;
2803 }
2804
2805
2806 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject *resultobj;
2808 wxFrame *arg1 = (wxFrame *) 0 ;
2809 int arg2 = (int) 1 ;
2810 long arg3 = (long) wxST_SIZEGRIP ;
2811 int arg4 = (int) 0 ;
2812 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2813 wxString *arg5 = (wxString *) &arg5_defvalue ;
2814 wxStatusBar *result;
2815 bool temp5 = False ;
2816 PyObject * obj0 = 0 ;
2817 PyObject * obj4 = 0 ;
2818 char *kwnames[] = {
2819 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2820 };
2821
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2824 if (obj4) {
2825 {
2826 arg5 = wxString_in_helper(obj4);
2827 if (arg5 == NULL) SWIG_fail;
2828 temp5 = True;
2829 }
2830 }
2831 {
2832 PyThreadState* __tstate = wxPyBeginAllowThreads();
2833 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2834
2835 wxPyEndAllowThreads(__tstate);
2836 if (PyErr_Occurred()) SWIG_fail;
2837 }
2838 {
2839 resultobj = wxPyMake_wxObject(result);
2840 }
2841 {
2842 if (temp5)
2843 delete arg5;
2844 }
2845 return resultobj;
2846 fail:
2847 {
2848 if (temp5)
2849 delete arg5;
2850 }
2851 return NULL;
2852 }
2853
2854
2855 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2856 PyObject *resultobj;
2857 wxFrame *arg1 = (wxFrame *) 0 ;
2858 wxStatusBar *result;
2859 PyObject * obj0 = 0 ;
2860 char *kwnames[] = {
2861 (char *) "self", NULL
2862 };
2863
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2866 {
2867 PyThreadState* __tstate = wxPyBeginAllowThreads();
2868 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2869
2870 wxPyEndAllowThreads(__tstate);
2871 if (PyErr_Occurred()) SWIG_fail;
2872 }
2873 {
2874 resultobj = wxPyMake_wxObject(result);
2875 }
2876 return resultobj;
2877 fail:
2878 return NULL;
2879 }
2880
2881
2882 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2883 PyObject *resultobj;
2884 wxFrame *arg1 = (wxFrame *) 0 ;
2885 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2886 PyObject * obj0 = 0 ;
2887 PyObject * obj1 = 0 ;
2888 char *kwnames[] = {
2889 (char *) "self",(char *) "statBar", NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2895 {
2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
2897 (arg1)->SetStatusBar(arg2);
2898
2899 wxPyEndAllowThreads(__tstate);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 Py_INCREF(Py_None); resultobj = Py_None;
2903 return resultobj;
2904 fail:
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxFrame *arg1 = (wxFrame *) 0 ;
2912 wxString *arg2 = 0 ;
2913 int arg3 = (int) 0 ;
2914 bool temp2 = False ;
2915 PyObject * obj0 = 0 ;
2916 PyObject * obj1 = 0 ;
2917 char *kwnames[] = {
2918 (char *) "self",(char *) "text",(char *) "number", NULL
2919 };
2920
2921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2923 {
2924 arg2 = wxString_in_helper(obj1);
2925 if (arg2 == NULL) SWIG_fail;
2926 temp2 = True;
2927 }
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 Py_INCREF(Py_None); resultobj = Py_None;
2936 {
2937 if (temp2)
2938 delete arg2;
2939 }
2940 return resultobj;
2941 fail:
2942 {
2943 if (temp2)
2944 delete arg2;
2945 }
2946 return NULL;
2947 }
2948
2949
2950 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject *resultobj;
2952 wxFrame *arg1 = (wxFrame *) 0 ;
2953 int arg2 ;
2954 int *arg3 = (int *) 0 ;
2955 PyObject * obj0 = 0 ;
2956 PyObject * obj1 = 0 ;
2957 char *kwnames[] = {
2958 (char *) "self",(char *) "widths", NULL
2959 };
2960
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2963 {
2964 arg2 = PyList_Size(obj1);
2965 arg3 = int_LIST_helper(obj1);
2966 if (arg3 == NULL) SWIG_fail;
2967 }
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 Py_INCREF(Py_None); resultobj = Py_None;
2976 {
2977 if (arg3) delete [] arg3;
2978 }
2979 return resultobj;
2980 fail:
2981 {
2982 if (arg3) delete [] arg3;
2983 }
2984 return NULL;
2985 }
2986
2987
2988 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxFrame *arg1 = (wxFrame *) 0 ;
2991 wxString *arg2 = 0 ;
2992 int arg3 = (int) 0 ;
2993 bool temp2 = False ;
2994 PyObject * obj0 = 0 ;
2995 PyObject * obj1 = 0 ;
2996 char *kwnames[] = {
2997 (char *) "self",(char *) "text",(char *) "number", NULL
2998 };
2999
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3002 {
3003 arg2 = wxString_in_helper(obj1);
3004 if (arg2 == NULL) SWIG_fail;
3005 temp2 = True;
3006 }
3007 {
3008 PyThreadState* __tstate = wxPyBeginAllowThreads();
3009 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3010
3011 wxPyEndAllowThreads(__tstate);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 Py_INCREF(Py_None); resultobj = Py_None;
3015 {
3016 if (temp2)
3017 delete arg2;
3018 }
3019 return resultobj;
3020 fail:
3021 {
3022 if (temp2)
3023 delete arg2;
3024 }
3025 return NULL;
3026 }
3027
3028
3029 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3030 PyObject *resultobj;
3031 wxFrame *arg1 = (wxFrame *) 0 ;
3032 int arg2 = (int) 0 ;
3033 PyObject * obj0 = 0 ;
3034 char *kwnames[] = {
3035 (char *) "self",(char *) "number", NULL
3036 };
3037
3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
3042 (arg1)->PopStatusText(arg2);
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 Py_INCREF(Py_None); resultobj = Py_None;
3048 return resultobj;
3049 fail:
3050 return NULL;
3051 }
3052
3053
3054 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3055 PyObject *resultobj;
3056 wxFrame *arg1 = (wxFrame *) 0 ;
3057 int arg2 ;
3058 PyObject * obj0 = 0 ;
3059 char *kwnames[] = {
3060 (char *) "self",(char *) "n", NULL
3061 };
3062
3063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3065 {
3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
3067 (arg1)->SetStatusBarPane(arg2);
3068
3069 wxPyEndAllowThreads(__tstate);
3070 if (PyErr_Occurred()) SWIG_fail;
3071 }
3072 Py_INCREF(Py_None); resultobj = Py_None;
3073 return resultobj;
3074 fail:
3075 return NULL;
3076 }
3077
3078
3079 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject *resultobj;
3081 wxFrame *arg1 = (wxFrame *) 0 ;
3082 int result;
3083 PyObject * obj0 = 0 ;
3084 char *kwnames[] = {
3085 (char *) "self", NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 resultobj = PyInt_FromLong((long)result);
3098 return resultobj;
3099 fail:
3100 return NULL;
3101 }
3102
3103
3104 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxFrame *arg1 = (wxFrame *) 0 ;
3107 long arg2 = (long) -1 ;
3108 int arg3 = (int) -1 ;
3109 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3110 wxString *arg4 = (wxString *) &arg4_defvalue ;
3111 wxToolBar *result;
3112 bool temp4 = False ;
3113 PyObject * obj0 = 0 ;
3114 PyObject * obj3 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3121 if (obj3) {
3122 {
3123 arg4 = wxString_in_helper(obj3);
3124 if (arg4 == NULL) SWIG_fail;
3125 temp4 = True;
3126 }
3127 }
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 {
3136 resultobj = wxPyMake_wxObject(result);
3137 }
3138 {
3139 if (temp4)
3140 delete arg4;
3141 }
3142 return resultobj;
3143 fail:
3144 {
3145 if (temp4)
3146 delete arg4;
3147 }
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxFrame *arg1 = (wxFrame *) 0 ;
3155 wxToolBar *result;
3156 PyObject * obj0 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "self", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 {
3171 resultobj = wxPyMake_wxObject(result);
3172 }
3173 return resultobj;
3174 fail:
3175 return NULL;
3176 }
3177
3178
3179 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3180 PyObject *resultobj;
3181 wxFrame *arg1 = (wxFrame *) 0 ;
3182 wxToolBar *arg2 = (wxToolBar *) 0 ;
3183 PyObject * obj0 = 0 ;
3184 PyObject * obj1 = 0 ;
3185 char *kwnames[] = {
3186 (char *) "self",(char *) "toolbar", NULL
3187 };
3188
3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3192 {
3193 PyThreadState* __tstate = wxPyBeginAllowThreads();
3194 (arg1)->SetToolBar(arg2);
3195
3196 wxPyEndAllowThreads(__tstate);
3197 if (PyErr_Occurred()) SWIG_fail;
3198 }
3199 Py_INCREF(Py_None); resultobj = Py_None;
3200 return resultobj;
3201 fail:
3202 return NULL;
3203 }
3204
3205
3206 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3207 PyObject *resultobj;
3208 wxFrame *arg1 = (wxFrame *) 0 ;
3209 wxString *arg2 = 0 ;
3210 bool arg3 ;
3211 bool temp2 = False ;
3212 PyObject * obj0 = 0 ;
3213 PyObject * obj1 = 0 ;
3214 PyObject * obj2 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self",(char *) "text",(char *) "show", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3221 {
3222 arg2 = wxString_in_helper(obj1);
3223 if (arg2 == NULL) SWIG_fail;
3224 temp2 = True;
3225 }
3226 arg3 = PyInt_AsLong(obj2) ? true : false;
3227 if (PyErr_Occurred()) SWIG_fail;
3228 {
3229 PyThreadState* __tstate = wxPyBeginAllowThreads();
3230 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3231
3232 wxPyEndAllowThreads(__tstate);
3233 if (PyErr_Occurred()) SWIG_fail;
3234 }
3235 Py_INCREF(Py_None); resultobj = Py_None;
3236 {
3237 if (temp2)
3238 delete arg2;
3239 }
3240 return resultobj;
3241 fail:
3242 {
3243 if (temp2)
3244 delete arg2;
3245 }
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxFrame *arg1 = (wxFrame *) 0 ;
3253 wxMenu *arg2 = (wxMenu *) NULL ;
3254 PyObject * obj0 = 0 ;
3255 PyObject * obj1 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self",(char *) "menu", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3262 if (obj1) {
3263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3264 }
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 (arg1)->DoMenuUpdates(arg2);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 Py_INCREF(Py_None); resultobj = Py_None;
3273 return resultobj;
3274 fail:
3275 return NULL;
3276 }
3277
3278
3279 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3280 PyObject *obj;
3281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3282 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3283 Py_INCREF(obj);
3284 return Py_BuildValue((char *)"");
3285 }
3286 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxWindow *arg1 = (wxWindow *) 0 ;
3289 int arg2 ;
3290 wxString *arg3 = 0 ;
3291 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3292 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3293 wxSize const &arg5_defvalue = wxDefaultSize ;
3294 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3295 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3296 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3297 wxString *arg7 = (wxString *) &arg7_defvalue ;
3298 wxDialog *result;
3299 bool temp3 = False ;
3300 wxPoint temp4 ;
3301 wxSize temp5 ;
3302 bool temp7 = False ;
3303 PyObject * obj0 = 0 ;
3304 PyObject * obj2 = 0 ;
3305 PyObject * obj3 = 0 ;
3306 PyObject * obj4 = 0 ;
3307 PyObject * obj6 = 0 ;
3308 char *kwnames[] = {
3309 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3310 };
3311
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3314 {
3315 arg3 = wxString_in_helper(obj2);
3316 if (arg3 == NULL) SWIG_fail;
3317 temp3 = True;
3318 }
3319 if (obj3) {
3320 {
3321 arg4 = &temp4;
3322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3323 }
3324 }
3325 if (obj4) {
3326 {
3327 arg5 = &temp5;
3328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3329 }
3330 }
3331 if (obj6) {
3332 {
3333 arg7 = wxString_in_helper(obj6);
3334 if (arg7 == NULL) SWIG_fail;
3335 temp7 = True;
3336 }
3337 }
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3346 {
3347 if (temp3)
3348 delete arg3;
3349 }
3350 {
3351 if (temp7)
3352 delete arg7;
3353 }
3354 return resultobj;
3355 fail:
3356 {
3357 if (temp3)
3358 delete arg3;
3359 }
3360 {
3361 if (temp7)
3362 delete arg7;
3363 }
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxDialog *result;
3371 char *kwnames[] = {
3372 NULL
3373 };
3374
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 result = (wxDialog *)new wxDialog();
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3384 return resultobj;
3385 fail:
3386 return NULL;
3387 }
3388
3389
3390 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3391 PyObject *resultobj;
3392 wxDialog *arg1 = (wxDialog *) 0 ;
3393 wxWindow *arg2 = (wxWindow *) 0 ;
3394 int arg3 ;
3395 wxString *arg4 = 0 ;
3396 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3397 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3398 wxSize const &arg6_defvalue = wxDefaultSize ;
3399 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3400 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3401 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3402 wxString *arg8 = (wxString *) &arg8_defvalue ;
3403 bool result;
3404 bool temp4 = False ;
3405 wxPoint temp5 ;
3406 wxSize temp6 ;
3407 bool temp8 = False ;
3408 PyObject * obj0 = 0 ;
3409 PyObject * obj1 = 0 ;
3410 PyObject * obj3 = 0 ;
3411 PyObject * obj4 = 0 ;
3412 PyObject * obj5 = 0 ;
3413 PyObject * obj7 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3421 {
3422 arg4 = wxString_in_helper(obj3);
3423 if (arg4 == NULL) SWIG_fail;
3424 temp4 = True;
3425 }
3426 if (obj4) {
3427 {
3428 arg5 = &temp5;
3429 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3430 }
3431 }
3432 if (obj5) {
3433 {
3434 arg6 = &temp6;
3435 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3436 }
3437 }
3438 if (obj7) {
3439 {
3440 arg8 = wxString_in_helper(obj7);
3441 if (arg8 == NULL) SWIG_fail;
3442 temp8 = True;
3443 }
3444 }
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 resultobj = PyInt_FromLong((long)result);
3453 {
3454 if (temp4)
3455 delete arg4;
3456 }
3457 {
3458 if (temp8)
3459 delete arg8;
3460 }
3461 return resultobj;
3462 fail:
3463 {
3464 if (temp4)
3465 delete arg4;
3466 }
3467 {
3468 if (temp8)
3469 delete arg8;
3470 }
3471 return NULL;
3472 }
3473
3474
3475 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxDialog *arg1 = (wxDialog *) 0 ;
3478 int arg2 ;
3479 PyObject * obj0 = 0 ;
3480 char *kwnames[] = {
3481 (char *) "self",(char *) "returnCode", NULL
3482 };
3483
3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3486 {
3487 PyThreadState* __tstate = wxPyBeginAllowThreads();
3488 (arg1)->SetReturnCode(arg2);
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 Py_INCREF(Py_None); resultobj = Py_None;
3494 return resultobj;
3495 fail:
3496 return NULL;
3497 }
3498
3499
3500 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxDialog *arg1 = (wxDialog *) 0 ;
3503 int result;
3504 PyObject * obj0 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
3518 resultobj = PyInt_FromLong((long)result);
3519 return resultobj;
3520 fail:
3521 return NULL;
3522 }
3523
3524
3525 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3526 PyObject *resultobj;
3527 wxDialog *arg1 = (wxDialog *) 0 ;
3528 wxString *arg2 = 0 ;
3529 wxSizer *result;
3530 bool temp2 = False ;
3531 PyObject * obj0 = 0 ;
3532 PyObject * obj1 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self",(char *) "message", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3539 {
3540 arg2 = wxString_in_helper(obj1);
3541 if (arg2 == NULL) SWIG_fail;
3542 temp2 = True;
3543 }
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 {
3552 resultobj = wxPyMake_wxSizer(result);
3553 }
3554 {
3555 if (temp2)
3556 delete arg2;
3557 }
3558 return resultobj;
3559 fail:
3560 {
3561 if (temp2)
3562 delete arg2;
3563 }
3564 return NULL;
3565 }
3566
3567
3568 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3569 PyObject *resultobj;
3570 wxDialog *arg1 = (wxDialog *) 0 ;
3571 long arg2 ;
3572 wxSizer *result;
3573 PyObject * obj0 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self",(char *) "flags", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3583
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 {
3588 resultobj = wxPyMake_wxSizer(result);
3589 }
3590 return resultobj;
3591 fail:
3592 return NULL;
3593 }
3594
3595
3596 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3597 PyObject *resultobj;
3598 wxDialog *arg1 = (wxDialog *) 0 ;
3599 bool arg2 ;
3600 PyObject * obj0 = 0 ;
3601 PyObject * obj1 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self",(char *) "flag", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3608 arg2 = PyInt_AsLong(obj1) ? true : false;
3609 if (PyErr_Occurred()) SWIG_fail;
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 (arg1)->SetModal(arg2);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 return resultobj;
3619 fail:
3620 return NULL;
3621 }
3622
3623
3624 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj;
3626 wxDialog *arg1 = (wxDialog *) 0 ;
3627 bool result;
3628 PyObject * obj0 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3635 {
3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
3637 result = (bool)((wxDialog const *)arg1)->IsModal();
3638
3639 wxPyEndAllowThreads(__tstate);
3640 if (PyErr_Occurred()) SWIG_fail;
3641 }
3642 resultobj = PyInt_FromLong((long)result);
3643 return resultobj;
3644 fail:
3645 return NULL;
3646 }
3647
3648
3649 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3650 PyObject *resultobj;
3651 wxDialog *arg1 = (wxDialog *) 0 ;
3652 int result;
3653 PyObject * obj0 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (int)(arg1)->ShowModal();
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 resultobj = PyInt_FromLong((long)result);
3668 return resultobj;
3669 fail:
3670 return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxDialog *arg1 = (wxDialog *) 0 ;
3677 int arg2 ;
3678 PyObject * obj0 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "retCode", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 (arg1)->EndModal(arg2);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 Py_INCREF(Py_None); resultobj = Py_None;
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxDialog *arg1 = (wxDialog *) 0 ;
3702 bool result;
3703 PyObject * obj0 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 result = (bool)wxDialog_IsModalShowing(arg1);
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 resultobj = PyInt_FromLong((long)result);
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3725 PyObject *obj;
3726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3727 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3728 Py_INCREF(obj);
3729 return Py_BuildValue((char *)"");
3730 }
3731 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj;
3733 wxWindow *arg1 = (wxWindow *) 0 ;
3734 int arg2 ;
3735 wxString *arg3 = 0 ;
3736 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3737 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3738 wxSize const &arg5_defvalue = wxDefaultSize ;
3739 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3740 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3741 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3742 wxString *arg7 = (wxString *) &arg7_defvalue ;
3743 wxMiniFrame *result;
3744 bool temp3 = False ;
3745 wxPoint temp4 ;
3746 wxSize temp5 ;
3747 bool temp7 = False ;
3748 PyObject * obj0 = 0 ;
3749 PyObject * obj2 = 0 ;
3750 PyObject * obj3 = 0 ;
3751 PyObject * obj4 = 0 ;
3752 PyObject * obj6 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3759 {
3760 arg3 = wxString_in_helper(obj2);
3761 if (arg3 == NULL) SWIG_fail;
3762 temp3 = True;
3763 }
3764 if (obj3) {
3765 {
3766 arg4 = &temp4;
3767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3768 }
3769 }
3770 if (obj4) {
3771 {
3772 arg5 = &temp5;
3773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3774 }
3775 }
3776 if (obj6) {
3777 {
3778 arg7 = wxString_in_helper(obj6);
3779 if (arg7 == NULL) SWIG_fail;
3780 temp7 = True;
3781 }
3782 }
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3791 {
3792 if (temp3)
3793 delete arg3;
3794 }
3795 {
3796 if (temp7)
3797 delete arg7;
3798 }
3799 return resultobj;
3800 fail:
3801 {
3802 if (temp3)
3803 delete arg3;
3804 }
3805 {
3806 if (temp7)
3807 delete arg7;
3808 }
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxMiniFrame *result;
3816 char *kwnames[] = {
3817 NULL
3818 };
3819
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3821 {
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (wxMiniFrame *)new wxMiniFrame();
3824
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3829 return resultobj;
3830 fail:
3831 return NULL;
3832 }
3833
3834
3835 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3836 PyObject *resultobj;
3837 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3838 wxWindow *arg2 = (wxWindow *) 0 ;
3839 int arg3 ;
3840 wxString *arg4 = 0 ;
3841 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3842 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3843 wxSize const &arg6_defvalue = wxDefaultSize ;
3844 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3845 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3846 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3847 wxString *arg8 = (wxString *) &arg8_defvalue ;
3848 bool result;
3849 bool temp4 = False ;
3850 wxPoint temp5 ;
3851 wxSize temp6 ;
3852 bool temp8 = False ;
3853 PyObject * obj0 = 0 ;
3854 PyObject * obj1 = 0 ;
3855 PyObject * obj3 = 0 ;
3856 PyObject * obj4 = 0 ;
3857 PyObject * obj5 = 0 ;
3858 PyObject * obj7 = 0 ;
3859 char *kwnames[] = {
3860 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3865 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3866 {
3867 arg4 = wxString_in_helper(obj3);
3868 if (arg4 == NULL) SWIG_fail;
3869 temp4 = True;
3870 }
3871 if (obj4) {
3872 {
3873 arg5 = &temp5;
3874 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3875 }
3876 }
3877 if (obj5) {
3878 {
3879 arg6 = &temp6;
3880 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3881 }
3882 }
3883 if (obj7) {
3884 {
3885 arg8 = wxString_in_helper(obj7);
3886 if (arg8 == NULL) SWIG_fail;
3887 temp8 = True;
3888 }
3889 }
3890 {
3891 PyThreadState* __tstate = wxPyBeginAllowThreads();
3892 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3893
3894 wxPyEndAllowThreads(__tstate);
3895 if (PyErr_Occurred()) SWIG_fail;
3896 }
3897 resultobj = PyInt_FromLong((long)result);
3898 {
3899 if (temp4)
3900 delete arg4;
3901 }
3902 {
3903 if (temp8)
3904 delete arg8;
3905 }
3906 return resultobj;
3907 fail:
3908 {
3909 if (temp4)
3910 delete arg4;
3911 }
3912 {
3913 if (temp8)
3914 delete arg8;
3915 }
3916 return NULL;
3917 }
3918
3919
3920 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3921 PyObject *obj;
3922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3923 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3924 Py_INCREF(obj);
3925 return Py_BuildValue((char *)"");
3926 }
3927 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3928 PyObject *resultobj;
3929 wxBitmap *arg1 = 0 ;
3930 wxWindow *arg2 = (wxWindow *) 0 ;
3931 int arg3 ;
3932 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3933 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3934 wxSize const &arg5_defvalue = wxDefaultSize ;
3935 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3936 long arg6 = (long) wxNO_BORDER ;
3937 wxSplashScreenWindow *result;
3938 wxPoint temp4 ;
3939 wxSize temp5 ;
3940 PyObject * obj0 = 0 ;
3941 PyObject * obj1 = 0 ;
3942 PyObject * obj3 = 0 ;
3943 PyObject * obj4 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3950 if (arg1 == NULL) {
3951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3952 }
3953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3954 if (obj3) {
3955 {
3956 arg4 = &temp4;
3957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3958 }
3959 }
3960 if (obj4) {
3961 {
3962 arg5 = &temp5;
3963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3964 }
3965 }
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3969
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3974 return resultobj;
3975 fail:
3976 return NULL;
3977 }
3978
3979
3980 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj;
3982 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3983 wxBitmap *arg2 = 0 ;
3984 PyObject * obj0 = 0 ;
3985 PyObject * obj1 = 0 ;
3986 char *kwnames[] = {
3987 (char *) "self",(char *) "bitmap", NULL
3988 };
3989
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
3991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3993 if (arg2 == NULL) {
3994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3995 }
3996 {
3997 PyThreadState* __tstate = wxPyBeginAllowThreads();
3998 (arg1)->SetBitmap((wxBitmap const &)*arg2);
3999
4000 wxPyEndAllowThreads(__tstate);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 Py_INCREF(Py_None); resultobj = Py_None;
4004 return resultobj;
4005 fail:
4006 return NULL;
4007 }
4008
4009
4010 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4013 wxBitmap *result;
4014 PyObject * obj0 = 0 ;
4015 char *kwnames[] = {
4016 (char *) "self", NULL
4017 };
4018
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 {
4024 wxBitmap &_result_ref = (arg1)->GetBitmap();
4025 result = (wxBitmap *) &_result_ref;
4026 }
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4039 PyObject *obj;
4040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4041 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4042 Py_INCREF(obj);
4043 return Py_BuildValue((char *)"");
4044 }
4045 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxBitmap *arg1 = 0 ;
4048 long arg2 ;
4049 int arg3 ;
4050 wxWindow *arg4 = (wxWindow *) 0 ;
4051 int arg5 ;
4052 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4053 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4054 wxSize const &arg7_defvalue = wxDefaultSize ;
4055 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4056 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4057 wxSplashScreen *result;
4058 wxPoint temp6 ;
4059 wxSize temp7 ;
4060 PyObject * obj0 = 0 ;
4061 PyObject * obj3 = 0 ;
4062 PyObject * obj5 = 0 ;
4063 PyObject * obj6 = 0 ;
4064 char *kwnames[] = {
4065 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4066 };
4067
4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4070 if (arg1 == NULL) {
4071 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4072 }
4073 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4074 if (obj5) {
4075 {
4076 arg6 = &temp6;
4077 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4078 }
4079 }
4080 if (obj6) {
4081 {
4082 arg7 = &temp7;
4083 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4084 }
4085 }
4086 {
4087 PyThreadState* __tstate = wxPyBeginAllowThreads();
4088 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4101 PyObject *resultobj;
4102 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4103 long result;
4104 PyObject * obj0 = 0 ;
4105 char *kwnames[] = {
4106 (char *) "self", NULL
4107 };
4108
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = PyInt_FromLong((long)result);
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4126 PyObject *resultobj;
4127 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4128 wxSplashScreenWindow *result;
4129 PyObject * obj0 = 0 ;
4130 char *kwnames[] = {
4131 (char *) "self", NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4139
4140 wxPyEndAllowThreads(__tstate);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4144 return resultobj;
4145 fail:
4146 return NULL;
4147 }
4148
4149
4150 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4151 PyObject *resultobj;
4152 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4153 int result;
4154 PyObject * obj0 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "self", NULL
4157 };
4158
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4164
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 resultobj = PyInt_FromLong((long)result);
4169 return resultobj;
4170 fail:
4171 return NULL;
4172 }
4173
4174
4175 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4176 PyObject *obj;
4177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4178 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4179 Py_INCREF(obj);
4180 return Py_BuildValue((char *)"");
4181 }
4182 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxWindow *arg1 = (wxWindow *) 0 ;
4185 int arg2 = (int) -1 ;
4186 long arg3 = (long) wxST_SIZEGRIP ;
4187 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4188 wxString *arg4 = (wxString *) &arg4_defvalue ;
4189 wxStatusBar *result;
4190 bool temp4 = False ;
4191 PyObject * obj0 = 0 ;
4192 PyObject * obj3 = 0 ;
4193 char *kwnames[] = {
4194 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4199 if (obj3) {
4200 {
4201 arg4 = wxString_in_helper(obj3);
4202 if (arg4 == NULL) SWIG_fail;
4203 temp4 = True;
4204 }
4205 }
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) SWIG_fail;
4212 }
4213 {
4214 resultobj = wxPyMake_wxObject(result);
4215 }
4216 {
4217 if (temp4)
4218 delete arg4;
4219 }
4220 return resultobj;
4221 fail:
4222 {
4223 if (temp4)
4224 delete arg4;
4225 }
4226 return NULL;
4227 }
4228
4229
4230 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4231 PyObject *resultobj;
4232 wxStatusBar *result;
4233 char *kwnames[] = {
4234 NULL
4235 };
4236
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4238 {
4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
4240 result = (wxStatusBar *)new wxStatusBar();
4241
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 {
4246 resultobj = wxPyMake_wxObject(result);
4247 }
4248 return resultobj;
4249 fail:
4250 return NULL;
4251 }
4252
4253
4254 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4257 wxWindow *arg2 = (wxWindow *) 0 ;
4258 int arg3 ;
4259 long arg4 = (long) wxST_SIZEGRIP ;
4260 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4261 wxString *arg5 = (wxString *) &arg5_defvalue ;
4262 bool result;
4263 bool temp5 = False ;
4264 PyObject * obj0 = 0 ;
4265 PyObject * obj1 = 0 ;
4266 PyObject * obj4 = 0 ;
4267 char *kwnames[] = {
4268 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4274 if (obj4) {
4275 {
4276 arg5 = wxString_in_helper(obj4);
4277 if (arg5 == NULL) SWIG_fail;
4278 temp5 = True;
4279 }
4280 }
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 resultobj = PyInt_FromLong((long)result);
4289 {
4290 if (temp5)
4291 delete arg5;
4292 }
4293 return resultobj;
4294 fail:
4295 {
4296 if (temp5)
4297 delete arg5;
4298 }
4299 return NULL;
4300 }
4301
4302
4303 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4306 int arg2 = (int) 1 ;
4307 PyObject * obj0 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "self",(char *) "number", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4314 {
4315 PyThreadState* __tstate = wxPyBeginAllowThreads();
4316 (arg1)->SetFieldsCount(arg2);
4317
4318 wxPyEndAllowThreads(__tstate);
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 Py_INCREF(Py_None); resultobj = Py_None;
4322 return resultobj;
4323 fail:
4324 return NULL;
4325 }
4326
4327
4328 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject *resultobj;
4330 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4331 int result;
4332 PyObject * obj0 = 0 ;
4333 char *kwnames[] = {
4334 (char *) "self", NULL
4335 };
4336
4337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 resultobj = PyInt_FromLong((long)result);
4347 return resultobj;
4348 fail:
4349 return NULL;
4350 }
4351
4352
4353 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj;
4355 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4356 wxString *arg2 = 0 ;
4357 int arg3 = (int) 0 ;
4358 bool temp2 = False ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "self",(char *) "text",(char *) "number", NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4367 {
4368 arg2 = wxString_in_helper(obj1);
4369 if (arg2 == NULL) SWIG_fail;
4370 temp2 = True;
4371 }
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 Py_INCREF(Py_None); resultobj = Py_None;
4380 {
4381 if (temp2)
4382 delete arg2;
4383 }
4384 return resultobj;
4385 fail:
4386 {
4387 if (temp2)
4388 delete arg2;
4389 }
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4397 int arg2 = (int) 0 ;
4398 wxString result;
4399 PyObject * obj0 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "number", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 {
4414 #if wxUSE_UNICODE
4415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4416 #else
4417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4418 #endif
4419 }
4420 return resultobj;
4421 fail:
4422 return NULL;
4423 }
4424
4425
4426 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject *resultobj;
4428 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4429 wxString *arg2 = 0 ;
4430 int arg3 = (int) 0 ;
4431 bool temp2 = False ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 char *kwnames[] = {
4435 (char *) "self",(char *) "text",(char *) "number", NULL
4436 };
4437
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4440 {
4441 arg2 = wxString_in_helper(obj1);
4442 if (arg2 == NULL) SWIG_fail;
4443 temp2 = True;
4444 }
4445 {
4446 PyThreadState* __tstate = wxPyBeginAllowThreads();
4447 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4448
4449 wxPyEndAllowThreads(__tstate);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 }
4452 Py_INCREF(Py_None); resultobj = Py_None;
4453 {
4454 if (temp2)
4455 delete arg2;
4456 }
4457 return resultobj;
4458 fail:
4459 {
4460 if (temp2)
4461 delete arg2;
4462 }
4463 return NULL;
4464 }
4465
4466
4467 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4468 PyObject *resultobj;
4469 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4470 int arg2 = (int) 0 ;
4471 PyObject * obj0 = 0 ;
4472 char *kwnames[] = {
4473 (char *) "self",(char *) "number", NULL
4474 };
4475
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 (arg1)->PopStatusText(arg2);
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 Py_INCREF(Py_None); resultobj = Py_None;
4486 return resultobj;
4487 fail:
4488 return NULL;
4489 }
4490
4491
4492 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject *resultobj;
4494 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4495 int arg2 ;
4496 int *arg3 = (int *) 0 ;
4497 PyObject * obj0 = 0 ;
4498 PyObject * obj1 = 0 ;
4499 char *kwnames[] = {
4500 (char *) "self",(char *) "widths", NULL
4501 };
4502
4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4505 {
4506 arg2 = PyList_Size(obj1);
4507 arg3 = int_LIST_helper(obj1);
4508 if (arg3 == NULL) SWIG_fail;
4509 }
4510 {
4511 PyThreadState* __tstate = wxPyBeginAllowThreads();
4512 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4513
4514 wxPyEndAllowThreads(__tstate);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 }
4517 Py_INCREF(Py_None); resultobj = Py_None;
4518 {
4519 if (arg3) delete [] arg3;
4520 }
4521 return resultobj;
4522 fail:
4523 {
4524 if (arg3) delete [] arg3;
4525 }
4526 return NULL;
4527 }
4528
4529
4530 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject *resultobj;
4532 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4533 int arg2 ;
4534 wxRect result;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self",(char *) "i", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 result = wxStatusBar_GetFieldRect(arg1,arg2);
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 {
4550 wxRect * resultptr;
4551 resultptr = new wxRect((wxRect &) result);
4552 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4553 }
4554 return resultobj;
4555 fail:
4556 return NULL;
4557 }
4558
4559
4560 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4561 PyObject *resultobj;
4562 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4563 int arg2 ;
4564 PyObject * obj0 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self",(char *) "height", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 (arg1)->SetMinHeight(arg2);
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4578 Py_INCREF(Py_None); resultobj = Py_None;
4579 return resultobj;
4580 fail:
4581 return NULL;
4582 }
4583
4584
4585 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4586 PyObject *resultobj;
4587 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4588 int result;
4589 PyObject * obj0 = 0 ;
4590 char *kwnames[] = {
4591 (char *) "self", NULL
4592 };
4593
4594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 resultobj = PyInt_FromLong((long)result);
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4611 PyObject *resultobj;
4612 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4613 int result;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 resultobj = PyInt_FromLong((long)result);
4629 return resultobj;
4630 fail:
4631 return NULL;
4632 }
4633
4634
4635 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4636 PyObject *obj;
4637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4638 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4639 Py_INCREF(obj);
4640 return Py_BuildValue((char *)"");
4641 }
4642 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxWindow *arg1 = (wxWindow *) 0 ;
4645 int arg2 ;
4646 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4647 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4648 wxSize const &arg4_defvalue = wxDefaultSize ;
4649 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4650 long arg5 = (long) wxSP_3D ;
4651 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4652 wxString *arg6 = (wxString *) &arg6_defvalue ;
4653 wxSplitterWindow *result;
4654 wxPoint temp3 ;
4655 wxSize temp4 ;
4656 bool temp6 = False ;
4657 PyObject * obj0 = 0 ;
4658 PyObject * obj2 = 0 ;
4659 PyObject * obj3 = 0 ;
4660 PyObject * obj5 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 if (obj2) {
4668 {
4669 arg3 = &temp3;
4670 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4671 }
4672 }
4673 if (obj3) {
4674 {
4675 arg4 = &temp4;
4676 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4677 }
4678 }
4679 if (obj5) {
4680 {
4681 arg6 = wxString_in_helper(obj5);
4682 if (arg6 == NULL) SWIG_fail;
4683 temp6 = True;
4684 }
4685 }
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4694 {
4695 if (temp6)
4696 delete arg6;
4697 }
4698 return resultobj;
4699 fail:
4700 {
4701 if (temp6)
4702 delete arg6;
4703 }
4704 return NULL;
4705 }
4706
4707
4708 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxSplitterWindow *result;
4711 char *kwnames[] = {
4712 NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (wxSplitterWindow *)new wxSplitterWindow();
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4733 wxWindow *arg2 = (wxWindow *) 0 ;
4734 int arg3 ;
4735 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4736 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4737 wxSize const &arg5_defvalue = wxDefaultSize ;
4738 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4739 long arg6 = (long) wxSP_3D ;
4740 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4741 wxString *arg7 = (wxString *) &arg7_defvalue ;
4742 bool result;
4743 wxPoint temp4 ;
4744 wxSize temp5 ;
4745 bool temp7 = False ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 PyObject * obj3 = 0 ;
4749 PyObject * obj4 = 0 ;
4750 PyObject * obj6 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4753 };
4754
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4758 if (obj3) {
4759 {
4760 arg4 = &temp4;
4761 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4762 }
4763 }
4764 if (obj4) {
4765 {
4766 arg5 = &temp5;
4767 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4768 }
4769 }
4770 if (obj6) {
4771 {
4772 arg7 = wxString_in_helper(obj6);
4773 if (arg7 == NULL) SWIG_fail;
4774 temp7 = True;
4775 }
4776 }
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = PyInt_FromLong((long)result);
4785 {
4786 if (temp7)
4787 delete arg7;
4788 }
4789 return resultobj;
4790 fail:
4791 {
4792 if (temp7)
4793 delete arg7;
4794 }
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4802 wxWindow *result;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 {
4818 resultobj = wxPyMake_wxObject(result);
4819 }
4820 return resultobj;
4821 fail:
4822 return NULL;
4823 }
4824
4825
4826 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4827 PyObject *resultobj;
4828 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4829 wxWindow *result;
4830 PyObject * obj0 = 0 ;
4831 char *kwnames[] = {
4832 (char *) "self", NULL
4833 };
4834
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 {
4845 resultobj = wxPyMake_wxObject(result);
4846 }
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4856 int arg2 ;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self",(char *) "mode", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 (arg1)->SetSplitMode(arg2);
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 Py_INCREF(Py_None); resultobj = Py_None;
4872 return resultobj;
4873 fail:
4874 return NULL;
4875 }
4876
4877
4878 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4879 PyObject *resultobj;
4880 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4881 int result;
4882 PyObject * obj0 = 0 ;
4883 char *kwnames[] = {
4884 (char *) "self", NULL
4885 };
4886
4887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4892
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 resultobj = PyInt_FromLong((long)result);
4897 return resultobj;
4898 fail:
4899 return NULL;
4900 }
4901
4902
4903 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4904 PyObject *resultobj;
4905 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4906 wxWindow *arg2 = (wxWindow *) 0 ;
4907 PyObject * obj0 = 0 ;
4908 PyObject * obj1 = 0 ;
4909 char *kwnames[] = {
4910 (char *) "self",(char *) "window", NULL
4911 };
4912
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 (arg1)->Initialize(arg2);
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 Py_INCREF(Py_None); resultobj = Py_None;
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4933 wxWindow *arg2 = (wxWindow *) 0 ;
4934 wxWindow *arg3 = (wxWindow *) 0 ;
4935 int arg4 = (int) 0 ;
4936 bool result;
4937 PyObject * obj0 = 0 ;
4938 PyObject * obj1 = 0 ;
4939 PyObject * obj2 = 0 ;
4940 char *kwnames[] = {
4941 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4942 };
4943
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4947 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = PyInt_FromLong((long)result);
4956 return resultobj;
4957 fail:
4958 return NULL;
4959 }
4960
4961
4962 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4965 wxWindow *arg2 = (wxWindow *) 0 ;
4966 wxWindow *arg3 = (wxWindow *) 0 ;
4967 int arg4 = (int) 0 ;
4968 bool result;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 PyObject * obj2 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4979 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 resultobj = PyInt_FromLong((long)result);
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4997 wxWindow *arg2 = (wxWindow *) NULL ;
4998 bool result;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001 char *kwnames[] = {
5002 (char *) "self",(char *) "toRemove", NULL
5003 };
5004
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5007 if (obj1) {
5008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5009 }
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (bool)(arg1)->Unsplit(arg2);
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 resultobj = PyInt_FromLong((long)result);
5018 return resultobj;
5019 fail:
5020 return NULL;
5021 }
5022
5023
5024 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj;
5026 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5027 wxWindow *arg2 = (wxWindow *) 0 ;
5028 wxWindow *arg3 = (wxWindow *) 0 ;
5029 bool result;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 PyObject * obj2 = 0 ;
5033 char *kwnames[] = {
5034 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5035 };
5036
5037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5040 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = PyInt_FromLong((long)result);
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5058 bool result;
5059 PyObject * obj0 = 0 ;
5060 char *kwnames[] = {
5061 (char *) "self", NULL
5062 };
5063
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = PyInt_FromLong((long)result);
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5083 int arg2 ;
5084 PyObject * obj0 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "width", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 (arg1)->SetSashSize(arg2);
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 Py_INCREF(Py_None); resultobj = Py_None;
5099 return resultobj;
5100 fail:
5101 return NULL;
5102 }
5103
5104
5105 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5108 int arg2 ;
5109 PyObject * obj0 = 0 ;
5110 char *kwnames[] = {
5111 (char *) "self",(char *) "width", NULL
5112 };
5113
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 (arg1)->SetBorderSize(arg2);
5119
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 Py_INCREF(Py_None); resultobj = Py_None;
5124 return resultobj;
5125 fail:
5126 return NULL;
5127 }
5128
5129
5130 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj;
5132 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5133 int result;
5134 PyObject * obj0 = 0 ;
5135 char *kwnames[] = {
5136 (char *) "self", NULL
5137 };
5138
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 resultobj = PyInt_FromLong((long)result);
5149 return resultobj;
5150 fail:
5151 return NULL;
5152 }
5153
5154
5155 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5158 int result;
5159 PyObject * obj0 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 resultobj = PyInt_FromLong((long)result);
5174 return resultobj;
5175 fail:
5176 return NULL;
5177 }
5178
5179
5180 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj;
5182 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5183 int arg2 ;
5184 bool arg3 = (bool) True ;
5185 PyObject * obj0 = 0 ;
5186 PyObject * obj2 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self",(char *) "position",(char *) "redraw", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5193 if (obj2) {
5194 arg3 = PyInt_AsLong(obj2) ? true : false;
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 (arg1)->SetSashPosition(arg2,arg3);
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 Py_INCREF(Py_None); resultobj = Py_None;
5205 return resultobj;
5206 fail:
5207 return NULL;
5208 }
5209
5210
5211 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5214 int result;
5215 PyObject * obj0 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "self", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 resultobj = PyInt_FromLong((long)result);
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj;
5238 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5239 int arg2 ;
5240 PyObject * obj0 = 0 ;
5241 char *kwnames[] = {
5242 (char *) "self",(char *) "min", NULL
5243 };
5244
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 (arg1)->SetMinimumPaneSize(arg2);
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 Py_INCREF(Py_None); resultobj = Py_None;
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5264 int result;
5265 PyObject * obj0 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self", NULL
5268 };
5269
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5275
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 resultobj = PyInt_FromLong((long)result);
5280 return resultobj;
5281 fail:
5282 return NULL;
5283 }
5284
5285
5286 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj;
5288 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5289 int arg2 ;
5290 int arg3 ;
5291 int arg4 = (int) 5 ;
5292 bool result;
5293 PyObject * obj0 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 resultobj = PyInt_FromLong((long)result);
5308 return resultobj;
5309 fail:
5310 return NULL;
5311 }
5312
5313
5314 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5317 PyObject * obj0 = 0 ;
5318 char *kwnames[] = {
5319 (char *) "self", NULL
5320 };
5321
5322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5324 {
5325 PyThreadState* __tstate = wxPyBeginAllowThreads();
5326 (arg1)->SizeWindows();
5327
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 Py_INCREF(Py_None); resultobj = Py_None;
5332 return resultobj;
5333 fail:
5334 return NULL;
5335 }
5336
5337
5338 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5341 bool arg2 ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "needUpdating", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 arg2 = PyInt_AsLong(obj1) ? true : false;
5351 if (PyErr_Occurred()) SWIG_fail;
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 (arg1)->SetNeedUpdating(arg2);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 Py_INCREF(Py_None); resultobj = Py_None;
5360 return resultobj;
5361 fail:
5362 return NULL;
5363 }
5364
5365
5366 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5369 bool result;
5370 PyObject * obj0 = 0 ;
5371 char *kwnames[] = {
5372 (char *) "self", NULL
5373 };
5374
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 resultobj = PyInt_FromLong((long)result);
5385 return resultobj;
5386 fail:
5387 return NULL;
5388 }
5389
5390
5391 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5392 PyObject *obj;
5393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5395 Py_INCREF(obj);
5396 return Py_BuildValue((char *)"");
5397 }
5398 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5399 PyObject *resultobj;
5400 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5401 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5402 wxSplitterEvent *result;
5403 PyObject * obj1 = 0 ;
5404 char *kwnames[] = {
5405 (char *) "type",(char *) "splitter", NULL
5406 };
5407
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5409 if (obj1) {
5410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5411 }
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj;
5428 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5429 int arg2 ;
5430 PyObject * obj0 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "pos", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 (arg1)->SetSashPosition(arg2);
5440
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 Py_INCREF(Py_None); resultobj = Py_None;
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5454 int result;
5455 PyObject * obj0 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 resultobj = PyInt_FromLong((long)result);
5470 return resultobj;
5471 fail:
5472 return NULL;
5473 }
5474
5475
5476 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5477 PyObject *resultobj;
5478 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5479 wxWindow *result;
5480 PyObject * obj0 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5490
5491 wxPyEndAllowThreads(__tstate);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 {
5495 resultobj = wxPyMake_wxObject(result);
5496 }
5497 return resultobj;
5498 fail:
5499 return NULL;
5500 }
5501
5502
5503 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5506 int result;
5507 PyObject * obj0 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 resultobj = PyInt_FromLong((long)result);
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5531 int result;
5532 PyObject * obj0 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5542
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 resultobj = PyInt_FromLong((long)result);
5547 return resultobj;
5548 fail:
5549 return NULL;
5550 }
5551
5552
5553 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5554 PyObject *obj;
5555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5556 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5557 Py_INCREF(obj);
5558 return Py_BuildValue((char *)"");
5559 }
5560 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxWindow *arg1 = (wxWindow *) 0 ;
5563 int arg2 ;
5564 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5565 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5566 wxSize const &arg4_defvalue = wxDefaultSize ;
5567 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5568 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5569 wxString const &arg6_defvalue = wxPySashNameStr ;
5570 wxString *arg6 = (wxString *) &arg6_defvalue ;
5571 wxSashWindow *result;
5572 wxPoint temp3 ;
5573 wxSize temp4 ;
5574 bool temp6 = False ;
5575 PyObject * obj0 = 0 ;
5576 PyObject * obj2 = 0 ;
5577 PyObject * obj3 = 0 ;
5578 PyObject * obj5 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5585 if (obj2) {
5586 {
5587 arg3 = &temp3;
5588 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5589 }
5590 }
5591 if (obj3) {
5592 {
5593 arg4 = &temp4;
5594 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5595 }
5596 }
5597 if (obj5) {
5598 {
5599 arg6 = wxString_in_helper(obj5);
5600 if (arg6 == NULL) SWIG_fail;
5601 temp6 = True;
5602 }
5603 }
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5607
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5612 {
5613 if (temp6)
5614 delete arg6;
5615 }
5616 return resultobj;
5617 fail:
5618 {
5619 if (temp6)
5620 delete arg6;
5621 }
5622 return NULL;
5623 }
5624
5625
5626 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxSashWindow *result;
5629 char *kwnames[] = {
5630 NULL
5631 };
5632
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 result = (wxSashWindow *)new wxSashWindow();
5637
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5642 return resultobj;
5643 fail:
5644 return NULL;
5645 }
5646
5647
5648 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5649 PyObject *resultobj;
5650 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5651 wxWindow *arg2 = (wxWindow *) 0 ;
5652 int arg3 ;
5653 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5654 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5655 wxSize const &arg5_defvalue = wxDefaultSize ;
5656 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5657 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5658 wxString const &arg7_defvalue = wxPySashNameStr ;
5659 wxString *arg7 = (wxString *) &arg7_defvalue ;
5660 bool result;
5661 wxPoint temp4 ;
5662 wxSize temp5 ;
5663 bool temp7 = False ;
5664 PyObject * obj0 = 0 ;
5665 PyObject * obj1 = 0 ;
5666 PyObject * obj3 = 0 ;
5667 PyObject * obj4 = 0 ;
5668 PyObject * obj6 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5676 if (obj3) {
5677 {
5678 arg4 = &temp4;
5679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5680 }
5681 }
5682 if (obj4) {
5683 {
5684 arg5 = &temp5;
5685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5686 }
5687 }
5688 if (obj6) {
5689 {
5690 arg7 = wxString_in_helper(obj6);
5691 if (arg7 == NULL) SWIG_fail;
5692 temp7 = True;
5693 }
5694 }
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 resultobj = PyInt_FromLong((long)result);
5703 {
5704 if (temp7)
5705 delete arg7;
5706 }
5707 return resultobj;
5708 fail:
5709 {
5710 if (temp7)
5711 delete arg7;
5712 }
5713 return NULL;
5714 }
5715
5716
5717 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5720 int arg2 ;
5721 bool arg3 ;
5722 PyObject * obj0 = 0 ;
5723 PyObject * obj2 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self",(char *) "edge",(char *) "sash", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5730 arg3 = PyInt_AsLong(obj2) ? true : false;
5731 if (PyErr_Occurred()) SWIG_fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5749 int arg2 ;
5750 bool result;
5751 PyObject * obj0 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "edge", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 resultobj = PyInt_FromLong((long)result);
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5775 int arg2 ;
5776 bool arg3 ;
5777 PyObject * obj0 = 0 ;
5778 PyObject * obj2 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "edge",(char *) "border", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5785 arg3 = PyInt_AsLong(obj2) ? true : false;
5786 if (PyErr_Occurred()) SWIG_fail;
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 Py_INCREF(Py_None); resultobj = Py_None;
5795 return resultobj;
5796 fail:
5797 return NULL;
5798 }
5799
5800
5801 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5804 int arg2 ;
5805 bool result;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self",(char *) "edge", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 resultobj = PyInt_FromLong((long)result);
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5830 int arg2 ;
5831 int result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self",(char *) "edge", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 resultobj = PyInt_FromLong((long)result);
5847 return resultobj;
5848 fail:
5849 return NULL;
5850 }
5851
5852
5853 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject *resultobj;
5855 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5856 int arg2 ;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self",(char *) "width", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 (arg1)->SetDefaultBorderSize(arg2);
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 Py_INCREF(Py_None); resultobj = Py_None;
5872 return resultobj;
5873 fail:
5874 return NULL;
5875 }
5876
5877
5878 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5881 int result;
5882 PyObject * obj0 = 0 ;
5883 char *kwnames[] = {
5884 (char *) "self", NULL
5885 };
5886
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 }
5896 resultobj = PyInt_FromLong((long)result);
5897 return resultobj;
5898 fail:
5899 return NULL;
5900 }
5901
5902
5903 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5904 PyObject *resultobj;
5905 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5906 int arg2 ;
5907 PyObject * obj0 = 0 ;
5908 char *kwnames[] = {
5909 (char *) "self",(char *) "width", NULL
5910 };
5911
5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->SetExtraBorderSize(arg2);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 Py_INCREF(Py_None); resultobj = Py_None;
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject *resultobj;
5930 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5931 int result;
5932 PyObject * obj0 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
5942
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 resultobj = PyInt_FromLong((long)result);
5947 return resultobj;
5948 fail:
5949 return NULL;
5950 }
5951
5952
5953 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5954 PyObject *resultobj;
5955 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5956 int arg2 ;
5957 PyObject * obj0 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self",(char *) "min", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
5963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 (arg1)->SetMinimumSizeX(arg2);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 Py_INCREF(Py_None); resultobj = Py_None;
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5981 int arg2 ;
5982 PyObject * obj0 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self",(char *) "min", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 (arg1)->SetMinimumSizeY(arg2);
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 Py_INCREF(Py_None); resultobj = Py_None;
5997 return resultobj;
5998 fail:
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6006 int result;
6007 PyObject * obj0 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = PyInt_FromLong((long)result);
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6031 int result;
6032 PyObject * obj0 = 0 ;
6033 char *kwnames[] = {
6034 (char *) "self", NULL
6035 };
6036
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 resultobj = PyInt_FromLong((long)result);
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj;
6055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6056 int arg2 ;
6057 PyObject * obj0 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "max", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6064 {
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 (arg1)->SetMaximumSizeX(arg2);
6067
6068 wxPyEndAllowThreads(__tstate);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
6071 Py_INCREF(Py_None); resultobj = Py_None;
6072 return resultobj;
6073 fail:
6074 return NULL;
6075 }
6076
6077
6078 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6079 PyObject *resultobj;
6080 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6081 int arg2 ;
6082 PyObject * obj0 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "self",(char *) "max", NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 (arg1)->SetMaximumSizeY(arg2);
6092
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 Py_INCREF(Py_None); resultobj = Py_None;
6097 return resultobj;
6098 fail:
6099 return NULL;
6100 }
6101
6102
6103 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject *resultobj;
6105 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6106 int result;
6107 PyObject * obj0 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 resultobj = PyInt_FromLong((long)result);
6122 return resultobj;
6123 fail:
6124 return NULL;
6125 }
6126
6127
6128 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj;
6130 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6131 int result;
6132 PyObject * obj0 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
6146 resultobj = PyInt_FromLong((long)result);
6147 return resultobj;
6148 fail:
6149 return NULL;
6150 }
6151
6152
6153 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6156 int arg2 ;
6157 int arg3 ;
6158 int arg4 = (int) 2 ;
6159 int result;
6160 PyObject * obj0 = 0 ;
6161 char *kwnames[] = {
6162 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6163 };
6164
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 resultobj = PyInt_FromLong((long)result);
6175 return resultobj;
6176 fail:
6177 return NULL;
6178 }
6179
6180
6181 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj;
6183 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6184 PyObject * obj0 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 (arg1)->SizeWindows();
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 Py_INCREF(Py_None); resultobj = Py_None;
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6206 PyObject *obj;
6207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6208 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6209 Py_INCREF(obj);
6210 return Py_BuildValue((char *)"");
6211 }
6212 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj;
6214 int arg1 = (int) 0 ;
6215 int arg2 = (int) wxSASH_NONE ;
6216 wxSashEvent *result;
6217 char *kwnames[] = {
6218 (char *) "id",(char *) "edge", NULL
6219 };
6220
6221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6225
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6230 return resultobj;
6231 fail:
6232 return NULL;
6233 }
6234
6235
6236 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6237 PyObject *resultobj;
6238 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6239 int arg2 ;
6240 PyObject * obj0 = 0 ;
6241 char *kwnames[] = {
6242 (char *) "self",(char *) "edge", NULL
6243 };
6244
6245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 Py_INCREF(Py_None); resultobj = Py_None;
6255 return resultobj;
6256 fail:
6257 return NULL;
6258 }
6259
6260
6261 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6262 PyObject *resultobj;
6263 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6264 int result;
6265 PyObject * obj0 = 0 ;
6266 char *kwnames[] = {
6267 (char *) "self", NULL
6268 };
6269
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 resultobj = PyInt_FromLong((long)result);
6280 return resultobj;
6281 fail:
6282 return NULL;
6283 }
6284
6285
6286 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject *resultobj;
6288 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6289 wxRect *arg2 = 0 ;
6290 wxRect temp2 ;
6291 PyObject * obj0 = 0 ;
6292 PyObject * obj1 = 0 ;
6293 char *kwnames[] = {
6294 (char *) "self",(char *) "rect", NULL
6295 };
6296
6297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6299 {
6300 arg2 = &temp2;
6301 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6302 }
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 (arg1)->SetDragRect((wxRect const &)*arg2);
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 Py_INCREF(Py_None); resultobj = Py_None;
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6320 wxRect result;
6321 PyObject * obj0 = 0 ;
6322 char *kwnames[] = {
6323 (char *) "self", NULL
6324 };
6325
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 result = ((wxSashEvent const *)arg1)->GetDragRect();
6331
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 {
6336 wxRect * resultptr;
6337 resultptr = new wxRect((wxRect &) result);
6338 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6339 }
6340 return resultobj;
6341 fail:
6342 return NULL;
6343 }
6344
6345
6346 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj;
6348 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6349 int arg2 ;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self",(char *) "status", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 Py_INCREF(Py_None); resultobj = Py_None;
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6374 int result;
6375 PyObject * obj0 = 0 ;
6376 char *kwnames[] = {
6377 (char *) "self", NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6382 {
6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
6384 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6385
6386 wxPyEndAllowThreads(__tstate);
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 resultobj = PyInt_FromLong((long)result);
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6397 PyObject *obj;
6398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6399 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6400 Py_INCREF(obj);
6401 return Py_BuildValue((char *)"");
6402 }
6403 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj;
6405 int arg1 = (int) 0 ;
6406 wxQueryLayoutInfoEvent *result;
6407 char *kwnames[] = {
6408 (char *) "id", NULL
6409 };
6410
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj;
6428 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6429 int arg2 ;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "self",(char *) "length", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 (arg1)->SetRequestedLength(arg2);
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 Py_INCREF(Py_None); resultobj = Py_None;
6445 return resultobj;
6446 fail:
6447 return NULL;
6448 }
6449
6450
6451 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject *resultobj;
6453 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6454 int result;
6455 PyObject * obj0 = 0 ;
6456 char *kwnames[] = {
6457 (char *) "self", NULL
6458 };
6459
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 resultobj = PyInt_FromLong((long)result);
6470 return resultobj;
6471 fail:
6472 return NULL;
6473 }
6474
6475
6476 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj;
6478 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6479 int arg2 ;
6480 PyObject * obj0 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self",(char *) "flags", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 (arg1)->SetFlags(arg2);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 Py_INCREF(Py_None); resultobj = Py_None;
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6504 int result;
6505 PyObject * obj0 = 0 ;
6506 char *kwnames[] = {
6507 (char *) "self", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 resultobj = PyInt_FromLong((long)result);
6520 return resultobj;
6521 fail:
6522 return NULL;
6523 }
6524
6525
6526 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj;
6528 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6529 wxSize *arg2 = 0 ;
6530 wxSize temp2 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self",(char *) "size", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6539 {
6540 arg2 = &temp2;
6541 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6542 }
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 (arg1)->SetSize((wxSize const &)*arg2);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 Py_INCREF(Py_None); resultobj = Py_None;
6551 return resultobj;
6552 fail:
6553 return NULL;
6554 }
6555
6556
6557 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj;
6559 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6560 wxSize result;
6561 PyObject * obj0 = 0 ;
6562 char *kwnames[] = {
6563 (char *) "self", NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 {
6576 wxSize * resultptr;
6577 resultptr = new wxSize((wxSize &) result);
6578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6579 }
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj;
6588 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6589 int arg2 ;
6590 PyObject * obj0 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "self",(char *) "orient", NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6597 {
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 Py_INCREF(Py_None); resultobj = Py_None;
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6612 PyObject *resultobj;
6613 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6614 int result;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 resultobj = PyInt_FromLong((long)result);
6630 return resultobj;
6631 fail:
6632 return NULL;
6633 }
6634
6635
6636 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6637 PyObject *resultobj;
6638 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6639 int arg2 ;
6640 PyObject * obj0 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "align", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 Py_INCREF(Py_None); resultobj = Py_None;
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6662 PyObject *resultobj;
6663 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6664 int result;
6665 PyObject * obj0 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "self", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 resultobj = PyInt_FromLong((long)result);
6680 return resultobj;
6681 fail:
6682 return NULL;
6683 }
6684
6685
6686 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6687 PyObject *obj;
6688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6689 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6690 Py_INCREF(obj);
6691 return Py_BuildValue((char *)"");
6692 }
6693 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 int arg1 = (int) 0 ;
6696 wxCalculateLayoutEvent *result;
6697 char *kwnames[] = {
6698 (char *) "id", NULL
6699 };
6700
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6705
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6710 return resultobj;
6711 fail:
6712 return NULL;
6713 }
6714
6715
6716 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj;
6718 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6719 int arg2 ;
6720 PyObject * obj0 = 0 ;
6721 char *kwnames[] = {
6722 (char *) "self",(char *) "flags", NULL
6723 };
6724
6725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6727 {
6728 PyThreadState* __tstate = wxPyBeginAllowThreads();
6729 (arg1)->SetFlags(arg2);
6730
6731 wxPyEndAllowThreads(__tstate);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 }
6734 Py_INCREF(Py_None); resultobj = Py_None;
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj;
6743 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6744 int result;
6745 PyObject * obj0 = 0 ;
6746 char *kwnames[] = {
6747 (char *) "self", NULL
6748 };
6749
6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6752 {
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
6754 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6755
6756 wxPyEndAllowThreads(__tstate);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 }
6759 resultobj = PyInt_FromLong((long)result);
6760 return resultobj;
6761 fail:
6762 return NULL;
6763 }
6764
6765
6766 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6767 PyObject *resultobj;
6768 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6769 wxRect *arg2 = 0 ;
6770 wxRect temp2 ;
6771 PyObject * obj0 = 0 ;
6772 PyObject * obj1 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self",(char *) "rect", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6779 {
6780 arg2 = &temp2;
6781 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 (arg1)->SetRect((wxRect const &)*arg2);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 Py_INCREF(Py_None); resultobj = Py_None;
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6800 wxRect result;
6801 PyObject * obj0 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 {
6816 wxRect * resultptr;
6817 resultptr = new wxRect((wxRect &) result);
6818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6819 }
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6827 PyObject *obj;
6828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6829 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6830 Py_INCREF(obj);
6831 return Py_BuildValue((char *)"");
6832 }
6833 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj;
6835 wxWindow *arg1 = (wxWindow *) 0 ;
6836 int arg2 ;
6837 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6838 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6839 wxSize const &arg4_defvalue = wxDefaultSize ;
6840 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6841 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6842 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6843 wxString *arg6 = (wxString *) &arg6_defvalue ;
6844 wxSashLayoutWindow *result;
6845 wxPoint temp3 ;
6846 wxSize temp4 ;
6847 bool temp6 = False ;
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj2 = 0 ;
6850 PyObject * obj3 = 0 ;
6851 PyObject * obj5 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6858 if (obj2) {
6859 {
6860 arg3 = &temp3;
6861 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6862 }
6863 }
6864 if (obj3) {
6865 {
6866 arg4 = &temp4;
6867 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6868 }
6869 }
6870 if (obj5) {
6871 {
6872 arg6 = wxString_in_helper(obj5);
6873 if (arg6 == NULL) SWIG_fail;
6874 temp6 = True;
6875 }
6876 }
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6885 {
6886 if (temp6)
6887 delete arg6;
6888 }
6889 return resultobj;
6890 fail:
6891 {
6892 if (temp6)
6893 delete arg6;
6894 }
6895 return NULL;
6896 }
6897
6898
6899 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6900 PyObject *resultobj;
6901 wxSashLayoutWindow *result;
6902 char *kwnames[] = {
6903 NULL
6904 };
6905
6906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6924 wxWindow *arg2 = (wxWindow *) 0 ;
6925 int arg3 ;
6926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6928 wxSize const &arg5_defvalue = wxDefaultSize ;
6929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6930 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6931 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6932 wxString *arg7 = (wxString *) &arg7_defvalue ;
6933 bool result;
6934 wxPoint temp4 ;
6935 wxSize temp5 ;
6936 bool temp7 = False ;
6937 PyObject * obj0 = 0 ;
6938 PyObject * obj1 = 0 ;
6939 PyObject * obj3 = 0 ;
6940 PyObject * obj4 = 0 ;
6941 PyObject * obj6 = 0 ;
6942 char *kwnames[] = {
6943 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6944 };
6945
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6949 if (obj3) {
6950 {
6951 arg4 = &temp4;
6952 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6953 }
6954 }
6955 if (obj4) {
6956 {
6957 arg5 = &temp5;
6958 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6959 }
6960 }
6961 if (obj6) {
6962 {
6963 arg7 = wxString_in_helper(obj6);
6964 if (arg7 == NULL) SWIG_fail;
6965 temp7 = True;
6966 }
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 resultobj = PyInt_FromLong((long)result);
6976 {
6977 if (temp7)
6978 delete arg7;
6979 }
6980 return resultobj;
6981 fail:
6982 {
6983 if (temp7)
6984 delete arg7;
6985 }
6986 return NULL;
6987 }
6988
6989
6990 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj;
6992 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6993 int result;
6994 PyObject * obj0 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self", NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 result = (int)(arg1)->GetAlignment();
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 resultobj = PyInt_FromLong((long)result);
7009 return resultobj;
7010 fail:
7011 return NULL;
7012 }
7013
7014
7015 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject *resultobj;
7017 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7018 int result;
7019 PyObject * obj0 = 0 ;
7020 char *kwnames[] = {
7021 (char *) "self", NULL
7022 };
7023
7024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (int)(arg1)->GetOrientation();
7029
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 resultobj = PyInt_FromLong((long)result);
7034 return resultobj;
7035 fail:
7036 return NULL;
7037 }
7038
7039
7040 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj;
7042 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7043 int arg2 ;
7044 PyObject * obj0 = 0 ;
7045 char *kwnames[] = {
7046 (char *) "self",(char *) "alignment", NULL
7047 };
7048
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 Py_INCREF(Py_None); resultobj = Py_None;
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj;
7067 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7068 wxSize *arg2 = 0 ;
7069 wxSize temp2 ;
7070 PyObject * obj0 = 0 ;
7071 PyObject * obj1 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "self",(char *) "size", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7078 {
7079 arg2 = &temp2;
7080 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7081 }
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 Py_INCREF(Py_None); resultobj = Py_None;
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7099 int arg2 ;
7100 PyObject * obj0 = 0 ;
7101 char *kwnames[] = {
7102 (char *) "self",(char *) "orientation", NULL
7103 };
7104
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7110
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 Py_INCREF(Py_None); resultobj = Py_None;
7115 return resultobj;
7116 fail:
7117 return NULL;
7118 }
7119
7120
7121 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7122 PyObject *obj;
7123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7124 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7125 Py_INCREF(obj);
7126 return Py_BuildValue((char *)"");
7127 }
7128 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 wxLayoutAlgorithm *result;
7131 char *kwnames[] = {
7132 NULL
7133 };
7134
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7144 return resultobj;
7145 fail:
7146 return NULL;
7147 }
7148
7149
7150 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7151 PyObject *resultobj;
7152 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7153 PyObject * obj0 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "self", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 delete arg1;
7163
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 Py_INCREF(Py_None); resultobj = Py_None;
7168 return resultobj;
7169 fail:
7170 return NULL;
7171 }
7172
7173
7174 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj;
7176 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7177 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7178 wxRect *arg3 = (wxRect *) NULL ;
7179 bool result;
7180 PyObject * obj0 = 0 ;
7181 PyObject * obj1 = 0 ;
7182 PyObject * obj2 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self",(char *) "frame",(char *) "rect", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7189 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7190 if (obj2) {
7191 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7192 }
7193 {
7194 PyThreadState* __tstate = wxPyBeginAllowThreads();
7195 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7196
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 resultobj = PyInt_FromLong((long)result);
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj;
7209 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7210 wxFrame *arg2 = (wxFrame *) 0 ;
7211 wxWindow *arg3 = (wxWindow *) NULL ;
7212 bool result;
7213 PyObject * obj0 = 0 ;
7214 PyObject * obj1 = 0 ;
7215 PyObject * obj2 = 0 ;
7216 char *kwnames[] = {
7217 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7223 if (obj2) {
7224 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7225 }
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 resultobj = PyInt_FromLong((long)result);
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7243 wxWindow *arg2 = (wxWindow *) 0 ;
7244 wxWindow *arg3 = (wxWindow *) NULL ;
7245 bool result;
7246 PyObject * obj0 = 0 ;
7247 PyObject * obj1 = 0 ;
7248 PyObject * obj2 = 0 ;
7249 char *kwnames[] = {
7250 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7251 };
7252
7253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if (obj2) {
7257 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7258 }
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = PyInt_FromLong((long)result);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7274 PyObject *obj;
7275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7276 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7277 Py_INCREF(obj);
7278 return Py_BuildValue((char *)"");
7279 }
7280 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 wxWindow *arg1 = (wxWindow *) 0 ;
7283 int arg2 = (int) wxBORDER_NONE ;
7284 wxPopupWindow *result;
7285 PyObject * obj0 = 0 ;
7286 char *kwnames[] = {
7287 (char *) "parent",(char *) "flags", NULL
7288 };
7289
7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7300 return resultobj;
7301 fail:
7302 return NULL;
7303 }
7304
7305
7306 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj;
7308 wxPopupWindow *result;
7309 char *kwnames[] = {
7310 NULL
7311 };
7312
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 result = (wxPopupWindow *)new wxPopupWindow();
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7329 PyObject *obj;
7330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7331 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7332 Py_INCREF(obj);
7333 return Py_BuildValue((char *)"");
7334 }
7335 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj;
7337 wxWindow *arg1 = (wxWindow *) 0 ;
7338 int arg2 = (int) wxBORDER_NONE ;
7339 wxPyPopupTransientWindow *result;
7340 PyObject * obj0 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "parent",(char *) "style", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7355 return resultobj;
7356 fail:
7357 return NULL;
7358 }
7359
7360
7361 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj;
7363 wxPyPopupTransientWindow *result;
7364 char *kwnames[] = {
7365 NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7377 return resultobj;
7378 fail:
7379 return NULL;
7380 }
7381
7382
7383 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7384 PyObject *obj;
7385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7386 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7387 Py_INCREF(obj);
7388 return Py_BuildValue((char *)"");
7389 }
7390 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 wxWindow *arg1 = (wxWindow *) 0 ;
7393 wxString *arg2 = 0 ;
7394 int arg3 = (int) 100 ;
7395 wxRect *arg4 = (wxRect *) NULL ;
7396 wxTipWindow *result;
7397 bool temp2 = False ;
7398 PyObject * obj0 = 0 ;
7399 PyObject * obj1 = 0 ;
7400 PyObject * obj3 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7407 {
7408 arg2 = wxString_in_helper(obj1);
7409 if (arg2 == NULL) SWIG_fail;
7410 temp2 = True;
7411 }
7412 if (obj3) {
7413 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7423 {
7424 if (temp2)
7425 delete arg2;
7426 }
7427 return resultobj;
7428 fail:
7429 {
7430 if (temp2)
7431 delete arg2;
7432 }
7433 return NULL;
7434 }
7435
7436
7437 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7438 PyObject *resultobj;
7439 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7440 wxRect *arg2 = 0 ;
7441 wxRect temp2 ;
7442 PyObject * obj0 = 0 ;
7443 PyObject * obj1 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self",(char *) "rectBound", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7450 {
7451 arg2 = &temp2;
7452 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7453 }
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 Py_INCREF(Py_None); resultobj = Py_None;
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7471 PyObject * obj0 = 0 ;
7472 char *kwnames[] = {
7473 (char *) "self", NULL
7474 };
7475
7476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 (arg1)->Close();
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 Py_INCREF(Py_None); resultobj = Py_None;
7486 return resultobj;
7487 fail:
7488 return NULL;
7489 }
7490
7491
7492 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7493 PyObject *obj;
7494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7495 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7496 Py_INCREF(obj);
7497 return Py_BuildValue((char *)"");
7498 }
7499 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7500 PyObject *resultobj;
7501 wxWindow *arg1 = (wxWindow *) 0 ;
7502 int arg2 = (int) wxID_ANY ;
7503 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7504 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7505 wxSize const &arg4_defvalue = wxDefaultSize ;
7506 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7507 long arg5 = (long) 0 ;
7508 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7509 wxString *arg6 = (wxString *) &arg6_defvalue ;
7510 wxPyVScrolledWindow *result;
7511 wxPoint temp3 ;
7512 wxSize temp4 ;
7513 bool temp6 = False ;
7514 PyObject * obj0 = 0 ;
7515 PyObject * obj2 = 0 ;
7516 PyObject * obj3 = 0 ;
7517 PyObject * obj5 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 if (obj2) {
7525 {
7526 arg3 = &temp3;
7527 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7528 }
7529 }
7530 if (obj3) {
7531 {
7532 arg4 = &temp4;
7533 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7534 }
7535 }
7536 if (obj5) {
7537 {
7538 arg6 = wxString_in_helper(obj5);
7539 if (arg6 == NULL) SWIG_fail;
7540 temp6 = True;
7541 }
7542 }
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7551 {
7552 if (temp6)
7553 delete arg6;
7554 }
7555 return resultobj;
7556 fail:
7557 {
7558 if (temp6)
7559 delete arg6;
7560 }
7561 return NULL;
7562 }
7563
7564
7565 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7566 PyObject *resultobj;
7567 wxPyVScrolledWindow *result;
7568 char *kwnames[] = {
7569 NULL
7570 };
7571
7572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7590 PyObject *arg2 = (PyObject *) 0 ;
7591 PyObject *arg3 = (PyObject *) 0 ;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 PyObject * obj2 = 0 ;
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "self",(char *) "_class", NULL
7597 };
7598
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7601 arg2 = obj1;
7602 arg3 = obj2;
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 (arg1)->_setCallbackInfo(arg2,arg3);
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 Py_INCREF(Py_None); resultobj = Py_None;
7611 return resultobj;
7612 fail:
7613 return NULL;
7614 }
7615
7616
7617 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7620 wxWindow *arg2 = (wxWindow *) 0 ;
7621 int arg3 = (int) wxID_ANY ;
7622 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7623 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7624 wxSize const &arg5_defvalue = wxDefaultSize ;
7625 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7626 long arg6 = (long) 0 ;
7627 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7628 wxString *arg7 = (wxString *) &arg7_defvalue ;
7629 bool result;
7630 wxPoint temp4 ;
7631 wxSize temp5 ;
7632 bool temp7 = False ;
7633 PyObject * obj0 = 0 ;
7634 PyObject * obj1 = 0 ;
7635 PyObject * obj3 = 0 ;
7636 PyObject * obj4 = 0 ;
7637 PyObject * obj6 = 0 ;
7638 char *kwnames[] = {
7639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7640 };
7641
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7645 if (obj3) {
7646 {
7647 arg4 = &temp4;
7648 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7649 }
7650 }
7651 if (obj4) {
7652 {
7653 arg5 = &temp5;
7654 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7655 }
7656 }
7657 if (obj6) {
7658 {
7659 arg7 = wxString_in_helper(obj6);
7660 if (arg7 == NULL) SWIG_fail;
7661 temp7 = True;
7662 }
7663 }
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 resultobj = PyInt_FromLong((long)result);
7672 {
7673 if (temp7)
7674 delete arg7;
7675 }
7676 return resultobj;
7677 fail:
7678 {
7679 if (temp7)
7680 delete arg7;
7681 }
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7689 size_t arg2 ;
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self",(char *) "count", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7698 arg2 = (size_t) PyInt_AsLong(obj1);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 {
7701 PyThreadState* __tstate = wxPyBeginAllowThreads();
7702 (arg1)->SetLineCount(arg2);
7703
7704 wxPyEndAllowThreads(__tstate);
7705 if (PyErr_Occurred()) SWIG_fail;
7706 }
7707 Py_INCREF(Py_None); resultobj = Py_None;
7708 return resultobj;
7709 fail:
7710 return NULL;
7711 }
7712
7713
7714 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj;
7716 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7717 size_t arg2 ;
7718 bool result;
7719 PyObject * obj0 = 0 ;
7720 PyObject * obj1 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self",(char *) "line", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7727 arg2 = (size_t) PyInt_AsLong(obj1);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = (bool)(arg1)->ScrollToLine(arg2);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 resultobj = PyInt_FromLong((long)result);
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7746 int arg2 ;
7747 bool result;
7748 PyObject * obj0 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self",(char *) "lines", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (bool)(arg1)->ScrollLines(arg2);
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 resultobj = PyInt_FromLong((long)result);
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7772 int arg2 ;
7773 bool result;
7774 PyObject * obj0 = 0 ;
7775 char *kwnames[] = {
7776 (char *) "self",(char *) "pages", NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7781 {
7782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7783 result = (bool)(arg1)->ScrollPages(arg2);
7784
7785 wxPyEndAllowThreads(__tstate);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
7788 resultobj = PyInt_FromLong((long)result);
7789 return resultobj;
7790 fail:
7791 return NULL;
7792 }
7793
7794
7795 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7798 size_t arg2 ;
7799 PyObject * obj0 = 0 ;
7800 PyObject * obj1 = 0 ;
7801 char *kwnames[] = {
7802 (char *) "self",(char *) "line", NULL
7803 };
7804
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7807 arg2 = (size_t) PyInt_AsLong(obj1);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 (arg1)->RefreshLine(arg2);
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 Py_INCREF(Py_None); resultobj = Py_None;
7817 return resultobj;
7818 fail:
7819 return NULL;
7820 }
7821
7822
7823 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7826 size_t arg2 ;
7827 size_t arg3 ;
7828 PyObject * obj0 = 0 ;
7829 PyObject * obj1 = 0 ;
7830 PyObject * obj2 = 0 ;
7831 char *kwnames[] = {
7832 (char *) "self",(char *) "from",(char *) "to", NULL
7833 };
7834
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7837 arg2 = (size_t) PyInt_AsLong(obj1);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 arg3 = (size_t) PyInt_AsLong(obj2);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 (arg1)->RefreshLines(arg2,arg3);
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 Py_INCREF(Py_None); resultobj = Py_None;
7849 return resultobj;
7850 fail:
7851 return NULL;
7852 }
7853
7854
7855 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj;
7857 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7858 int arg2 ;
7859 int arg3 ;
7860 int result;
7861 PyObject * obj0 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self",(char *) "x",(char *) "y", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
7867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 resultobj = PyInt_FromLong((long)result);
7876 return resultobj;
7877 fail:
7878 return NULL;
7879 }
7880
7881
7882 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7885 wxPoint *arg2 = 0 ;
7886 int result;
7887 wxPoint temp2 ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 char *kwnames[] = {
7891 (char *) "self",(char *) "pt", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
7895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7896 {
7897 arg2 = &temp2;
7898 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7899 }
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
7902 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 resultobj = PyInt_FromLong((long)result);
7908 return resultobj;
7909 fail:
7910 return NULL;
7911 }
7912
7913
7914 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj;
7916 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7917 PyObject * obj0 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
7923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 (arg1)->RefreshAll();
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 Py_INCREF(Py_None); resultobj = Py_None;
7932 return resultobj;
7933 fail:
7934 return NULL;
7935 }
7936
7937
7938 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj;
7940 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7941 size_t result;
7942 PyObject * obj0 = 0 ;
7943 char *kwnames[] = {
7944 (char *) "self", NULL
7945 };
7946
7947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
7948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = PyInt_FromLong((long)result);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7966 size_t result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 resultobj = PyInt_FromLong((long)result);
7982 return resultobj;
7983 fail:
7984 return NULL;
7985 }
7986
7987
7988 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj;
7990 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7991 size_t result;
7992 PyObject * obj0 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "self", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
7998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 resultobj = PyInt_FromLong((long)result);
8007 return resultobj;
8008 fail:
8009 return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8016 size_t arg2 ;
8017 bool result;
8018 PyObject * obj0 = 0 ;
8019 PyObject * obj1 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "self",(char *) "line", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8026 arg2 = (size_t) PyInt_AsLong(obj1);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 resultobj = PyInt_FromLong((long)result);
8036 return resultobj;
8037 fail:
8038 return NULL;
8039 }
8040
8041
8042 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8043 PyObject *obj;
8044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8045 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8046 Py_INCREF(obj);
8047 return Py_BuildValue((char *)"");
8048 }
8049 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxWindow *arg1 = (wxWindow *) 0 ;
8052 int arg2 = (int) wxID_ANY ;
8053 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8054 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8055 wxSize const &arg4_defvalue = wxDefaultSize ;
8056 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8057 long arg5 = (long) 0 ;
8058 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8059 wxString *arg6 = (wxString *) &arg6_defvalue ;
8060 wxPyVListBox *result;
8061 wxPoint temp3 ;
8062 wxSize temp4 ;
8063 bool temp6 = False ;
8064 PyObject * obj0 = 0 ;
8065 PyObject * obj2 = 0 ;
8066 PyObject * obj3 = 0 ;
8067 PyObject * obj5 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8074 if (obj2) {
8075 {
8076 arg3 = &temp3;
8077 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8078 }
8079 }
8080 if (obj3) {
8081 {
8082 arg4 = &temp4;
8083 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8084 }
8085 }
8086 if (obj5) {
8087 {
8088 arg6 = wxString_in_helper(obj5);
8089 if (arg6 == NULL) SWIG_fail;
8090 temp6 = True;
8091 }
8092 }
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8101 {
8102 if (temp6)
8103 delete arg6;
8104 }
8105 return resultobj;
8106 fail:
8107 {
8108 if (temp6)
8109 delete arg6;
8110 }
8111 return NULL;
8112 }
8113
8114
8115 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8116 PyObject *resultobj;
8117 wxPyVListBox *result;
8118 char *kwnames[] = {
8119 NULL
8120 };
8121
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 result = (wxPyVListBox *)new wxPyVListBox();
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8140 PyObject *arg2 = (PyObject *) 0 ;
8141 PyObject *arg3 = (PyObject *) 0 ;
8142 PyObject * obj0 = 0 ;
8143 PyObject * obj1 = 0 ;
8144 PyObject * obj2 = 0 ;
8145 char *kwnames[] = {
8146 (char *) "self",(char *) "self",(char *) "_class", NULL
8147 };
8148
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8151 arg2 = obj1;
8152 arg3 = obj2;
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 (arg1)->_setCallbackInfo(arg2,arg3);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 Py_INCREF(Py_None); resultobj = Py_None;
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj;
8169 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8170 wxWindow *arg2 = (wxWindow *) 0 ;
8171 int arg3 = (int) wxID_ANY ;
8172 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8173 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8174 wxSize const &arg5_defvalue = wxDefaultSize ;
8175 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8176 long arg6 = (long) 0 ;
8177 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8178 wxString *arg7 = (wxString *) &arg7_defvalue ;
8179 bool result;
8180 wxPoint temp4 ;
8181 wxSize temp5 ;
8182 bool temp7 = False ;
8183 PyObject * obj0 = 0 ;
8184 PyObject * obj1 = 0 ;
8185 PyObject * obj3 = 0 ;
8186 PyObject * obj4 = 0 ;
8187 PyObject * obj6 = 0 ;
8188 char *kwnames[] = {
8189 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8190 };
8191
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8195 if (obj3) {
8196 {
8197 arg4 = &temp4;
8198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8199 }
8200 }
8201 if (obj4) {
8202 {
8203 arg5 = &temp5;
8204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8205 }
8206 }
8207 if (obj6) {
8208 {
8209 arg7 = wxString_in_helper(obj6);
8210 if (arg7 == NULL) SWIG_fail;
8211 temp7 = True;
8212 }
8213 }
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
8221 resultobj = PyInt_FromLong((long)result);
8222 {
8223 if (temp7)
8224 delete arg7;
8225 }
8226 return resultobj;
8227 fail:
8228 {
8229 if (temp7)
8230 delete arg7;
8231 }
8232 return NULL;
8233 }
8234
8235
8236 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8239 size_t result;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 resultobj = PyInt_FromLong((long)result);
8255 return resultobj;
8256 fail:
8257 return NULL;
8258 }
8259
8260
8261 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj;
8263 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8264 bool result;
8265 PyObject * obj0 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 resultobj = PyInt_FromLong((long)result);
8280 return resultobj;
8281 fail:
8282 return NULL;
8283 }
8284
8285
8286 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8289 int result;
8290 PyObject * obj0 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 resultobj = PyInt_FromLong((long)result);
8305 return resultobj;
8306 fail:
8307 return NULL;
8308 }
8309
8310
8311 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8314 size_t arg2 ;
8315 bool result;
8316 PyObject * obj0 = 0 ;
8317 PyObject * obj1 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "item", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8324 arg2 = (size_t) PyInt_AsLong(obj1);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 resultobj = PyInt_FromLong((long)result);
8334 return resultobj;
8335 fail:
8336 return NULL;
8337 }
8338
8339
8340 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj;
8342 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8343 size_t arg2 ;
8344 bool result;
8345 PyObject * obj0 = 0 ;
8346 PyObject * obj1 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "self",(char *) "item", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8353 arg2 = (size_t) PyInt_AsLong(obj1);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 resultobj = PyInt_FromLong((long)result);
8363 return resultobj;
8364 fail:
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8372 size_t result;
8373 PyObject * obj0 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "self", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8383
8384 wxPyEndAllowThreads(__tstate);
8385 if (PyErr_Occurred()) SWIG_fail;
8386 }
8387 resultobj = PyInt_FromLong((long)result);
8388 return resultobj;
8389 fail:
8390 return NULL;
8391 }
8392
8393
8394 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8395 PyObject *resultobj;
8396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8397 unsigned long *arg2 = 0 ;
8398 int result;
8399 PyObject * obj0 = 0 ;
8400 PyObject * obj1 = 0 ;
8401 char *kwnames[] = {
8402 (char *) "self",(char *) "cookie", NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8408 if (arg2 == NULL) {
8409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8410 }
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = PyInt_FromLong((long)result);
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8428 unsigned long *arg2 = 0 ;
8429 int result;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self",(char *) "cookie", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8439 if (arg2 == NULL) {
8440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 resultobj = PyInt_FromLong((long)result);
8450 return resultobj;
8451 fail:
8452 return NULL;
8453 }
8454
8455
8456 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj;
8458 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8459 wxPoint result;
8460 PyObject * obj0 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 result = ((wxPyVListBox const *)arg1)->GetMargins();
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 {
8475 wxPoint * resultptr;
8476 resultptr = new wxPoint((wxPoint &) result);
8477 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8478 }
8479 return resultobj;
8480 fail:
8481 return NULL;
8482 }
8483
8484
8485 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8486 PyObject *resultobj;
8487 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8488 wxColour *result;
8489 PyObject * obj0 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "self", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8496 {
8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
8498 {
8499 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8500 result = (wxColour *) &_result_ref;
8501 }
8502
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8507 return resultobj;
8508 fail:
8509 return NULL;
8510 }
8511
8512
8513 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj;
8515 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8516 size_t arg2 ;
8517 PyObject * obj0 = 0 ;
8518 PyObject * obj1 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self",(char *) "count", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8525 arg2 = (size_t) PyInt_AsLong(obj1);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 {
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 (arg1)->SetItemCount(arg2);
8530
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 Py_INCREF(Py_None); resultobj = Py_None;
8535 return resultobj;
8536 fail:
8537 return NULL;
8538 }
8539
8540
8541 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8542 PyObject *resultobj;
8543 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8544 PyObject * obj0 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 (arg1)->Clear();
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 Py_INCREF(Py_None); resultobj = Py_None;
8559 return resultobj;
8560 fail:
8561 return NULL;
8562 }
8563
8564
8565 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj;
8567 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8568 int arg2 ;
8569 PyObject * obj0 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "self",(char *) "selection", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 (arg1)->SetSelection(arg2);
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
8583 Py_INCREF(Py_None); resultobj = Py_None;
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj;
8592 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8593 size_t arg2 ;
8594 bool arg3 = (bool) True ;
8595 bool result;
8596 PyObject * obj0 = 0 ;
8597 PyObject * obj1 = 0 ;
8598 PyObject * obj2 = 0 ;
8599 char *kwnames[] = {
8600 (char *) "self",(char *) "item",(char *) "select", NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8605 arg2 = (size_t) PyInt_AsLong(obj1);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 if (obj2) {
8608 arg3 = PyInt_AsLong(obj2) ? true : false;
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (bool)(arg1)->Select(arg2,arg3);
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 resultobj = PyInt_FromLong((long)result);
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8628 size_t arg2 ;
8629 size_t arg3 ;
8630 bool result;
8631 PyObject * obj0 = 0 ;
8632 PyObject * obj1 = 0 ;
8633 PyObject * obj2 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self",(char *) "from",(char *) "to", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 arg2 = (size_t) PyInt_AsLong(obj1);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 arg3 = (size_t) PyInt_AsLong(obj2);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 result = (bool)(arg1)->SelectRange(arg2,arg3);
8647
8648 wxPyEndAllowThreads(__tstate);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 resultobj = PyInt_FromLong((long)result);
8652 return resultobj;
8653 fail:
8654 return NULL;
8655 }
8656
8657
8658 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8659 PyObject *resultobj;
8660 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8661 size_t arg2 ;
8662 PyObject * obj0 = 0 ;
8663 PyObject * obj1 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self",(char *) "item", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 arg2 = (size_t) PyInt_AsLong(obj1);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 (arg1)->Toggle(arg2);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8689 bool result;
8690 PyObject * obj0 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8697 {
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 result = (bool)(arg1)->SelectAll();
8700
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 resultobj = PyInt_FromLong((long)result);
8705 return resultobj;
8706 fail:
8707 return NULL;
8708 }
8709
8710
8711 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj;
8713 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8714 bool result;
8715 PyObject * obj0 = 0 ;
8716 char *kwnames[] = {
8717 (char *) "self", NULL
8718 };
8719
8720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 result = (bool)(arg1)->DeselectAll();
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 resultobj = PyInt_FromLong((long)result);
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8739 wxPoint *arg2 = 0 ;
8740 wxPoint temp2 ;
8741 PyObject * obj0 = 0 ;
8742 PyObject * obj1 = 0 ;
8743 char *kwnames[] = {
8744 (char *) "self",(char *) "pt", NULL
8745 };
8746
8747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8749 {
8750 arg2 = &temp2;
8751 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 (arg1)->SetMargins((wxPoint const &)*arg2);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 Py_INCREF(Py_None); resultobj = Py_None;
8761 return resultobj;
8762 fail:
8763 return NULL;
8764 }
8765
8766
8767 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8770 int arg2 ;
8771 int arg3 ;
8772 PyObject * obj0 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "self",(char *) "x",(char *) "y", NULL
8775 };
8776
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 (arg1)->SetMargins(arg2,arg3);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 Py_INCREF(Py_None); resultobj = Py_None;
8787 return resultobj;
8788 fail:
8789 return NULL;
8790 }
8791
8792
8793 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8794 PyObject *resultobj;
8795 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8796 wxColour *arg2 = 0 ;
8797 wxColour temp2 ;
8798 PyObject * obj0 = 0 ;
8799 PyObject * obj1 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self",(char *) "col", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8806 {
8807 arg2 = &temp2;
8808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8809 }
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 Py_INCREF(Py_None); resultobj = Py_None;
8818 return resultobj;
8819 fail:
8820 return NULL;
8821 }
8822
8823
8824 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8825 PyObject *obj;
8826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8827 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8828 Py_INCREF(obj);
8829 return Py_BuildValue((char *)"");
8830 }
8831 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj;
8833 wxWindow *arg1 = (wxWindow *) 0 ;
8834 int arg2 = (int) wxID_ANY ;
8835 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8836 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8837 wxSize const &arg4_defvalue = wxDefaultSize ;
8838 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8839 long arg5 = (long) 0 ;
8840 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8841 wxString *arg6 = (wxString *) &arg6_defvalue ;
8842 wxPyHtmlListBox *result;
8843 wxPoint temp3 ;
8844 wxSize temp4 ;
8845 bool temp6 = False ;
8846 PyObject * obj0 = 0 ;
8847 PyObject * obj2 = 0 ;
8848 PyObject * obj3 = 0 ;
8849 PyObject * obj5 = 0 ;
8850 char *kwnames[] = {
8851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8852 };
8853
8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8856 if (obj2) {
8857 {
8858 arg3 = &temp3;
8859 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8860 }
8861 }
8862 if (obj3) {
8863 {
8864 arg4 = &temp4;
8865 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8866 }
8867 }
8868 if (obj5) {
8869 {
8870 arg6 = wxString_in_helper(obj5);
8871 if (arg6 == NULL) SWIG_fail;
8872 temp6 = True;
8873 }
8874 }
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
8883 {
8884 if (temp6)
8885 delete arg6;
8886 }
8887 return resultobj;
8888 fail:
8889 {
8890 if (temp6)
8891 delete arg6;
8892 }
8893 return NULL;
8894 }
8895
8896
8897 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxPyHtmlListBox *result;
8900 char *kwnames[] = {
8901 NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
8905 {
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj;
8921 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
8922 PyObject *arg2 = (PyObject *) 0 ;
8923 PyObject *arg3 = (PyObject *) 0 ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 PyObject * obj2 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self",(char *) "self",(char *) "_class", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8933 arg2 = obj1;
8934 arg3 = obj2;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->_setCallbackInfo(arg2,arg3);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946 }
8947
8948
8949 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
8952 wxWindow *arg2 = (wxWindow *) 0 ;
8953 int arg3 = (int) wxID_ANY ;
8954 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8955 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8956 wxSize const &arg5_defvalue = wxDefaultSize ;
8957 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8958 long arg6 = (long) 0 ;
8959 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8960 wxString *arg7 = (wxString *) &arg7_defvalue ;
8961 bool result;
8962 wxPoint temp4 ;
8963 wxSize temp5 ;
8964 bool temp7 = False ;
8965 PyObject * obj0 = 0 ;
8966 PyObject * obj1 = 0 ;
8967 PyObject * obj3 = 0 ;
8968 PyObject * obj4 = 0 ;
8969 PyObject * obj6 = 0 ;
8970 char *kwnames[] = {
8971 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8972 };
8973
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977 if (obj3) {
8978 {
8979 arg4 = &temp4;
8980 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8981 }
8982 }
8983 if (obj4) {
8984 {
8985 arg5 = &temp5;
8986 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8987 }
8988 }
8989 if (obj6) {
8990 {
8991 arg7 = wxString_in_helper(obj6);
8992 if (arg7 == NULL) SWIG_fail;
8993 temp7 = True;
8994 }
8995 }
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 resultobj = PyInt_FromLong((long)result);
9004 {
9005 if (temp7)
9006 delete arg7;
9007 }
9008 return resultobj;
9009 fail:
9010 {
9011 if (temp7)
9012 delete arg7;
9013 }
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9021 PyObject * obj0 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 (arg1)->RefreshAll();
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 Py_INCREF(Py_None); resultobj = Py_None;
9036 return resultobj;
9037 fail:
9038 return NULL;
9039 }
9040
9041
9042 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject *resultobj;
9044 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9045 size_t arg2 ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self",(char *) "count", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9054 arg2 = (size_t) PyInt_AsLong(obj1);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 (arg1)->SetItemCount(arg2);
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 Py_INCREF(Py_None); resultobj = Py_None;
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9071 PyObject *obj;
9072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9073 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9074 Py_INCREF(obj);
9075 return Py_BuildValue((char *)"");
9076 }
9077 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj;
9079 wxTaskBarIcon *result;
9080 char *kwnames[] = {
9081 NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9093 return resultobj;
9094 fail:
9095 return NULL;
9096 }
9097
9098
9099 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj;
9101 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9102 PyObject * obj0 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 delete arg1;
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 Py_INCREF(Py_None); resultobj = Py_None;
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9124 PyObject *obj;
9125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9126 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9127 Py_INCREF(obj);
9128 return Py_BuildValue((char *)"");
9129 }
9130 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxEventType arg1 ;
9133 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9134 wxTaskBarIconEvent *result;
9135 PyObject * obj1 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "evtType",(char *) "tbIcon", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9142 {
9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
9144 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9145
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9150 return resultobj;
9151 fail:
9152 return NULL;
9153 }
9154
9155
9156 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9157 PyObject *obj;
9158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9159 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9160 Py_INCREF(obj);
9161 return Py_BuildValue((char *)"");
9162 }
9163 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9164 PyObject *resultobj;
9165 wxColourData *result;
9166 char *kwnames[] = {
9167 NULL
9168 };
9169
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (wxColourData *)new wxColourData();
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9179 return resultobj;
9180 fail:
9181 return NULL;
9182 }
9183
9184
9185 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 wxColourData *arg1 = (wxColourData *) 0 ;
9188 PyObject * obj0 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self", NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 delete arg1;
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 Py_INCREF(Py_None); resultobj = Py_None;
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxColourData *arg1 = (wxColourData *) 0 ;
9212 bool result;
9213 PyObject * obj0 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (bool)(arg1)->GetChooseFull();
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 resultobj = PyInt_FromLong((long)result);
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxColourData *arg1 = (wxColourData *) 0 ;
9237 wxColour result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (arg1)->GetColour();
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 {
9253 wxColour * resultptr;
9254 resultptr = new wxColour((wxColour &) result);
9255 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9256 }
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxColourData *arg1 = (wxColourData *) 0 ;
9266 int arg2 ;
9267 wxColour result;
9268 PyObject * obj0 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self",(char *) "i", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (arg1)->GetCustomColour(arg2);
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 {
9283 wxColour * resultptr;
9284 resultptr = new wxColour((wxColour &) result);
9285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9286 }
9287 return resultobj;
9288 fail:
9289 return NULL;
9290 }
9291
9292
9293 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj;
9295 wxColourData *arg1 = (wxColourData *) 0 ;
9296 int arg2 ;
9297 PyObject * obj0 = 0 ;
9298 char *kwnames[] = {
9299 (char *) "self",(char *) "flag", NULL
9300 };
9301
9302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9304 {
9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
9306 (arg1)->SetChooseFull(arg2);
9307
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
9311 Py_INCREF(Py_None); resultobj = Py_None;
9312 return resultobj;
9313 fail:
9314 return NULL;
9315 }
9316
9317
9318 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj;
9320 wxColourData *arg1 = (wxColourData *) 0 ;
9321 wxColour *arg2 = 0 ;
9322 wxColour temp2 ;
9323 PyObject * obj0 = 0 ;
9324 PyObject * obj1 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self",(char *) "colour", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9331 {
9332 arg2 = &temp2;
9333 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 (arg1)->SetColour((wxColour const &)*arg2);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 return resultobj;
9344 fail:
9345 return NULL;
9346 }
9347
9348
9349 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9350 PyObject *resultobj;
9351 wxColourData *arg1 = (wxColourData *) 0 ;
9352 int arg2 ;
9353 wxColour *arg3 = 0 ;
9354 wxColour temp3 ;
9355 PyObject * obj0 = 0 ;
9356 PyObject * obj2 = 0 ;
9357 char *kwnames[] = {
9358 (char *) "self",(char *) "i",(char *) "colour", NULL
9359 };
9360
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9363 {
9364 arg3 = &temp3;
9365 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9366 }
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 Py_INCREF(Py_None); resultobj = Py_None;
9375 return resultobj;
9376 fail:
9377 return NULL;
9378 }
9379
9380
9381 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9382 PyObject *obj;
9383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9384 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9385 Py_INCREF(obj);
9386 return Py_BuildValue((char *)"");
9387 }
9388 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxWindow *arg1 = (wxWindow *) 0 ;
9391 wxColourData *arg2 = (wxColourData *) NULL ;
9392 wxColourDialog *result;
9393 PyObject * obj0 = 0 ;
9394 PyObject * obj1 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "parent",(char *) "data", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9401 if (obj1) {
9402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 }
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9412 return resultobj;
9413 fail:
9414 return NULL;
9415 }
9416
9417
9418 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj;
9420 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9421 wxColourData *result;
9422 PyObject * obj0 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 {
9432 wxColourData &_result_ref = (arg1)->GetColourData();
9433 result = (wxColourData *) &_result_ref;
9434 }
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj;
9448 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9449 int result;
9450 PyObject * obj0 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "self", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (int)(arg1)->ShowModal();
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 resultobj = PyInt_FromLong((long)result);
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9472 PyObject *obj;
9473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9474 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9475 Py_INCREF(obj);
9476 return Py_BuildValue((char *)"");
9477 }
9478 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj;
9480 wxWindow *arg1 = (wxWindow *) 0 ;
9481 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9482 wxString *arg2 = (wxString *) &arg2_defvalue ;
9483 wxString const &arg3_defvalue = wxPyEmptyString ;
9484 wxString *arg3 = (wxString *) &arg3_defvalue ;
9485 long arg4 = (long) 0 ;
9486 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9487 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9488 wxSize const &arg6_defvalue = wxDefaultSize ;
9489 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9490 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9491 wxString *arg7 = (wxString *) &arg7_defvalue ;
9492 wxDirDialog *result;
9493 bool temp2 = False ;
9494 bool temp3 = False ;
9495 wxPoint temp5 ;
9496 wxSize temp6 ;
9497 bool temp7 = False ;
9498 PyObject * obj0 = 0 ;
9499 PyObject * obj1 = 0 ;
9500 PyObject * obj2 = 0 ;
9501 PyObject * obj4 = 0 ;
9502 PyObject * obj5 = 0 ;
9503 PyObject * obj6 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9510 if (obj1) {
9511 {
9512 arg2 = wxString_in_helper(obj1);
9513 if (arg2 == NULL) SWIG_fail;
9514 temp2 = True;
9515 }
9516 }
9517 if (obj2) {
9518 {
9519 arg3 = wxString_in_helper(obj2);
9520 if (arg3 == NULL) SWIG_fail;
9521 temp3 = True;
9522 }
9523 }
9524 if (obj4) {
9525 {
9526 arg5 = &temp5;
9527 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9528 }
9529 }
9530 if (obj5) {
9531 {
9532 arg6 = &temp6;
9533 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9534 }
9535 }
9536 if (obj6) {
9537 {
9538 arg7 = wxString_in_helper(obj6);
9539 if (arg7 == NULL) SWIG_fail;
9540 temp7 = True;
9541 }
9542 }
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9551 {
9552 if (temp2)
9553 delete arg2;
9554 }
9555 {
9556 if (temp3)
9557 delete arg3;
9558 }
9559 {
9560 if (temp7)
9561 delete arg7;
9562 }
9563 return resultobj;
9564 fail:
9565 {
9566 if (temp2)
9567 delete arg2;
9568 }
9569 {
9570 if (temp3)
9571 delete arg3;
9572 }
9573 {
9574 if (temp7)
9575 delete arg7;
9576 }
9577 return NULL;
9578 }
9579
9580
9581 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9582 PyObject *resultobj;
9583 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9584 wxString result;
9585 PyObject * obj0 = 0 ;
9586 char *kwnames[] = {
9587 (char *) "self", NULL
9588 };
9589
9590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (arg1)->GetPath();
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 {
9600 #if wxUSE_UNICODE
9601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9602 #else
9603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9604 #endif
9605 }
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9615 wxString result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (arg1)->GetMessage();
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 {
9631 #if wxUSE_UNICODE
9632 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9633 #else
9634 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9635 #endif
9636 }
9637 return resultobj;
9638 fail:
9639 return NULL;
9640 }
9641
9642
9643 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9644 PyObject *resultobj;
9645 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9646 long result;
9647 PyObject * obj0 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "self", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 result = (long)(arg1)->GetStyle();
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 resultobj = PyInt_FromLong((long)result);
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9671 wxString *arg2 = 0 ;
9672 bool temp2 = False ;
9673 PyObject * obj0 = 0 ;
9674 PyObject * obj1 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self",(char *) "message", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9681 {
9682 arg2 = wxString_in_helper(obj1);
9683 if (arg2 == NULL) SWIG_fail;
9684 temp2 = True;
9685 }
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 (arg1)->SetMessage((wxString const &)*arg2);
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 Py_INCREF(Py_None); resultobj = Py_None;
9694 {
9695 if (temp2)
9696 delete arg2;
9697 }
9698 return resultobj;
9699 fail:
9700 {
9701 if (temp2)
9702 delete arg2;
9703 }
9704 return NULL;
9705 }
9706
9707
9708 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9711 wxString *arg2 = 0 ;
9712 bool temp2 = False ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self",(char *) "path", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
9720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9721 {
9722 arg2 = wxString_in_helper(obj1);
9723 if (arg2 == NULL) SWIG_fail;
9724 temp2 = True;
9725 }
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 (arg1)->SetPath((wxString const &)*arg2);
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 Py_INCREF(Py_None); resultobj = Py_None;
9734 {
9735 if (temp2)
9736 delete arg2;
9737 }
9738 return resultobj;
9739 fail:
9740 {
9741 if (temp2)
9742 delete arg2;
9743 }
9744 return NULL;
9745 }
9746
9747
9748 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9749 PyObject *resultobj;
9750 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9751 int result;
9752 PyObject * obj0 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 result = (int)(arg1)->ShowModal();
9762
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 resultobj = PyInt_FromLong((long)result);
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
9774 PyObject *obj;
9775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9776 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
9777 Py_INCREF(obj);
9778 return Py_BuildValue((char *)"");
9779 }
9780 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj;
9782 wxWindow *arg1 = (wxWindow *) 0 ;
9783 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
9784 wxString *arg2 = (wxString *) &arg2_defvalue ;
9785 wxString const &arg3_defvalue = wxPyEmptyString ;
9786 wxString *arg3 = (wxString *) &arg3_defvalue ;
9787 wxString const &arg4_defvalue = wxPyEmptyString ;
9788 wxString *arg4 = (wxString *) &arg4_defvalue ;
9789 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
9790 wxString *arg5 = (wxString *) &arg5_defvalue ;
9791 long arg6 = (long) 0 ;
9792 wxPoint const &arg7_defvalue = wxDefaultPosition ;
9793 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
9794 wxFileDialog *result;
9795 bool temp2 = False ;
9796 bool temp3 = False ;
9797 bool temp4 = False ;
9798 bool temp5 = False ;
9799 wxPoint temp7 ;
9800 PyObject * obj0 = 0 ;
9801 PyObject * obj1 = 0 ;
9802 PyObject * obj2 = 0 ;
9803 PyObject * obj3 = 0 ;
9804 PyObject * obj4 = 0 ;
9805 PyObject * obj6 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
9811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9812 if (obj1) {
9813 {
9814 arg2 = wxString_in_helper(obj1);
9815 if (arg2 == NULL) SWIG_fail;
9816 temp2 = True;
9817 }
9818 }
9819 if (obj2) {
9820 {
9821 arg3 = wxString_in_helper(obj2);
9822 if (arg3 == NULL) SWIG_fail;
9823 temp3 = True;
9824 }
9825 }
9826 if (obj3) {
9827 {
9828 arg4 = wxString_in_helper(obj3);
9829 if (arg4 == NULL) SWIG_fail;
9830 temp4 = True;
9831 }
9832 }
9833 if (obj4) {
9834 {
9835 arg5 = wxString_in_helper(obj4);
9836 if (arg5 == NULL) SWIG_fail;
9837 temp5 = True;
9838 }
9839 }
9840 if (obj6) {
9841 {
9842 arg7 = &temp7;
9843 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
9844 }
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
9854 {
9855 if (temp2)
9856 delete arg2;
9857 }
9858 {
9859 if (temp3)
9860 delete arg3;
9861 }
9862 {
9863 if (temp4)
9864 delete arg4;
9865 }
9866 {
9867 if (temp5)
9868 delete arg5;
9869 }
9870 return resultobj;
9871 fail:
9872 {
9873 if (temp2)
9874 delete arg2;
9875 }
9876 {
9877 if (temp3)
9878 delete arg3;
9879 }
9880 {
9881 if (temp4)
9882 delete arg4;
9883 }
9884 {
9885 if (temp5)
9886 delete arg5;
9887 }
9888 return NULL;
9889 }
9890
9891
9892 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
9895 wxString *arg2 = 0 ;
9896 bool temp2 = False ;
9897 PyObject * obj0 = 0 ;
9898 PyObject * obj1 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self",(char *) "message", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9905 {
9906 arg2 = wxString_in_helper(obj1);
9907 if (arg2 == NULL) SWIG_fail;
9908 temp2 = True;
9909 }
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 (arg1)->SetMessage((wxString const &)*arg2);
9913
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 Py_INCREF(Py_None); resultobj = Py_None;
9918 {
9919 if (temp2)
9920 delete arg2;
9921 }
9922 return resultobj;
9923 fail:
9924 {
9925 if (temp2)
9926 delete arg2;
9927 }
9928 return NULL;
9929 }
9930
9931
9932 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj;
9934 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
9935 wxString *arg2 = 0 ;
9936 bool temp2 = False ;
9937 PyObject * obj0 = 0 ;
9938 PyObject * obj1 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self",(char *) "path", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9945 {
9946 arg2 = wxString_in_helper(obj1);
9947 if (arg2 == NULL) SWIG_fail;
9948 temp2 = True;
9949 }
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 (arg1)->SetPath((wxString const &)*arg2);
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 Py_INCREF(Py_None); resultobj = Py_None;
9958 {
9959 if (temp2)
9960 delete arg2;
9961 }
9962 return resultobj;
9963 fail:
9964 {
9965 if (temp2)
9966 delete arg2;
9967 }
9968 return NULL;
9969 }
9970
9971
9972 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
9973 PyObject *resultobj;
9974 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
9975 wxString *arg2 = 0 ;
9976 bool temp2 = False ;
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self",(char *) "dir", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9985 {
9986 arg2 = wxString_in_helper(obj1);
9987 if (arg2 == NULL) SWIG_fail;
9988 temp2 = True;
9989 }
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 (arg1)->SetDirectory((wxString const &)*arg2);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 Py_INCREF(Py_None); resultobj = Py_None;
9998 {
9999 if (temp2)
10000 delete arg2;
10001 }
10002 return resultobj;
10003 fail:
10004 {
10005 if (temp2)
10006 delete arg2;
10007 }
10008 return NULL;
10009 }
10010
10011
10012 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10015 wxString *arg2 = 0 ;
10016 bool temp2 = False ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 char *kwnames[] = {
10020 (char *) "self",(char *) "name", NULL
10021 };
10022
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10025 {
10026 arg2 = wxString_in_helper(obj1);
10027 if (arg2 == NULL) SWIG_fail;
10028 temp2 = True;
10029 }
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 (arg1)->SetFilename((wxString const &)*arg2);
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 Py_INCREF(Py_None); resultobj = Py_None;
10038 {
10039 if (temp2)
10040 delete arg2;
10041 }
10042 return resultobj;
10043 fail:
10044 {
10045 if (temp2)
10046 delete arg2;
10047 }
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10055 wxString *arg2 = 0 ;
10056 bool temp2 = False ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self",(char *) "wildCard", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10065 {
10066 arg2 = wxString_in_helper(obj1);
10067 if (arg2 == NULL) SWIG_fail;
10068 temp2 = True;
10069 }
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 (arg1)->SetWildcard((wxString const &)*arg2);
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 Py_INCREF(Py_None); resultobj = Py_None;
10078 {
10079 if (temp2)
10080 delete arg2;
10081 }
10082 return resultobj;
10083 fail:
10084 {
10085 if (temp2)
10086 delete arg2;
10087 }
10088 return NULL;
10089 }
10090
10091
10092 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10095 long arg2 ;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self",(char *) "style", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 (arg1)->SetStyle(arg2);
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 Py_INCREF(Py_None); resultobj = Py_None;
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10120 int arg2 ;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self",(char *) "filterIndex", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 (arg1)->SetFilterIndex(arg2);
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 Py_INCREF(Py_None); resultobj = Py_None;
10136 return resultobj;
10137 fail:
10138 return NULL;
10139 }
10140
10141
10142 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj;
10144 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10145 wxString result;
10146 PyObject * obj0 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 result = ((wxFileDialog const *)arg1)->GetMessage();
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
10160 {
10161 #if wxUSE_UNICODE
10162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10163 #else
10164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10165 #endif
10166 }
10167 return resultobj;
10168 fail:
10169 return NULL;
10170 }
10171
10172
10173 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10174 PyObject *resultobj;
10175 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10176 wxString result;
10177 PyObject * obj0 = 0 ;
10178 char *kwnames[] = {
10179 (char *) "self", NULL
10180 };
10181
10182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = ((wxFileDialog const *)arg1)->GetPath();
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 {
10192 #if wxUSE_UNICODE
10193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10194 #else
10195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10196 #endif
10197 }
10198 return resultobj;
10199 fail:
10200 return NULL;
10201 }
10202
10203
10204 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj;
10206 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10207 wxString result;
10208 PyObject * obj0 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = ((wxFileDialog const *)arg1)->GetDirectory();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 {
10223 #if wxUSE_UNICODE
10224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10225 #else
10226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10227 #endif
10228 }
10229 return resultobj;
10230 fail:
10231 return NULL;
10232 }
10233
10234
10235 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj;
10237 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10238 wxString result;
10239 PyObject * obj0 = 0 ;
10240 char *kwnames[] = {
10241 (char *) "self", NULL
10242 };
10243
10244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10246 {
10247 PyThreadState* __tstate = wxPyBeginAllowThreads();
10248 result = ((wxFileDialog const *)arg1)->GetFilename();
10249
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 }
10253 {
10254 #if wxUSE_UNICODE
10255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10256 #else
10257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10258 #endif
10259 }
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10267 PyObject *resultobj;
10268 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10269 wxString result;
10270 PyObject * obj0 = 0 ;
10271 char *kwnames[] = {
10272 (char *) "self", NULL
10273 };
10274
10275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 result = ((wxFileDialog const *)arg1)->GetWildcard();
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 {
10285 #if wxUSE_UNICODE
10286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10287 #else
10288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10289 #endif
10290 }
10291 return resultobj;
10292 fail:
10293 return NULL;
10294 }
10295
10296
10297 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj;
10299 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10300 long result;
10301 PyObject * obj0 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10311
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = PyInt_FromLong((long)result);
10316 return resultobj;
10317 fail:
10318 return NULL;
10319 }
10320
10321
10322 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10325 int result;
10326 PyObject * obj0 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 resultobj = PyInt_FromLong((long)result);
10341 return resultobj;
10342 fail:
10343 return NULL;
10344 }
10345
10346
10347 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj;
10349 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10350 PyObject *result;
10351 PyObject * obj0 = 0 ;
10352 char *kwnames[] = {
10353 (char *) "self", NULL
10354 };
10355
10356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 resultobj = result;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj;
10374 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10375 PyObject *result;
10376 PyObject * obj0 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = result;
10391 return resultobj;
10392 fail:
10393 return NULL;
10394 }
10395
10396
10397 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10398 PyObject *obj;
10399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10400 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10401 Py_INCREF(obj);
10402 return Py_BuildValue((char *)"");
10403 }
10404 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxWindow *arg1 = (wxWindow *) 0 ;
10407 wxString *arg2 = 0 ;
10408 wxString *arg3 = 0 ;
10409 int arg4 ;
10410 wxString *arg5 = (wxString *) 0 ;
10411 long arg6 = (long) wxCHOICEDLG_STYLE ;
10412 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10413 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10414 wxMultiChoiceDialog *result;
10415 bool temp2 = False ;
10416 bool temp3 = False ;
10417 wxPoint temp7 ;
10418 PyObject * obj0 = 0 ;
10419 PyObject * obj1 = 0 ;
10420 PyObject * obj2 = 0 ;
10421 PyObject * obj4 = 0 ;
10422 PyObject * obj6 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 {
10430 arg2 = wxString_in_helper(obj1);
10431 if (arg2 == NULL) SWIG_fail;
10432 temp2 = True;
10433 }
10434 {
10435 arg3 = wxString_in_helper(obj2);
10436 if (arg3 == NULL) SWIG_fail;
10437 temp3 = True;
10438 }
10439 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10440 if (obj6) {
10441 {
10442 arg7 = &temp7;
10443 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10444 }
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10454 {
10455 if (temp2)
10456 delete arg2;
10457 }
10458 {
10459 if (temp3)
10460 delete arg3;
10461 }
10462 return resultobj;
10463 fail:
10464 {
10465 if (temp2)
10466 delete arg2;
10467 }
10468 {
10469 if (temp3)
10470 delete arg3;
10471 }
10472 return NULL;
10473 }
10474
10475
10476 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10477 PyObject *resultobj;
10478 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10479 wxArrayInt *arg2 = 0 ;
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "self",(char *) "selections", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10488 {
10489 if (! PySequence_Check(obj1)) {
10490 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10491 SWIG_fail;
10492 }
10493 arg2 = new wxArrayInt;
10494 int i, len=PySequence_Length(obj1);
10495 for (i=0; i<len; i++) {
10496 PyObject* item = PySequence_GetItem(obj1, i);
10497 PyObject* number = PyNumber_Int(item);
10498 arg2->Add(PyInt_AS_LONG(number));
10499 Py_DECREF(item);
10500 Py_DECREF(number);
10501 }
10502 }
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 Py_INCREF(Py_None); resultobj = Py_None;
10511 {
10512 if (arg2) delete arg2;
10513 }
10514 return resultobj;
10515 fail:
10516 {
10517 if (arg2) delete arg2;
10518 }
10519 return NULL;
10520 }
10521
10522
10523 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10524 PyObject *resultobj;
10525 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10526 PyObject *result;
10527 PyObject * obj0 = 0 ;
10528 char *kwnames[] = {
10529 (char *) "self", NULL
10530 };
10531
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 resultobj = result;
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10549 PyObject *obj;
10550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10551 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10552 Py_INCREF(obj);
10553 return Py_BuildValue((char *)"");
10554 }
10555 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxWindow *arg1 = (wxWindow *) 0 ;
10558 wxString *arg2 = 0 ;
10559 wxString *arg3 = 0 ;
10560 int arg4 ;
10561 wxString *arg5 = (wxString *) 0 ;
10562 long arg6 = (long) wxCHOICEDLG_STYLE ;
10563 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10564 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10565 wxSingleChoiceDialog *result;
10566 bool temp2 = False ;
10567 bool temp3 = False ;
10568 wxPoint temp6 ;
10569 PyObject * obj0 = 0 ;
10570 PyObject * obj1 = 0 ;
10571 PyObject * obj2 = 0 ;
10572 PyObject * obj3 = 0 ;
10573 PyObject * obj5 = 0 ;
10574 char *kwnames[] = {
10575 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10576 };
10577
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10580 {
10581 arg2 = wxString_in_helper(obj1);
10582 if (arg2 == NULL) SWIG_fail;
10583 temp2 = True;
10584 }
10585 {
10586 arg3 = wxString_in_helper(obj2);
10587 if (arg3 == NULL) SWIG_fail;
10588 temp3 = True;
10589 }
10590 {
10591 arg4 = PyList_Size(obj3);
10592 arg5 = wxString_LIST_helper(obj3);
10593 if (arg5 == NULL) SWIG_fail;
10594 }
10595 if (obj5) {
10596 {
10597 arg7 = &temp6;
10598 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10599 }
10600 }
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10609 {
10610 if (temp2)
10611 delete arg2;
10612 }
10613 {
10614 if (temp3)
10615 delete arg3;
10616 }
10617 {
10618 if (arg5) delete [] arg5;
10619 }
10620 return resultobj;
10621 fail:
10622 {
10623 if (temp2)
10624 delete arg2;
10625 }
10626 {
10627 if (temp3)
10628 delete arg3;
10629 }
10630 {
10631 if (arg5) delete [] arg5;
10632 }
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10640 int result;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (int)(arg1)->GetSelection();
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 resultobj = PyInt_FromLong((long)result);
10656 return resultobj;
10657 fail:
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10665 wxString result;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 result = (arg1)->GetStringSelection();
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 {
10681 #if wxUSE_UNICODE
10682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10683 #else
10684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10685 #endif
10686 }
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10696 int arg2 ;
10697 PyObject * obj0 = 0 ;
10698 char *kwnames[] = {
10699 (char *) "self",(char *) "sel", NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
10703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 (arg1)->SetSelection(arg2);
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 Py_INCREF(Py_None); resultobj = Py_None;
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10721 int result;
10722 PyObject * obj0 = 0 ;
10723 char *kwnames[] = {
10724 (char *) "self", NULL
10725 };
10726
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
10728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 result = (int)(arg1)->ShowModal();
10732
10733 wxPyEndAllowThreads(__tstate);
10734 if (PyErr_Occurred()) SWIG_fail;
10735 }
10736 resultobj = PyInt_FromLong((long)result);
10737 return resultobj;
10738 fail:
10739 return NULL;
10740 }
10741
10742
10743 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10744 PyObject *obj;
10745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10746 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
10747 Py_INCREF(obj);
10748 return Py_BuildValue((char *)"");
10749 }
10750 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10751 PyObject *resultobj;
10752 wxWindow *arg1 = (wxWindow *) 0 ;
10753 wxString *arg2 = 0 ;
10754 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
10755 wxString *arg3 = (wxString *) &arg3_defvalue ;
10756 wxString const &arg4_defvalue = wxPyEmptyString ;
10757 wxString *arg4 = (wxString *) &arg4_defvalue ;
10758 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
10759 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10760 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10761 wxTextEntryDialog *result;
10762 bool temp2 = False ;
10763 bool temp3 = False ;
10764 bool temp4 = False ;
10765 wxPoint temp6 ;
10766 PyObject * obj0 = 0 ;
10767 PyObject * obj1 = 0 ;
10768 PyObject * obj2 = 0 ;
10769 PyObject * obj3 = 0 ;
10770 PyObject * obj5 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
10776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10777 {
10778 arg2 = wxString_in_helper(obj1);
10779 if (arg2 == NULL) SWIG_fail;
10780 temp2 = True;
10781 }
10782 if (obj2) {
10783 {
10784 arg3 = wxString_in_helper(obj2);
10785 if (arg3 == NULL) SWIG_fail;
10786 temp3 = True;
10787 }
10788 }
10789 if (obj3) {
10790 {
10791 arg4 = wxString_in_helper(obj3);
10792 if (arg4 == NULL) SWIG_fail;
10793 temp4 = True;
10794 }
10795 }
10796 if (obj5) {
10797 {
10798 arg6 = &temp6;
10799 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10800 }
10801 }
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
10810 {
10811 if (temp2)
10812 delete arg2;
10813 }
10814 {
10815 if (temp3)
10816 delete arg3;
10817 }
10818 {
10819 if (temp4)
10820 delete arg4;
10821 }
10822 return resultobj;
10823 fail:
10824 {
10825 if (temp2)
10826 delete arg2;
10827 }
10828 {
10829 if (temp3)
10830 delete arg3;
10831 }
10832 {
10833 if (temp4)
10834 delete arg4;
10835 }
10836 return NULL;
10837 }
10838
10839
10840 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
10843 wxString result;
10844 PyObject * obj0 = 0 ;
10845 char *kwnames[] = {
10846 (char *) "self", NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
10850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = (arg1)->GetValue();
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 {
10859 #if wxUSE_UNICODE
10860 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10861 #else
10862 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10863 #endif
10864 }
10865 return resultobj;
10866 fail:
10867 return NULL;
10868 }
10869
10870
10871 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
10874 wxString *arg2 = 0 ;
10875 bool temp2 = False ;
10876 PyObject * obj0 = 0 ;
10877 PyObject * obj1 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self",(char *) "value", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
10883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10884 {
10885 arg2 = wxString_in_helper(obj1);
10886 if (arg2 == NULL) SWIG_fail;
10887 temp2 = True;
10888 }
10889 {
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 (arg1)->SetValue((wxString const &)*arg2);
10892
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 Py_INCREF(Py_None); resultobj = Py_None;
10897 {
10898 if (temp2)
10899 delete arg2;
10900 }
10901 return resultobj;
10902 fail:
10903 {
10904 if (temp2)
10905 delete arg2;
10906 }
10907 return NULL;
10908 }
10909
10910
10911 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
10914 int result;
10915 PyObject * obj0 = 0 ;
10916 char *kwnames[] = {
10917 (char *) "self", NULL
10918 };
10919
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
10921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 result = (int)(arg1)->ShowModal();
10925
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 resultobj = PyInt_FromLong((long)result);
10930 return resultobj;
10931 fail:
10932 return NULL;
10933 }
10934
10935
10936 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
10937 PyObject *obj;
10938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10939 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
10940 Py_INCREF(obj);
10941 return Py_BuildValue((char *)"");
10942 }
10943 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
10944 PyObject *resultobj;
10945 wxFontData *result;
10946 char *kwnames[] = {
10947 NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
10951 {
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 result = (wxFontData *)new wxFontData();
10954
10955 wxPyEndAllowThreads(__tstate);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 }
10958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
10959 return resultobj;
10960 fail:
10961 return NULL;
10962 }
10963
10964
10965 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
10966 PyObject *resultobj;
10967 wxFontData *arg1 = (wxFontData *) 0 ;
10968 PyObject * obj0 = 0 ;
10969 char *kwnames[] = {
10970 (char *) "self", NULL
10971 };
10972
10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
10974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 delete arg1;
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 Py_INCREF(Py_None); resultobj = Py_None;
10983 return resultobj;
10984 fail:
10985 return NULL;
10986 }
10987
10988
10989 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
10990 PyObject *resultobj;
10991 wxFontData *arg1 = (wxFontData *) 0 ;
10992 bool arg2 ;
10993 PyObject * obj0 = 0 ;
10994 PyObject * obj1 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self",(char *) "enable", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11001 arg2 = PyInt_AsLong(obj1) ? true : false;
11002 if (PyErr_Occurred()) SWIG_fail;
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 (arg1)->EnableEffects(arg2);
11006
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 Py_INCREF(Py_None); resultobj = Py_None;
11011 return resultobj;
11012 fail:
11013 return NULL;
11014 }
11015
11016
11017 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj;
11019 wxFontData *arg1 = (wxFontData *) 0 ;
11020 bool result;
11021 PyObject * obj0 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "self", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (bool)(arg1)->GetAllowSymbols();
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = PyInt_FromLong((long)result);
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj;
11044 wxFontData *arg1 = (wxFontData *) 0 ;
11045 wxColour result;
11046 PyObject * obj0 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 result = (arg1)->GetColour();
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 {
11061 wxColour * resultptr;
11062 resultptr = new wxColour((wxColour &) result);
11063 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11064 }
11065 return resultobj;
11066 fail:
11067 return NULL;
11068 }
11069
11070
11071 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj;
11073 wxFontData *arg1 = (wxFontData *) 0 ;
11074 wxFont result;
11075 PyObject * obj0 = 0 ;
11076 char *kwnames[] = {
11077 (char *) "self", NULL
11078 };
11079
11080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 result = (arg1)->GetChosenFont();
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 {
11090 wxFont * resultptr;
11091 resultptr = new wxFont((wxFont &) result);
11092 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11093 }
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxFontData *arg1 = (wxFontData *) 0 ;
11103 bool result;
11104 PyObject * obj0 = 0 ;
11105 char *kwnames[] = {
11106 (char *) "self", NULL
11107 };
11108
11109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 result = (bool)(arg1)->GetEnableEffects();
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 resultobj = PyInt_FromLong((long)result);
11119 return resultobj;
11120 fail:
11121 return NULL;
11122 }
11123
11124
11125 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11126 PyObject *resultobj;
11127 wxFontData *arg1 = (wxFontData *) 0 ;
11128 wxFont result;
11129 PyObject * obj0 = 0 ;
11130 char *kwnames[] = {
11131 (char *) "self", NULL
11132 };
11133
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 result = (arg1)->GetInitialFont();
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 {
11144 wxFont * resultptr;
11145 resultptr = new wxFont((wxFont &) result);
11146 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11147 }
11148 return resultobj;
11149 fail:
11150 return NULL;
11151 }
11152
11153
11154 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11155 PyObject *resultobj;
11156 wxFontData *arg1 = (wxFontData *) 0 ;
11157 bool result;
11158 PyObject * obj0 = 0 ;
11159 char *kwnames[] = {
11160 (char *) "self", NULL
11161 };
11162
11163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 result = (bool)(arg1)->GetShowHelp();
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 resultobj = PyInt_FromLong((long)result);
11173 return resultobj;
11174 fail:
11175 return NULL;
11176 }
11177
11178
11179 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj;
11181 wxFontData *arg1 = (wxFontData *) 0 ;
11182 bool arg2 ;
11183 PyObject * obj0 = 0 ;
11184 PyObject * obj1 = 0 ;
11185 char *kwnames[] = {
11186 (char *) "self",(char *) "allowSymbols", NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11191 arg2 = PyInt_AsLong(obj1) ? true : false;
11192 if (PyErr_Occurred()) SWIG_fail;
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
11195 (arg1)->SetAllowSymbols(arg2);
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 Py_INCREF(Py_None); resultobj = Py_None;
11201 return resultobj;
11202 fail:
11203 return NULL;
11204 }
11205
11206
11207 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj;
11209 wxFontData *arg1 = (wxFontData *) 0 ;
11210 wxFont *arg2 = 0 ;
11211 PyObject * obj0 = 0 ;
11212 PyObject * obj1 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self",(char *) "font", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11220 if (arg2 == NULL) {
11221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11222 }
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 (arg1)->SetChosenFont((wxFont const &)*arg2);
11226
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
11230 Py_INCREF(Py_None); resultobj = Py_None;
11231 return resultobj;
11232 fail:
11233 return NULL;
11234 }
11235
11236
11237 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj;
11239 wxFontData *arg1 = (wxFontData *) 0 ;
11240 wxColour *arg2 = 0 ;
11241 wxColour temp2 ;
11242 PyObject * obj0 = 0 ;
11243 PyObject * obj1 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "self",(char *) "colour", NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11250 {
11251 arg2 = &temp2;
11252 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11253 }
11254 {
11255 PyThreadState* __tstate = wxPyBeginAllowThreads();
11256 (arg1)->SetColour((wxColour const &)*arg2);
11257
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 Py_INCREF(Py_None); resultobj = Py_None;
11262 return resultobj;
11263 fail:
11264 return NULL;
11265 }
11266
11267
11268 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11269 PyObject *resultobj;
11270 wxFontData *arg1 = (wxFontData *) 0 ;
11271 wxFont *arg2 = 0 ;
11272 PyObject * obj0 = 0 ;
11273 PyObject * obj1 = 0 ;
11274 char *kwnames[] = {
11275 (char *) "self",(char *) "font", NULL
11276 };
11277
11278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11281 if (arg2 == NULL) {
11282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11283 }
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 (arg1)->SetInitialFont((wxFont const &)*arg2);
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 Py_INCREF(Py_None); resultobj = Py_None;
11292 return resultobj;
11293 fail:
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxFontData *arg1 = (wxFontData *) 0 ;
11301 int arg2 ;
11302 int arg3 ;
11303 PyObject * obj0 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self",(char *) "min",(char *) "max", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 (arg1)->SetRange(arg2,arg3);
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 Py_INCREF(Py_None); resultobj = Py_None;
11318 return resultobj;
11319 fail:
11320 return NULL;
11321 }
11322
11323
11324 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj;
11326 wxFontData *arg1 = (wxFontData *) 0 ;
11327 bool arg2 ;
11328 PyObject * obj0 = 0 ;
11329 PyObject * obj1 = 0 ;
11330 char *kwnames[] = {
11331 (char *) "self",(char *) "showHelp", NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11336 arg2 = PyInt_AsLong(obj1) ? true : false;
11337 if (PyErr_Occurred()) SWIG_fail;
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 (arg1)->SetShowHelp(arg2);
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 Py_INCREF(Py_None); resultobj = Py_None;
11346 return resultobj;
11347 fail:
11348 return NULL;
11349 }
11350
11351
11352 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11353 PyObject *obj;
11354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11355 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11356 Py_INCREF(obj);
11357 return Py_BuildValue((char *)"");
11358 }
11359 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj;
11361 wxWindow *arg1 = (wxWindow *) 0 ;
11362 wxFontData *arg2 = 0 ;
11363 wxFontDialog *result;
11364 PyObject * obj0 = 0 ;
11365 PyObject * obj1 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "parent",(char *) "data", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 if (arg2 == NULL) {
11374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11375 }
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj;
11392 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11393 wxFontData *result;
11394 PyObject * obj0 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "self", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 {
11404 wxFontData &_result_ref = (arg1)->GetFontData();
11405 result = (wxFontData *) &_result_ref;
11406 }
11407
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11412 return resultobj;
11413 fail:
11414 return NULL;
11415 }
11416
11417
11418 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj;
11420 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11421 int result;
11422 PyObject * obj0 = 0 ;
11423 char *kwnames[] = {
11424 (char *) "self", NULL
11425 };
11426
11427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (int)(arg1)->ShowModal();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 resultobj = PyInt_FromLong((long)result);
11437 return resultobj;
11438 fail:
11439 return NULL;
11440 }
11441
11442
11443 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11444 PyObject *obj;
11445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11446 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11447 Py_INCREF(obj);
11448 return Py_BuildValue((char *)"");
11449 }
11450 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxWindow *arg1 = (wxWindow *) 0 ;
11453 wxString *arg2 = 0 ;
11454 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11455 wxString *arg3 = (wxString *) &arg3_defvalue ;
11456 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11457 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11458 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11459 wxMessageDialog *result;
11460 bool temp2 = False ;
11461 bool temp3 = False ;
11462 wxPoint temp5 ;
11463 PyObject * obj0 = 0 ;
11464 PyObject * obj1 = 0 ;
11465 PyObject * obj2 = 0 ;
11466 PyObject * obj4 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11473 {
11474 arg2 = wxString_in_helper(obj1);
11475 if (arg2 == NULL) SWIG_fail;
11476 temp2 = True;
11477 }
11478 if (obj2) {
11479 {
11480 arg3 = wxString_in_helper(obj2);
11481 if (arg3 == NULL) SWIG_fail;
11482 temp3 = True;
11483 }
11484 }
11485 if (obj4) {
11486 {
11487 arg5 = &temp5;
11488 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11489 }
11490 }
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11494
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11499 {
11500 if (temp2)
11501 delete arg2;
11502 }
11503 {
11504 if (temp3)
11505 delete arg3;
11506 }
11507 return resultobj;
11508 fail:
11509 {
11510 if (temp2)
11511 delete arg2;
11512 }
11513 {
11514 if (temp3)
11515 delete arg3;
11516 }
11517 return NULL;
11518 }
11519
11520
11521 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11524 int result;
11525 PyObject * obj0 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (int)(arg1)->ShowModal();
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 resultobj = PyInt_FromLong((long)result);
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11547 PyObject *obj;
11548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11549 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11550 Py_INCREF(obj);
11551 return Py_BuildValue((char *)"");
11552 }
11553 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxString *arg1 = 0 ;
11556 wxString *arg2 = 0 ;
11557 int arg3 = (int) 100 ;
11558 wxWindow *arg4 = (wxWindow *) NULL ;
11559 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11560 wxProgressDialog *result;
11561 bool temp1 = False ;
11562 bool temp2 = False ;
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 PyObject * obj3 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11571 {
11572 arg1 = wxString_in_helper(obj0);
11573 if (arg1 == NULL) SWIG_fail;
11574 temp1 = True;
11575 }
11576 {
11577 arg2 = wxString_in_helper(obj1);
11578 if (arg2 == NULL) SWIG_fail;
11579 temp2 = True;
11580 }
11581 if (obj3) {
11582 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11583 }
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11587
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11592 {
11593 if (temp1)
11594 delete arg1;
11595 }
11596 {
11597 if (temp2)
11598 delete arg2;
11599 }
11600 return resultobj;
11601 fail:
11602 {
11603 if (temp1)
11604 delete arg1;
11605 }
11606 {
11607 if (temp2)
11608 delete arg2;
11609 }
11610 return NULL;
11611 }
11612
11613
11614 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj;
11616 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11617 int arg2 ;
11618 wxString const &arg3_defvalue = wxPyEmptyString ;
11619 wxString *arg3 = (wxString *) &arg3_defvalue ;
11620 bool result;
11621 bool temp3 = False ;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj2 = 0 ;
11624 char *kwnames[] = {
11625 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11626 };
11627
11628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11630 if (obj2) {
11631 {
11632 arg3 = wxString_in_helper(obj2);
11633 if (arg3 == NULL) SWIG_fail;
11634 temp3 = True;
11635 }
11636 }
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 resultobj = PyInt_FromLong((long)result);
11645 {
11646 if (temp3)
11647 delete arg3;
11648 }
11649 return resultobj;
11650 fail:
11651 {
11652 if (temp3)
11653 delete arg3;
11654 }
11655 return NULL;
11656 }
11657
11658
11659 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11660 PyObject *resultobj;
11661 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11662 PyObject * obj0 = 0 ;
11663 char *kwnames[] = {
11664 (char *) "self", NULL
11665 };
11666
11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 (arg1)->Resume();
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 Py_INCREF(Py_None); resultobj = Py_None;
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11684 PyObject *obj;
11685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11686 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
11687 Py_INCREF(obj);
11688 return Py_BuildValue((char *)"");
11689 }
11690 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11691 PyObject *resultobj;
11692 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11693 int arg2 = (int) 0 ;
11694 wxFindDialogEvent *result;
11695 char *kwnames[] = {
11696 (char *) "commandType",(char *) "id", NULL
11697 };
11698
11699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
11708 return resultobj;
11709 fail:
11710 return NULL;
11711 }
11712
11713
11714 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj;
11716 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11717 int result;
11718 PyObject * obj0 = 0 ;
11719 char *kwnames[] = {
11720 (char *) "self", NULL
11721 };
11722
11723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
11724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 result = (int)(arg1)->GetFlags();
11728
11729 wxPyEndAllowThreads(__tstate);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 resultobj = PyInt_FromLong((long)result);
11733 return resultobj;
11734 fail:
11735 return NULL;
11736 }
11737
11738
11739 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj;
11741 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11742 wxString *result;
11743 PyObject * obj0 = 0 ;
11744 char *kwnames[] = {
11745 (char *) "self", NULL
11746 };
11747
11748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
11749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 {
11753 wxString const &_result_ref = (arg1)->GetFindString();
11754 result = (wxString *) &_result_ref;
11755 }
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 {
11761 #if wxUSE_UNICODE
11762 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11763 #else
11764 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11765 #endif
11766 }
11767 return resultobj;
11768 fail:
11769 return NULL;
11770 }
11771
11772
11773 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
11774 PyObject *resultobj;
11775 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11776 wxString *result;
11777 PyObject * obj0 = 0 ;
11778 char *kwnames[] = {
11779 (char *) "self", NULL
11780 };
11781
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
11783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 {
11787 wxString const &_result_ref = (arg1)->GetReplaceString();
11788 result = (wxString *) &_result_ref;
11789 }
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 {
11795 #if wxUSE_UNICODE
11796 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11797 #else
11798 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11799 #endif
11800 }
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11808 PyObject *resultobj;
11809 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11810 wxFindReplaceDialog *result;
11811 PyObject * obj0 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
11817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
11826 return resultobj;
11827 fail:
11828 return NULL;
11829 }
11830
11831
11832 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj;
11834 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11835 int arg2 ;
11836 PyObject * obj0 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "self",(char *) "flags", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 (arg1)->SetFlags(arg2);
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 Py_INCREF(Py_None); resultobj = Py_None;
11851 return resultobj;
11852 fail:
11853 return NULL;
11854 }
11855
11856
11857 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj;
11859 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11860 wxString *arg2 = 0 ;
11861 bool temp2 = False ;
11862 PyObject * obj0 = 0 ;
11863 PyObject * obj1 = 0 ;
11864 char *kwnames[] = {
11865 (char *) "self",(char *) "str", NULL
11866 };
11867
11868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
11869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11870 {
11871 arg2 = wxString_in_helper(obj1);
11872 if (arg2 == NULL) SWIG_fail;
11873 temp2 = True;
11874 }
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 (arg1)->SetFindString((wxString const &)*arg2);
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 Py_INCREF(Py_None); resultobj = Py_None;
11883 {
11884 if (temp2)
11885 delete arg2;
11886 }
11887 return resultobj;
11888 fail:
11889 {
11890 if (temp2)
11891 delete arg2;
11892 }
11893 return NULL;
11894 }
11895
11896
11897 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
11898 PyObject *resultobj;
11899 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11900 wxString *arg2 = 0 ;
11901 bool temp2 = False ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self",(char *) "str", NULL
11906 };
11907
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
11909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11910 {
11911 arg2 = wxString_in_helper(obj1);
11912 if (arg2 == NULL) SWIG_fail;
11913 temp2 = True;
11914 }
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 (arg1)->SetReplaceString((wxString const &)*arg2);
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 Py_INCREF(Py_None); resultobj = Py_None;
11923 {
11924 if (temp2)
11925 delete arg2;
11926 }
11927 return resultobj;
11928 fail:
11929 {
11930 if (temp2)
11931 delete arg2;
11932 }
11933 return NULL;
11934 }
11935
11936
11937 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
11938 PyObject *obj;
11939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11940 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
11941 Py_INCREF(obj);
11942 return Py_BuildValue((char *)"");
11943 }
11944 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
11945 PyObject *resultobj;
11946 int arg1 = (int) 0 ;
11947 wxFindReplaceData *result;
11948 char *kwnames[] = {
11949 (char *) "flags", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
11961 return resultobj;
11962 fail:
11963 return NULL;
11964 }
11965
11966
11967 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
11968 PyObject *resultobj;
11969 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
11970 PyObject * obj0 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 delete arg1;
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 Py_INCREF(Py_None); resultobj = Py_None;
11985 return resultobj;
11986 fail:
11987 return NULL;
11988 }
11989
11990
11991 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj;
11993 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
11994 wxString *result;
11995 PyObject * obj0 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 {
12005 wxString const &_result_ref = (arg1)->GetFindString();
12006 result = (wxString *) &_result_ref;
12007 }
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 {
12013 #if wxUSE_UNICODE
12014 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12015 #else
12016 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12017 #endif
12018 }
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12028 wxString *result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 {
12039 wxString const &_result_ref = (arg1)->GetReplaceString();
12040 result = (wxString *) &_result_ref;
12041 }
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 {
12047 #if wxUSE_UNICODE
12048 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12049 #else
12050 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12051 #endif
12052 }
12053 return resultobj;
12054 fail:
12055 return NULL;
12056 }
12057
12058
12059 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12060 PyObject *resultobj;
12061 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12062 int result;
12063 PyObject * obj0 = 0 ;
12064 char *kwnames[] = {
12065 (char *) "self", NULL
12066 };
12067
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (int)(arg1)->GetFlags();
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 resultobj = PyInt_FromLong((long)result);
12078 return resultobj;
12079 fail:
12080 return NULL;
12081 }
12082
12083
12084 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12085 PyObject *resultobj;
12086 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12087 int arg2 ;
12088 PyObject * obj0 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "self",(char *) "flags", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 (arg1)->SetFlags(arg2);
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 Py_INCREF(Py_None); resultobj = Py_None;
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12112 wxString *arg2 = 0 ;
12113 bool temp2 = False ;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "str", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12122 {
12123 arg2 = wxString_in_helper(obj1);
12124 if (arg2 == NULL) SWIG_fail;
12125 temp2 = True;
12126 }
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 (arg1)->SetFindString((wxString const &)*arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 Py_INCREF(Py_None); resultobj = Py_None;
12135 {
12136 if (temp2)
12137 delete arg2;
12138 }
12139 return resultobj;
12140 fail:
12141 {
12142 if (temp2)
12143 delete arg2;
12144 }
12145 return NULL;
12146 }
12147
12148
12149 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12150 PyObject *resultobj;
12151 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12152 wxString *arg2 = 0 ;
12153 bool temp2 = False ;
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
12156 char *kwnames[] = {
12157 (char *) "self",(char *) "str", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12162 {
12163 arg2 = wxString_in_helper(obj1);
12164 if (arg2 == NULL) SWIG_fail;
12165 temp2 = True;
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 (arg1)->SetReplaceString((wxString const &)*arg2);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 Py_INCREF(Py_None); resultobj = Py_None;
12175 {
12176 if (temp2)
12177 delete arg2;
12178 }
12179 return resultobj;
12180 fail:
12181 {
12182 if (temp2)
12183 delete arg2;
12184 }
12185 return NULL;
12186 }
12187
12188
12189 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12190 PyObject *obj;
12191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12192 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12193 Py_INCREF(obj);
12194 return Py_BuildValue((char *)"");
12195 }
12196 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxWindow *arg1 = (wxWindow *) 0 ;
12199 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12200 wxString *arg3 = 0 ;
12201 int arg4 = (int) 0 ;
12202 wxFindReplaceDialog *result;
12203 bool temp3 = False ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 PyObject * obj2 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12214 {
12215 arg3 = wxString_in_helper(obj2);
12216 if (arg3 == NULL) SWIG_fail;
12217 temp3 = True;
12218 }
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12222
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12227 {
12228 if (temp3)
12229 delete arg3;
12230 }
12231 return resultobj;
12232 fail:
12233 {
12234 if (temp3)
12235 delete arg3;
12236 }
12237 return NULL;
12238 }
12239
12240
12241 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12242 PyObject *resultobj;
12243 wxFindReplaceDialog *result;
12244 char *kwnames[] = {
12245 NULL
12246 };
12247
12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj;
12265 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12266 wxWindow *arg2 = (wxWindow *) 0 ;
12267 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12268 wxString *arg4 = 0 ;
12269 int arg5 = (int) 0 ;
12270 bool result;
12271 bool temp4 = False ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 PyObject * obj2 = 0 ;
12275 PyObject * obj3 = 0 ;
12276 char *kwnames[] = {
12277 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12278 };
12279
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12283 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12284 {
12285 arg4 = wxString_in_helper(obj3);
12286 if (arg4 == NULL) SWIG_fail;
12287 temp4 = True;
12288 }
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 resultobj = PyInt_FromLong((long)result);
12297 {
12298 if (temp4)
12299 delete arg4;
12300 }
12301 return resultobj;
12302 fail:
12303 {
12304 if (temp4)
12305 delete arg4;
12306 }
12307 return NULL;
12308 }
12309
12310
12311 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj;
12313 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12314 wxFindReplaceData *result;
12315 PyObject * obj0 = 0 ;
12316 char *kwnames[] = {
12317 (char *) "self", NULL
12318 };
12319
12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 result = (wxFindReplaceData *)(arg1)->GetData();
12325
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12330 return resultobj;
12331 fail:
12332 return NULL;
12333 }
12334
12335
12336 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12337 PyObject *resultobj;
12338 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12339 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12340 PyObject * obj0 = 0 ;
12341 PyObject * obj1 = 0 ;
12342 char *kwnames[] = {
12343 (char *) "self",(char *) "data", NULL
12344 };
12345
12346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 (arg1)->SetData(arg2);
12352
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 Py_INCREF(Py_None); resultobj = Py_None;
12357 return resultobj;
12358 fail:
12359 return NULL;
12360 }
12361
12362
12363 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12364 PyObject *obj;
12365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12366 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12367 Py_INCREF(obj);
12368 return Py_BuildValue((char *)"");
12369 }
12370 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12371 PyObject *resultobj;
12372 wxWindow *arg1 = (wxWindow *) 0 ;
12373 int arg2 ;
12374 wxString *arg3 = 0 ;
12375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12377 wxSize const &arg5_defvalue = wxDefaultSize ;
12378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12379 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12380 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12381 wxString *arg7 = (wxString *) &arg7_defvalue ;
12382 wxMDIParentFrame *result;
12383 bool temp3 = False ;
12384 wxPoint temp4 ;
12385 wxSize temp5 ;
12386 bool temp7 = False ;
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj2 = 0 ;
12389 PyObject * obj3 = 0 ;
12390 PyObject * obj4 = 0 ;
12391 PyObject * obj6 = 0 ;
12392 char *kwnames[] = {
12393 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12394 };
12395
12396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12398 {
12399 arg3 = wxString_in_helper(obj2);
12400 if (arg3 == NULL) SWIG_fail;
12401 temp3 = True;
12402 }
12403 if (obj3) {
12404 {
12405 arg4 = &temp4;
12406 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12407 }
12408 }
12409 if (obj4) {
12410 {
12411 arg5 = &temp5;
12412 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12413 }
12414 }
12415 if (obj6) {
12416 {
12417 arg7 = wxString_in_helper(obj6);
12418 if (arg7 == NULL) SWIG_fail;
12419 temp7 = True;
12420 }
12421 }
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12430 {
12431 if (temp3)
12432 delete arg3;
12433 }
12434 {
12435 if (temp7)
12436 delete arg7;
12437 }
12438 return resultobj;
12439 fail:
12440 {
12441 if (temp3)
12442 delete arg3;
12443 }
12444 {
12445 if (temp7)
12446 delete arg7;
12447 }
12448 return NULL;
12449 }
12450
12451
12452 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12453 PyObject *resultobj;
12454 wxMDIParentFrame *result;
12455 char *kwnames[] = {
12456 NULL
12457 };
12458
12459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12468 return resultobj;
12469 fail:
12470 return NULL;
12471 }
12472
12473
12474 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12475 PyObject *resultobj;
12476 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12477 wxWindow *arg2 = (wxWindow *) 0 ;
12478 int arg3 ;
12479 wxString *arg4 = 0 ;
12480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12482 wxSize const &arg6_defvalue = wxDefaultSize ;
12483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12484 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12485 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12486 wxString *arg8 = (wxString *) &arg8_defvalue ;
12487 bool result;
12488 bool temp4 = False ;
12489 wxPoint temp5 ;
12490 wxSize temp6 ;
12491 bool temp8 = False ;
12492 PyObject * obj0 = 0 ;
12493 PyObject * obj1 = 0 ;
12494 PyObject * obj3 = 0 ;
12495 PyObject * obj4 = 0 ;
12496 PyObject * obj5 = 0 ;
12497 PyObject * obj7 = 0 ;
12498 char *kwnames[] = {
12499 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12500 };
12501
12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12505 {
12506 arg4 = wxString_in_helper(obj3);
12507 if (arg4 == NULL) SWIG_fail;
12508 temp4 = True;
12509 }
12510 if (obj4) {
12511 {
12512 arg5 = &temp5;
12513 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12514 }
12515 }
12516 if (obj5) {
12517 {
12518 arg6 = &temp6;
12519 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12520 }
12521 }
12522 if (obj7) {
12523 {
12524 arg8 = wxString_in_helper(obj7);
12525 if (arg8 == NULL) SWIG_fail;
12526 temp8 = True;
12527 }
12528 }
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12532
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 resultobj = PyInt_FromLong((long)result);
12537 {
12538 if (temp4)
12539 delete arg4;
12540 }
12541 {
12542 if (temp8)
12543 delete arg8;
12544 }
12545 return resultobj;
12546 fail:
12547 {
12548 if (temp4)
12549 delete arg4;
12550 }
12551 {
12552 if (temp8)
12553 delete arg8;
12554 }
12555 return NULL;
12556 }
12557
12558
12559 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12562 PyObject * obj0 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 (arg1)->ActivateNext();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 Py_INCREF(Py_None); resultobj = Py_None;
12577 return resultobj;
12578 fail:
12579 return NULL;
12580 }
12581
12582
12583 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12586 PyObject * obj0 = 0 ;
12587 char *kwnames[] = {
12588 (char *) "self", NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 (arg1)->ActivatePrevious();
12596
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 Py_INCREF(Py_None); resultobj = Py_None;
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12610 PyObject * obj0 = 0 ;
12611 char *kwnames[] = {
12612 (char *) "self", NULL
12613 };
12614
12615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12617 {
12618 PyThreadState* __tstate = wxPyBeginAllowThreads();
12619 (arg1)->ArrangeIcons();
12620
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 Py_INCREF(Py_None); resultobj = Py_None;
12625 return resultobj;
12626 fail:
12627 return NULL;
12628 }
12629
12630
12631 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12632 PyObject *resultobj;
12633 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12634 PyObject * obj0 = 0 ;
12635 char *kwnames[] = {
12636 (char *) "self", NULL
12637 };
12638
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 (arg1)->Cascade();
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 Py_INCREF(Py_None); resultobj = Py_None;
12649 return resultobj;
12650 fail:
12651 return NULL;
12652 }
12653
12654
12655 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj;
12657 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12658 wxMDIChildFrame *result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12666 {
12667 PyThreadState* __tstate = wxPyBeginAllowThreads();
12668 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 {
12674 resultobj = wxPyMake_wxObject(result);
12675 }
12676 return resultobj;
12677 fail:
12678 return NULL;
12679 }
12680
12681
12682 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12683 PyObject *resultobj;
12684 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12685 wxMDIClientWindow *result;
12686 PyObject * obj0 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "self", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
12692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 {
12701 resultobj = wxPyMake_wxObject(result);
12702 }
12703 return resultobj;
12704 fail:
12705 return NULL;
12706 }
12707
12708
12709 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12710 PyObject *resultobj;
12711 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12712 wxWindow *result;
12713 PyObject * obj0 = 0 ;
12714 char *kwnames[] = {
12715 (char *) "self", NULL
12716 };
12717
12718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
12719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (wxWindow *)(arg1)->GetToolBar();
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 {
12728 resultobj = wxPyMake_wxObject(result);
12729 }
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
12745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 (arg1)->Tile();
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 Py_INCREF(Py_None); resultobj = Py_None;
12754 return resultobj;
12755 fail:
12756 return NULL;
12757 }
12758
12759
12760 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
12761 PyObject *obj;
12762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12763 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
12764 Py_INCREF(obj);
12765 return Py_BuildValue((char *)"");
12766 }
12767 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj;
12769 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12770 int arg2 ;
12771 wxString *arg3 = 0 ;
12772 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12773 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12774 wxSize const &arg5_defvalue = wxDefaultSize ;
12775 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12776 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
12777 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12778 wxString *arg7 = (wxString *) &arg7_defvalue ;
12779 wxMDIChildFrame *result;
12780 bool temp3 = False ;
12781 wxPoint temp4 ;
12782 wxSize temp5 ;
12783 bool temp7 = False ;
12784 PyObject * obj0 = 0 ;
12785 PyObject * obj2 = 0 ;
12786 PyObject * obj3 = 0 ;
12787 PyObject * obj4 = 0 ;
12788 PyObject * obj6 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12795 {
12796 arg3 = wxString_in_helper(obj2);
12797 if (arg3 == NULL) SWIG_fail;
12798 temp3 = True;
12799 }
12800 if (obj3) {
12801 {
12802 arg4 = &temp4;
12803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12804 }
12805 }
12806 if (obj4) {
12807 {
12808 arg5 = &temp5;
12809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12810 }
12811 }
12812 if (obj6) {
12813 {
12814 arg7 = wxString_in_helper(obj6);
12815 if (arg7 == NULL) SWIG_fail;
12816 temp7 = True;
12817 }
12818 }
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 {
12827 resultobj = wxPyMake_wxObject(result);
12828 }
12829 {
12830 if (temp3)
12831 delete arg3;
12832 }
12833 {
12834 if (temp7)
12835 delete arg7;
12836 }
12837 return resultobj;
12838 fail:
12839 {
12840 if (temp3)
12841 delete arg3;
12842 }
12843 {
12844 if (temp7)
12845 delete arg7;
12846 }
12847 return NULL;
12848 }
12849
12850
12851 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj;
12853 wxMDIChildFrame *result;
12854 char *kwnames[] = {
12855 NULL
12856 };
12857
12858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = (wxMDIChildFrame *)new wxMDIChildFrame();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 {
12867 resultobj = wxPyMake_wxObject(result);
12868 }
12869 return resultobj;
12870 fail:
12871 return NULL;
12872 }
12873
12874
12875 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12876 PyObject *resultobj;
12877 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
12878 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12879 int arg3 ;
12880 wxString *arg4 = 0 ;
12881 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12882 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12883 wxSize const &arg6_defvalue = wxDefaultSize ;
12884 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12885 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
12886 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12887 wxString *arg8 = (wxString *) &arg8_defvalue ;
12888 bool result;
12889 bool temp4 = False ;
12890 wxPoint temp5 ;
12891 wxSize temp6 ;
12892 bool temp8 = False ;
12893 PyObject * obj0 = 0 ;
12894 PyObject * obj1 = 0 ;
12895 PyObject * obj3 = 0 ;
12896 PyObject * obj4 = 0 ;
12897 PyObject * obj5 = 0 ;
12898 PyObject * obj7 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12906 {
12907 arg4 = wxString_in_helper(obj3);
12908 if (arg4 == NULL) SWIG_fail;
12909 temp4 = True;
12910 }
12911 if (obj4) {
12912 {
12913 arg5 = &temp5;
12914 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12915 }
12916 }
12917 if (obj5) {
12918 {
12919 arg6 = &temp6;
12920 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12921 }
12922 }
12923 if (obj7) {
12924 {
12925 arg8 = wxString_in_helper(obj7);
12926 if (arg8 == NULL) SWIG_fail;
12927 temp8 = True;
12928 }
12929 }
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = PyInt_FromLong((long)result);
12938 {
12939 if (temp4)
12940 delete arg4;
12941 }
12942 {
12943 if (temp8)
12944 delete arg8;
12945 }
12946 return resultobj;
12947 fail:
12948 {
12949 if (temp4)
12950 delete arg4;
12951 }
12952 {
12953 if (temp8)
12954 delete arg8;
12955 }
12956 return NULL;
12957 }
12958
12959
12960 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj;
12962 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
12963 PyObject * obj0 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
12969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 (arg1)->Activate();
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 Py_INCREF(Py_None); resultobj = Py_None;
12978 return resultobj;
12979 fail:
12980 return NULL;
12981 }
12982
12983
12984 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
12987 bool arg2 ;
12988 PyObject * obj0 = 0 ;
12989 PyObject * obj1 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self",(char *) "maximize", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
12995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12996 arg2 = PyInt_AsLong(obj1) ? true : false;
12997 if (PyErr_Occurred()) SWIG_fail;
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
13000 (arg1)->Maximize(arg2);
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 Py_INCREF(Py_None); resultobj = Py_None;
13006 return resultobj;
13007 fail:
13008 return NULL;
13009 }
13010
13011
13012 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj;
13014 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13015 PyObject * obj0 = 0 ;
13016 char *kwnames[] = {
13017 (char *) "self", NULL
13018 };
13019
13020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13022 {
13023 PyThreadState* __tstate = wxPyBeginAllowThreads();
13024 (arg1)->Restore();
13025
13026 wxPyEndAllowThreads(__tstate);
13027 if (PyErr_Occurred()) SWIG_fail;
13028 }
13029 Py_INCREF(Py_None); resultobj = Py_None;
13030 return resultobj;
13031 fail:
13032 return NULL;
13033 }
13034
13035
13036 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13037 PyObject *obj;
13038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13039 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13040 Py_INCREF(obj);
13041 return Py_BuildValue((char *)"");
13042 }
13043 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj;
13045 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13046 long arg2 = (long) 0 ;
13047 wxMDIClientWindow *result;
13048 PyObject * obj0 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "parent",(char *) "style", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 {
13063 resultobj = wxPyMake_wxObject(result);
13064 }
13065 return resultobj;
13066 fail:
13067 return NULL;
13068 }
13069
13070
13071 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13072 PyObject *resultobj;
13073 wxMDIClientWindow *result;
13074 char *kwnames[] = {
13075 NULL
13076 };
13077
13078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13082
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 }
13086 {
13087 resultobj = wxPyMake_wxObject(result);
13088 }
13089 return resultobj;
13090 fail:
13091 return NULL;
13092 }
13093
13094
13095 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13096 PyObject *resultobj;
13097 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13098 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13099 long arg3 = (long) 0 ;
13100 bool result;
13101 PyObject * obj0 = 0 ;
13102 PyObject * obj1 = 0 ;
13103 char *kwnames[] = {
13104 (char *) "self",(char *) "parent",(char *) "style", NULL
13105 };
13106
13107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (bool)(arg1)->Create(arg2,arg3);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 resultobj = PyInt_FromLong((long)result);
13118 return resultobj;
13119 fail:
13120 return NULL;
13121 }
13122
13123
13124 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13125 PyObject *obj;
13126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13127 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13128 Py_INCREF(obj);
13129 return Py_BuildValue((char *)"");
13130 }
13131 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13132 PyObject *resultobj;
13133 wxWindow *arg1 = (wxWindow *) 0 ;
13134 int arg2 ;
13135 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13136 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13137 wxSize const &arg4_defvalue = wxDefaultSize ;
13138 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13139 long arg5 = (long) 0 ;
13140 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13141 wxString *arg6 = (wxString *) &arg6_defvalue ;
13142 wxPyWindow *result;
13143 wxPoint temp3 ;
13144 wxSize temp4 ;
13145 bool temp6 = False ;
13146 PyObject * obj0 = 0 ;
13147 PyObject * obj2 = 0 ;
13148 PyObject * obj3 = 0 ;
13149 PyObject * obj5 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13156 if (obj2) {
13157 {
13158 arg3 = &temp3;
13159 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13160 }
13161 }
13162 if (obj3) {
13163 {
13164 arg4 = &temp4;
13165 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13166 }
13167 }
13168 if (obj5) {
13169 {
13170 arg6 = wxString_in_helper(obj5);
13171 if (arg6 == NULL) SWIG_fail;
13172 temp6 = True;
13173 }
13174 }
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13178
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13183 {
13184 if (temp6)
13185 delete arg6;
13186 }
13187 return resultobj;
13188 fail:
13189 {
13190 if (temp6)
13191 delete arg6;
13192 }
13193 return NULL;
13194 }
13195
13196
13197 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13198 PyObject *resultobj;
13199 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13200 PyObject *arg2 = (PyObject *) 0 ;
13201 PyObject *arg3 = (PyObject *) 0 ;
13202 PyObject * obj0 = 0 ;
13203 PyObject * obj1 = 0 ;
13204 PyObject * obj2 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self",(char *) "self",(char *) "_class", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13211 arg2 = obj1;
13212 arg3 = obj2;
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 (arg1)->_setCallbackInfo(arg2,arg3);
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 Py_INCREF(Py_None); resultobj = Py_None;
13221 return resultobj;
13222 fail:
13223 return NULL;
13224 }
13225
13226
13227 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13230 int arg2 ;
13231 int arg3 ;
13232 int arg4 ;
13233 int arg5 ;
13234 PyObject * obj0 = 0 ;
13235 char *kwnames[] = {
13236 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13237 };
13238
13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 Py_INCREF(Py_None); resultobj = Py_None;
13249 return resultobj;
13250 fail:
13251 return NULL;
13252 }
13253
13254
13255 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13256 PyObject *resultobj;
13257 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13258 int arg2 ;
13259 int arg3 ;
13260 int arg4 ;
13261 int arg5 ;
13262 int arg6 = (int) wxSIZE_AUTO ;
13263 PyObject * obj0 = 0 ;
13264 char *kwnames[] = {
13265 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13266 };
13267
13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 Py_INCREF(Py_None); resultobj = Py_None;
13278 return resultobj;
13279 fail:
13280 return NULL;
13281 }
13282
13283
13284 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13285 PyObject *resultobj;
13286 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13287 int arg2 ;
13288 int arg3 ;
13289 PyObject * obj0 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self",(char *) "width",(char *) "height", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 (arg1)->base_DoSetClientSize(arg2,arg3);
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 Py_INCREF(Py_None); resultobj = Py_None;
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13313 int arg2 ;
13314 int arg3 ;
13315 PyObject * obj0 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self",(char *) "x",(char *) "y", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 Py_INCREF(Py_None); resultobj = Py_None;
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13339 int *arg2 = (int *) 0 ;
13340 int *arg3 = (int *) 0 ;
13341 int temp2 ;
13342 int temp3 ;
13343 PyObject * obj0 = 0 ;
13344 char *kwnames[] = {
13345 (char *) "self", NULL
13346 };
13347
13348 arg2 = &temp2;
13349 arg3 = &temp3;
13350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13352 {
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13355
13356 wxPyEndAllowThreads(__tstate);
13357 if (PyErr_Occurred()) SWIG_fail;
13358 }
13359 Py_INCREF(Py_None); resultobj = Py_None;
13360 {
13361 PyObject *o = PyInt_FromLong((long) (*arg2));
13362 resultobj = t_output_helper(resultobj,o);
13363 }
13364 {
13365 PyObject *o = PyInt_FromLong((long) (*arg3));
13366 resultobj = t_output_helper(resultobj,o);
13367 }
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13377 int *arg2 = (int *) 0 ;
13378 int *arg3 = (int *) 0 ;
13379 int temp2 ;
13380 int temp3 ;
13381 PyObject * obj0 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "self", NULL
13384 };
13385
13386 arg2 = &temp2;
13387 arg3 = &temp3;
13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13393
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 Py_INCREF(Py_None); resultobj = Py_None;
13398 {
13399 PyObject *o = PyInt_FromLong((long) (*arg2));
13400 resultobj = t_output_helper(resultobj,o);
13401 }
13402 {
13403 PyObject *o = PyInt_FromLong((long) (*arg3));
13404 resultobj = t_output_helper(resultobj,o);
13405 }
13406 return resultobj;
13407 fail:
13408 return NULL;
13409 }
13410
13411
13412 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13413 PyObject *resultobj;
13414 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13415 int *arg2 = (int *) 0 ;
13416 int *arg3 = (int *) 0 ;
13417 int temp2 ;
13418 int temp3 ;
13419 PyObject * obj0 = 0 ;
13420 char *kwnames[] = {
13421 (char *) "self", NULL
13422 };
13423
13424 arg2 = &temp2;
13425 arg3 = &temp3;
13426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13428 {
13429 PyThreadState* __tstate = wxPyBeginAllowThreads();
13430 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13431
13432 wxPyEndAllowThreads(__tstate);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 Py_INCREF(Py_None); resultobj = Py_None;
13436 {
13437 PyObject *o = PyInt_FromLong((long) (*arg2));
13438 resultobj = t_output_helper(resultobj,o);
13439 }
13440 {
13441 PyObject *o = PyInt_FromLong((long) (*arg3));
13442 resultobj = t_output_helper(resultobj,o);
13443 }
13444 return resultobj;
13445 fail:
13446 return NULL;
13447 }
13448
13449
13450 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13451 PyObject *resultobj;
13452 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13453 wxSize result;
13454 PyObject * obj0 = 0 ;
13455 char *kwnames[] = {
13456 (char *) "self", NULL
13457 };
13458
13459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13461 {
13462 PyThreadState* __tstate = wxPyBeginAllowThreads();
13463 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13464
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 {
13469 wxSize * resultptr;
13470 resultptr = new wxSize((wxSize &) result);
13471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13472 }
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13482 wxSize result;
13483 PyObject * obj0 = 0 ;
13484 char *kwnames[] = {
13485 (char *) "self", NULL
13486 };
13487
13488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13490 {
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13493
13494 wxPyEndAllowThreads(__tstate);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
13497 {
13498 wxSize * resultptr;
13499 resultptr = new wxSize((wxSize &) result);
13500 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13501 }
13502 return resultobj;
13503 fail:
13504 return NULL;
13505 }
13506
13507
13508 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13509 PyObject *resultobj;
13510 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13511 PyObject * obj0 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "self", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 (arg1)->base_InitDialog();
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 Py_INCREF(Py_None); resultobj = Py_None;
13526 return resultobj;
13527 fail:
13528 return NULL;
13529 }
13530
13531
13532 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13535 bool result;
13536 PyObject * obj0 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 result = (bool)(arg1)->base_TransferDataToWindow();
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 resultobj = PyInt_FromLong((long)result);
13551 return resultobj;
13552 fail:
13553 return NULL;
13554 }
13555
13556
13557 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13558 PyObject *resultobj;
13559 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13560 bool result;
13561 PyObject * obj0 = 0 ;
13562 char *kwnames[] = {
13563 (char *) "self", NULL
13564 };
13565
13566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (bool)(arg1)->base_TransferDataFromWindow();
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 resultobj = PyInt_FromLong((long)result);
13576 return resultobj;
13577 fail:
13578 return NULL;
13579 }
13580
13581
13582 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj;
13584 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13585 bool result;
13586 PyObject * obj0 = 0 ;
13587 char *kwnames[] = {
13588 (char *) "self", NULL
13589 };
13590
13591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13593 {
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 result = (bool)(arg1)->base_Validate();
13596
13597 wxPyEndAllowThreads(__tstate);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 resultobj = PyInt_FromLong((long)result);
13601 return resultobj;
13602 fail:
13603 return NULL;
13604 }
13605
13606
13607 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13608 PyObject *resultobj;
13609 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13610 bool result;
13611 PyObject * obj0 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13621
13622 wxPyEndAllowThreads(__tstate);
13623 if (PyErr_Occurred()) SWIG_fail;
13624 }
13625 resultobj = PyInt_FromLong((long)result);
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13635 bool result;
13636 PyObject * obj0 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 resultobj = PyInt_FromLong((long)result);
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13660 wxSize result;
13661 PyObject * obj0 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 {
13676 wxSize * resultptr;
13677 resultptr = new wxSize((wxSize &) result);
13678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13679 }
13680 return resultobj;
13681 fail:
13682 return NULL;
13683 }
13684
13685
13686 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13687 PyObject *resultobj;
13688 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13689 wxWindow *arg2 = (wxWindow *) 0 ;
13690 PyObject * obj0 = 0 ;
13691 PyObject * obj1 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self",(char *) "child", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
13697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 (arg1)->base_AddChild(arg2);
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 Py_INCREF(Py_None); resultobj = Py_None;
13707 return resultobj;
13708 fail:
13709 return NULL;
13710 }
13711
13712
13713 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj;
13715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13716 wxWindow *arg2 = (wxWindow *) 0 ;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "child", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
13724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->base_RemoveChild(arg2);
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 return resultobj;
13735 fail:
13736 return NULL;
13737 }
13738
13739
13740 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
13741 PyObject *obj;
13742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13743 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
13744 Py_INCREF(obj);
13745 return Py_BuildValue((char *)"");
13746 }
13747 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj;
13749 wxWindow *arg1 = (wxWindow *) 0 ;
13750 int arg2 ;
13751 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13752 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13753 wxSize const &arg4_defvalue = wxDefaultSize ;
13754 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13755 long arg5 = (long) 0 ;
13756 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13757 wxString *arg6 = (wxString *) &arg6_defvalue ;
13758 wxPyPanel *result;
13759 wxPoint temp3 ;
13760 wxSize temp4 ;
13761 bool temp6 = False ;
13762 PyObject * obj0 = 0 ;
13763 PyObject * obj2 = 0 ;
13764 PyObject * obj3 = 0 ;
13765 PyObject * obj5 = 0 ;
13766 char *kwnames[] = {
13767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13768 };
13769
13770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13772 if (obj2) {
13773 {
13774 arg3 = &temp3;
13775 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13776 }
13777 }
13778 if (obj3) {
13779 {
13780 arg4 = &temp4;
13781 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13782 }
13783 }
13784 if (obj5) {
13785 {
13786 arg6 = wxString_in_helper(obj5);
13787 if (arg6 == NULL) SWIG_fail;
13788 temp6 = True;
13789 }
13790 }
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
13799 {
13800 if (temp6)
13801 delete arg6;
13802 }
13803 return resultobj;
13804 fail:
13805 {
13806 if (temp6)
13807 delete arg6;
13808 }
13809 return NULL;
13810 }
13811
13812
13813 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj;
13815 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13816 PyObject *arg2 = (PyObject *) 0 ;
13817 PyObject *arg3 = (PyObject *) 0 ;
13818 PyObject * obj0 = 0 ;
13819 PyObject * obj1 = 0 ;
13820 PyObject * obj2 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "self",(char *) "self",(char *) "_class", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13827 arg2 = obj1;
13828 arg3 = obj2;
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 (arg1)->_setCallbackInfo(arg2,arg3);
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 Py_INCREF(Py_None); resultobj = Py_None;
13837 return resultobj;
13838 fail:
13839 return NULL;
13840 }
13841
13842
13843 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj;
13845 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13846 int arg2 ;
13847 int arg3 ;
13848 int arg4 ;
13849 int arg5 ;
13850 PyObject * obj0 = 0 ;
13851 char *kwnames[] = {
13852 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13853 };
13854
13855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 Py_INCREF(Py_None); resultobj = Py_None;
13865 return resultobj;
13866 fail:
13867 return NULL;
13868 }
13869
13870
13871 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13872 PyObject *resultobj;
13873 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13874 int arg2 ;
13875 int arg3 ;
13876 int arg4 ;
13877 int arg5 ;
13878 int arg6 = (int) wxSIZE_AUTO ;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 Py_INCREF(Py_None); resultobj = Py_None;
13894 return resultobj;
13895 fail:
13896 return NULL;
13897 }
13898
13899
13900 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13903 int arg2 ;
13904 int arg3 ;
13905 PyObject * obj0 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self",(char *) "width",(char *) "height", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 (arg1)->base_DoSetClientSize(arg2,arg3);
13915
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 Py_INCREF(Py_None); resultobj = Py_None;
13920 return resultobj;
13921 fail:
13922 return NULL;
13923 }
13924
13925
13926 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13927 PyObject *resultobj;
13928 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13929 int arg2 ;
13930 int arg3 ;
13931 PyObject * obj0 = 0 ;
13932 char *kwnames[] = {
13933 (char *) "self",(char *) "x",(char *) "y", NULL
13934 };
13935
13936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13941
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 Py_INCREF(Py_None); resultobj = Py_None;
13946 return resultobj;
13947 fail:
13948 return NULL;
13949 }
13950
13951
13952 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13955 int *arg2 = (int *) 0 ;
13956 int *arg3 = (int *) 0 ;
13957 int temp2 ;
13958 int temp3 ;
13959 PyObject * obj0 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self", NULL
13962 };
13963
13964 arg2 = &temp2;
13965 arg3 = &temp3;
13966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
13967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 Py_INCREF(Py_None); resultobj = Py_None;
13976 {
13977 PyObject *o = PyInt_FromLong((long) (*arg2));
13978 resultobj = t_output_helper(resultobj,o);
13979 }
13980 {
13981 PyObject *o = PyInt_FromLong((long) (*arg3));
13982 resultobj = t_output_helper(resultobj,o);
13983 }
13984 return resultobj;
13985 fail:
13986 return NULL;
13987 }
13988
13989
13990 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
13993 int *arg2 = (int *) 0 ;
13994 int *arg3 = (int *) 0 ;
13995 int temp2 ;
13996 int temp3 ;
13997 PyObject * obj0 = 0 ;
13998 char *kwnames[] = {
13999 (char *) "self", NULL
14000 };
14001
14002 arg2 = &temp2;
14003 arg3 = &temp3;
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14009
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
14013 Py_INCREF(Py_None); resultobj = Py_None;
14014 {
14015 PyObject *o = PyInt_FromLong((long) (*arg2));
14016 resultobj = t_output_helper(resultobj,o);
14017 }
14018 {
14019 PyObject *o = PyInt_FromLong((long) (*arg3));
14020 resultobj = t_output_helper(resultobj,o);
14021 }
14022 return resultobj;
14023 fail:
14024 return NULL;
14025 }
14026
14027
14028 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14029 PyObject *resultobj;
14030 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14031 int *arg2 = (int *) 0 ;
14032 int *arg3 = (int *) 0 ;
14033 int temp2 ;
14034 int temp3 ;
14035 PyObject * obj0 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self", NULL
14038 };
14039
14040 arg2 = &temp2;
14041 arg3 = &temp3;
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 Py_INCREF(Py_None); resultobj = Py_None;
14052 {
14053 PyObject *o = PyInt_FromLong((long) (*arg2));
14054 resultobj = t_output_helper(resultobj,o);
14055 }
14056 {
14057 PyObject *o = PyInt_FromLong((long) (*arg3));
14058 resultobj = t_output_helper(resultobj,o);
14059 }
14060 return resultobj;
14061 fail:
14062 return NULL;
14063 }
14064
14065
14066 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14067 PyObject *resultobj;
14068 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14069 wxSize result;
14070 PyObject * obj0 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14077 {
14078 PyThreadState* __tstate = wxPyBeginAllowThreads();
14079 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14080
14081 wxPyEndAllowThreads(__tstate);
14082 if (PyErr_Occurred()) SWIG_fail;
14083 }
14084 {
14085 wxSize * resultptr;
14086 resultptr = new wxSize((wxSize &) result);
14087 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14088 }
14089 return resultobj;
14090 fail:
14091 return NULL;
14092 }
14093
14094
14095 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj;
14097 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14098 wxSize result;
14099 PyObject * obj0 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14106 {
14107 PyThreadState* __tstate = wxPyBeginAllowThreads();
14108 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14109
14110 wxPyEndAllowThreads(__tstate);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 }
14113 {
14114 wxSize * resultptr;
14115 resultptr = new wxSize((wxSize &) result);
14116 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14117 }
14118 return resultobj;
14119 fail:
14120 return NULL;
14121 }
14122
14123
14124 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14125 PyObject *resultobj;
14126 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14127 PyObject * obj0 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 (arg1)->base_InitDialog();
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 Py_INCREF(Py_None); resultobj = Py_None;
14142 return resultobj;
14143 fail:
14144 return NULL;
14145 }
14146
14147
14148 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14149 PyObject *resultobj;
14150 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14151 bool result;
14152 PyObject * obj0 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14159 {
14160 PyThreadState* __tstate = wxPyBeginAllowThreads();
14161 result = (bool)(arg1)->base_TransferDataToWindow();
14162
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 resultobj = PyInt_FromLong((long)result);
14167 return resultobj;
14168 fail:
14169 return NULL;
14170 }
14171
14172
14173 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14174 PyObject *resultobj;
14175 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14176 bool result;
14177 PyObject * obj0 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 result = (bool)(arg1)->base_TransferDataFromWindow();
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 resultobj = PyInt_FromLong((long)result);
14192 return resultobj;
14193 fail:
14194 return NULL;
14195 }
14196
14197
14198 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14201 bool result;
14202 PyObject * obj0 = 0 ;
14203 char *kwnames[] = {
14204 (char *) "self", NULL
14205 };
14206
14207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14209 {
14210 PyThreadState* __tstate = wxPyBeginAllowThreads();
14211 result = (bool)(arg1)->base_Validate();
14212
14213 wxPyEndAllowThreads(__tstate);
14214 if (PyErr_Occurred()) SWIG_fail;
14215 }
14216 resultobj = PyInt_FromLong((long)result);
14217 return resultobj;
14218 fail:
14219 return NULL;
14220 }
14221
14222
14223 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj;
14225 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14226 bool result;
14227 PyObject * obj0 = 0 ;
14228 char *kwnames[] = {
14229 (char *) "self", NULL
14230 };
14231
14232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14237
14238 wxPyEndAllowThreads(__tstate);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
14241 resultobj = PyInt_FromLong((long)result);
14242 return resultobj;
14243 fail:
14244 return NULL;
14245 }
14246
14247
14248 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14249 PyObject *resultobj;
14250 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14251 bool result;
14252 PyObject * obj0 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "self", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 resultobj = PyInt_FromLong((long)result);
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj;
14275 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14276 wxSize result;
14277 PyObject * obj0 = 0 ;
14278 char *kwnames[] = {
14279 (char *) "self", NULL
14280 };
14281
14282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14284 {
14285 PyThreadState* __tstate = wxPyBeginAllowThreads();
14286 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14287
14288 wxPyEndAllowThreads(__tstate);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 {
14292 wxSize * resultptr;
14293 resultptr = new wxSize((wxSize &) result);
14294 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14295 }
14296 return resultobj;
14297 fail:
14298 return NULL;
14299 }
14300
14301
14302 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj;
14304 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14305 wxWindow *arg2 = (wxWindow *) 0 ;
14306 PyObject * obj0 = 0 ;
14307 PyObject * obj1 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self",(char *) "child", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->base_AddChild(arg2);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14332 wxWindow *arg2 = (wxWindow *) 0 ;
14333 PyObject * obj0 = 0 ;
14334 PyObject * obj1 = 0 ;
14335 char *kwnames[] = {
14336 (char *) "self",(char *) "child", NULL
14337 };
14338
14339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 (arg1)->base_RemoveChild(arg2);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 Py_INCREF(Py_None); resultobj = Py_None;
14350 return resultobj;
14351 fail:
14352 return NULL;
14353 }
14354
14355
14356 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14357 PyObject *obj;
14358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14359 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14360 Py_INCREF(obj);
14361 return Py_BuildValue((char *)"");
14362 }
14363 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14364 PyObject *resultobj;
14365 wxPrintData *result;
14366 char *kwnames[] = {
14367 NULL
14368 };
14369
14370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 result = (wxPrintData *)new wxPrintData();
14374
14375 wxPyEndAllowThreads(__tstate);
14376 if (PyErr_Occurred()) SWIG_fail;
14377 }
14378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14379 return resultobj;
14380 fail:
14381 return NULL;
14382 }
14383
14384
14385 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14386 PyObject *resultobj;
14387 wxPrintData *arg1 = (wxPrintData *) 0 ;
14388 PyObject * obj0 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 delete arg1;
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 return resultobj;
14404 fail:
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxPrintData *arg1 = (wxPrintData *) 0 ;
14412 int result;
14413 PyObject * obj0 = 0 ;
14414 char *kwnames[] = {
14415 (char *) "self", NULL
14416 };
14417
14418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = (int)(arg1)->GetNoCopies();
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 resultobj = PyInt_FromLong((long)result);
14428 return resultobj;
14429 fail:
14430 return NULL;
14431 }
14432
14433
14434 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14435 PyObject *resultobj;
14436 wxPrintData *arg1 = (wxPrintData *) 0 ;
14437 bool result;
14438 PyObject * obj0 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = (bool)(arg1)->GetCollate();
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 resultobj = PyInt_FromLong((long)result);
14453 return resultobj;
14454 fail:
14455 return NULL;
14456 }
14457
14458
14459 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj;
14461 wxPrintData *arg1 = (wxPrintData *) 0 ;
14462 int result;
14463 PyObject * obj0 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "self", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14470 {
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 result = (int)(arg1)->GetOrientation();
14473
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 resultobj = PyInt_FromLong((long)result);
14478 return resultobj;
14479 fail:
14480 return NULL;
14481 }
14482
14483
14484 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14485 PyObject *resultobj;
14486 wxPrintData *arg1 = (wxPrintData *) 0 ;
14487 bool result;
14488 PyObject * obj0 = 0 ;
14489 char *kwnames[] = {
14490 (char *) "self", NULL
14491 };
14492
14493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14495 {
14496 PyThreadState* __tstate = wxPyBeginAllowThreads();
14497 result = (bool)(arg1)->Ok();
14498
14499 wxPyEndAllowThreads(__tstate);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 resultobj = PyInt_FromLong((long)result);
14503 return resultobj;
14504 fail:
14505 return NULL;
14506 }
14507
14508
14509 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj;
14511 wxPrintData *arg1 = (wxPrintData *) 0 ;
14512 wxString *result;
14513 PyObject * obj0 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14520 {
14521 PyThreadState* __tstate = wxPyBeginAllowThreads();
14522 {
14523 wxString const &_result_ref = (arg1)->GetPrinterName();
14524 result = (wxString *) &_result_ref;
14525 }
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 {
14531 #if wxUSE_UNICODE
14532 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14533 #else
14534 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14535 #endif
14536 }
14537 return resultobj;
14538 fail:
14539 return NULL;
14540 }
14541
14542
14543 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxPrintData *arg1 = (wxPrintData *) 0 ;
14546 bool result;
14547 PyObject * obj0 = 0 ;
14548 char *kwnames[] = {
14549 (char *) "self", NULL
14550 };
14551
14552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14554 {
14555 PyThreadState* __tstate = wxPyBeginAllowThreads();
14556 result = (bool)(arg1)->GetColour();
14557
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 resultobj = PyInt_FromLong((long)result);
14562 return resultobj;
14563 fail:
14564 return NULL;
14565 }
14566
14567
14568 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14569 PyObject *resultobj;
14570 wxPrintData *arg1 = (wxPrintData *) 0 ;
14571 int result;
14572 PyObject * obj0 = 0 ;
14573 char *kwnames[] = {
14574 (char *) "self", NULL
14575 };
14576
14577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = (int)(arg1)->GetDuplex();
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 resultobj = PyInt_FromLong((long)result);
14587 return resultobj;
14588 fail:
14589 return NULL;
14590 }
14591
14592
14593 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14594 PyObject *resultobj;
14595 wxPrintData *arg1 = (wxPrintData *) 0 ;
14596 int result;
14597 PyObject * obj0 = 0 ;
14598 char *kwnames[] = {
14599 (char *) "self", NULL
14600 };
14601
14602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (int)(arg1)->GetPaperId();
14607
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 resultobj = PyInt_FromLong((long)result);
14612 return resultobj;
14613 fail:
14614 return NULL;
14615 }
14616
14617
14618 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxPrintData *arg1 = (wxPrintData *) 0 ;
14621 wxSize *result;
14622 PyObject * obj0 = 0 ;
14623 char *kwnames[] = {
14624 (char *) "self", NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 {
14632 wxSize const &_result_ref = (arg1)->GetPaperSize();
14633 result = (wxSize *) &_result_ref;
14634 }
14635
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14640 return resultobj;
14641 fail:
14642 return NULL;
14643 }
14644
14645
14646 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14647 PyObject *resultobj;
14648 wxPrintData *arg1 = (wxPrintData *) 0 ;
14649 wxPrintQuality result;
14650 PyObject * obj0 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 result = (arg1)->GetQuality();
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 {
14665 wxPrintQuality * resultptr;
14666 resultptr = new wxPrintQuality((wxPrintQuality &) result);
14667 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
14668 }
14669 return resultobj;
14670 fail:
14671 return NULL;
14672 }
14673
14674
14675 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj;
14677 wxPrintData *arg1 = (wxPrintData *) 0 ;
14678 int arg2 ;
14679 PyObject * obj0 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self",(char *) "v", NULL
14682 };
14683
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
14685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
14688 (arg1)->SetNoCopies(arg2);
14689
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 Py_INCREF(Py_None); resultobj = Py_None;
14694 return resultobj;
14695 fail:
14696 return NULL;
14697 }
14698
14699
14700 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxPrintData *arg1 = (wxPrintData *) 0 ;
14703 bool arg2 ;
14704 PyObject * obj0 = 0 ;
14705 PyObject * obj1 = 0 ;
14706 char *kwnames[] = {
14707 (char *) "self",(char *) "flag", NULL
14708 };
14709
14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
14711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14712 arg2 = PyInt_AsLong(obj1) ? true : false;
14713 if (PyErr_Occurred()) SWIG_fail;
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 (arg1)->SetCollate(arg2);
14717
14718 wxPyEndAllowThreads(__tstate);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 Py_INCREF(Py_None); resultobj = Py_None;
14722 return resultobj;
14723 fail:
14724 return NULL;
14725 }
14726
14727
14728 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14729 PyObject *resultobj;
14730 wxPrintData *arg1 = (wxPrintData *) 0 ;
14731 int arg2 ;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self",(char *) "orient", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 (arg1)->SetOrientation(arg2);
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 Py_INCREF(Py_None); resultobj = Py_None;
14747 return resultobj;
14748 fail:
14749 return NULL;
14750 }
14751
14752
14753 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 wxPrintData *arg1 = (wxPrintData *) 0 ;
14756 wxString *arg2 = 0 ;
14757 bool temp2 = False ;
14758 PyObject * obj0 = 0 ;
14759 PyObject * obj1 = 0 ;
14760 char *kwnames[] = {
14761 (char *) "self",(char *) "name", NULL
14762 };
14763
14764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
14765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14766 {
14767 arg2 = wxString_in_helper(obj1);
14768 if (arg2 == NULL) SWIG_fail;
14769 temp2 = True;
14770 }
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 (arg1)->SetPrinterName((wxString const &)*arg2);
14774
14775 wxPyEndAllowThreads(__tstate);
14776 if (PyErr_Occurred()) SWIG_fail;
14777 }
14778 Py_INCREF(Py_None); resultobj = Py_None;
14779 {
14780 if (temp2)
14781 delete arg2;
14782 }
14783 return resultobj;
14784 fail:
14785 {
14786 if (temp2)
14787 delete arg2;
14788 }
14789 return NULL;
14790 }
14791
14792
14793 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxPrintData *arg1 = (wxPrintData *) 0 ;
14796 bool arg2 ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self",(char *) "colour", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
14804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14805 arg2 = PyInt_AsLong(obj1) ? true : false;
14806 if (PyErr_Occurred()) SWIG_fail;
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 (arg1)->SetColour(arg2);
14810
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 Py_INCREF(Py_None); resultobj = Py_None;
14815 return resultobj;
14816 fail:
14817 return NULL;
14818 }
14819
14820
14821 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14822 PyObject *resultobj;
14823 wxPrintData *arg1 = (wxPrintData *) 0 ;
14824 int arg2 ;
14825 PyObject * obj0 = 0 ;
14826 char *kwnames[] = {
14827 (char *) "self",(char *) "duplex", NULL
14828 };
14829
14830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
14831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14832 {
14833 PyThreadState* __tstate = wxPyBeginAllowThreads();
14834 (arg1)->SetDuplex((wxDuplexMode )arg2);
14835
14836 wxPyEndAllowThreads(__tstate);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 }
14839 Py_INCREF(Py_None); resultobj = Py_None;
14840 return resultobj;
14841 fail:
14842 return NULL;
14843 }
14844
14845
14846 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14847 PyObject *resultobj;
14848 wxPrintData *arg1 = (wxPrintData *) 0 ;
14849 int arg2 ;
14850 PyObject * obj0 = 0 ;
14851 char *kwnames[] = {
14852 (char *) "self",(char *) "sizeId", NULL
14853 };
14854
14855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
14856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 (arg1)->SetPaperId((wxPaperSize )arg2);
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 Py_INCREF(Py_None); resultobj = Py_None;
14865 return resultobj;
14866 fail:
14867 return NULL;
14868 }
14869
14870
14871 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14872 PyObject *resultobj;
14873 wxPrintData *arg1 = (wxPrintData *) 0 ;
14874 wxSize *arg2 = 0 ;
14875 wxSize temp2 ;
14876 PyObject * obj0 = 0 ;
14877 PyObject * obj1 = 0 ;
14878 char *kwnames[] = {
14879 (char *) "self",(char *) "sz", NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
14883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14884 {
14885 arg2 = &temp2;
14886 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14887 }
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 (arg1)->SetPaperSize((wxSize const &)*arg2);
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 Py_INCREF(Py_None); resultobj = Py_None;
14896 return resultobj;
14897 fail:
14898 return NULL;
14899 }
14900
14901
14902 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14903 PyObject *resultobj;
14904 wxPrintData *arg1 = (wxPrintData *) 0 ;
14905 wxPrintQuality arg2 ;
14906 wxPrintQuality *argp2 ;
14907 PyObject * obj0 = 0 ;
14908 PyObject * obj1 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self",(char *) "quality", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
14914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14915 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14916 arg2 = *argp2;
14917 {
14918 PyThreadState* __tstate = wxPyBeginAllowThreads();
14919 (arg1)->SetQuality(arg2);
14920
14921 wxPyEndAllowThreads(__tstate);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 Py_INCREF(Py_None); resultobj = Py_None;
14925 return resultobj;
14926 fail:
14927 return NULL;
14928 }
14929
14930
14931 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
14932 PyObject *resultobj;
14933 wxPrintData *arg1 = (wxPrintData *) 0 ;
14934 wxString *result;
14935 PyObject * obj0 = 0 ;
14936 char *kwnames[] = {
14937 (char *) "self", NULL
14938 };
14939
14940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
14941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 {
14945 wxString const &_result_ref = (arg1)->GetPrinterCommand();
14946 result = (wxString *) &_result_ref;
14947 }
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 {
14953 #if wxUSE_UNICODE
14954 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14955 #else
14956 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14957 #endif
14958 }
14959 return resultobj;
14960 fail:
14961 return NULL;
14962 }
14963
14964
14965 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj;
14967 wxPrintData *arg1 = (wxPrintData *) 0 ;
14968 wxString *result;
14969 PyObject * obj0 = 0 ;
14970 char *kwnames[] = {
14971 (char *) "self", NULL
14972 };
14973
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
14975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 {
14979 wxString const &_result_ref = (arg1)->GetPrinterOptions();
14980 result = (wxString *) &_result_ref;
14981 }
14982
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 {
14987 #if wxUSE_UNICODE
14988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14989 #else
14990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14991 #endif
14992 }
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15000 PyObject *resultobj;
15001 wxPrintData *arg1 = (wxPrintData *) 0 ;
15002 wxString *result;
15003 PyObject * obj0 = 0 ;
15004 char *kwnames[] = {
15005 (char *) "self", NULL
15006 };
15007
15008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 {
15013 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15014 result = (wxString *) &_result_ref;
15015 }
15016
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 {
15021 #if wxUSE_UNICODE
15022 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15023 #else
15024 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15025 #endif
15026 }
15027 return resultobj;
15028 fail:
15029 return NULL;
15030 }
15031
15032
15033 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15034 PyObject *resultobj;
15035 wxPrintData *arg1 = (wxPrintData *) 0 ;
15036 wxString *result;
15037 PyObject * obj0 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15044 {
15045 PyThreadState* __tstate = wxPyBeginAllowThreads();
15046 {
15047 wxString const &_result_ref = (arg1)->GetFilename();
15048 result = (wxString *) &_result_ref;
15049 }
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 {
15055 #if wxUSE_UNICODE
15056 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15057 #else
15058 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15059 #endif
15060 }
15061 return resultobj;
15062 fail:
15063 return NULL;
15064 }
15065
15066
15067 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxPrintData *arg1 = (wxPrintData *) 0 ;
15070 wxString *result;
15071 PyObject * obj0 = 0 ;
15072 char *kwnames[] = {
15073 (char *) "self", NULL
15074 };
15075
15076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 {
15081 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15082 result = (wxString *) &_result_ref;
15083 }
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
15088 {
15089 #if wxUSE_UNICODE
15090 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15091 #else
15092 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15093 #endif
15094 }
15095 return resultobj;
15096 fail:
15097 return NULL;
15098 }
15099
15100
15101 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 wxPrintData *arg1 = (wxPrintData *) 0 ;
15104 double result;
15105 PyObject * obj0 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "self", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 result = (double)(arg1)->GetPrinterScaleX();
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 resultobj = PyFloat_FromDouble(result);
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 wxPrintData *arg1 = (wxPrintData *) 0 ;
15129 double result;
15130 PyObject * obj0 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 result = (double)(arg1)->GetPrinterScaleY();
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 resultobj = PyFloat_FromDouble(result);
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 wxPrintData *arg1 = (wxPrintData *) 0 ;
15154 long result;
15155 PyObject * obj0 = 0 ;
15156 char *kwnames[] = {
15157 (char *) "self", NULL
15158 };
15159
15160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (long)(arg1)->GetPrinterTranslateX();
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 resultobj = PyInt_FromLong((long)result);
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxPrintData *arg1 = (wxPrintData *) 0 ;
15179 long result;
15180 PyObject * obj0 = 0 ;
15181 char *kwnames[] = {
15182 (char *) "self", NULL
15183 };
15184
15185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (long)(arg1)->GetPrinterTranslateY();
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 resultobj = PyInt_FromLong((long)result);
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxPrintData *arg1 = (wxPrintData *) 0 ;
15204 int result;
15205 PyObject * obj0 = 0 ;
15206 char *kwnames[] = {
15207 (char *) "self", NULL
15208 };
15209
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 result = (int)(arg1)->GetPrintMode();
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 resultobj = PyInt_FromLong((long)result);
15220 return resultobj;
15221 fail:
15222 return NULL;
15223 }
15224
15225
15226 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj;
15228 wxPrintData *arg1 = (wxPrintData *) 0 ;
15229 wxString *arg2 = 0 ;
15230 bool temp2 = False ;
15231 PyObject * obj0 = 0 ;
15232 PyObject * obj1 = 0 ;
15233 char *kwnames[] = {
15234 (char *) "self",(char *) "command", NULL
15235 };
15236
15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15239 {
15240 arg2 = wxString_in_helper(obj1);
15241 if (arg2 == NULL) SWIG_fail;
15242 temp2 = True;
15243 }
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15247
15248 wxPyEndAllowThreads(__tstate);
15249 if (PyErr_Occurred()) SWIG_fail;
15250 }
15251 Py_INCREF(Py_None); resultobj = Py_None;
15252 {
15253 if (temp2)
15254 delete arg2;
15255 }
15256 return resultobj;
15257 fail:
15258 {
15259 if (temp2)
15260 delete arg2;
15261 }
15262 return NULL;
15263 }
15264
15265
15266 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15267 PyObject *resultobj;
15268 wxPrintData *arg1 = (wxPrintData *) 0 ;
15269 wxString *arg2 = 0 ;
15270 bool temp2 = False ;
15271 PyObject * obj0 = 0 ;
15272 PyObject * obj1 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "self",(char *) "options", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15279 {
15280 arg2 = wxString_in_helper(obj1);
15281 if (arg2 == NULL) SWIG_fail;
15282 temp2 = True;
15283 }
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 Py_INCREF(Py_None); resultobj = Py_None;
15292 {
15293 if (temp2)
15294 delete arg2;
15295 }
15296 return resultobj;
15297 fail:
15298 {
15299 if (temp2)
15300 delete arg2;
15301 }
15302 return NULL;
15303 }
15304
15305
15306 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxPrintData *arg1 = (wxPrintData *) 0 ;
15309 wxString *arg2 = 0 ;
15310 bool temp2 = False ;
15311 PyObject * obj0 = 0 ;
15312 PyObject * obj1 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "self",(char *) "command", NULL
15315 };
15316
15317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15319 {
15320 arg2 = wxString_in_helper(obj1);
15321 if (arg2 == NULL) SWIG_fail;
15322 temp2 = True;
15323 }
15324 {
15325 PyThreadState* __tstate = wxPyBeginAllowThreads();
15326 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15327
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 Py_INCREF(Py_None); resultobj = Py_None;
15332 {
15333 if (temp2)
15334 delete arg2;
15335 }
15336 return resultobj;
15337 fail:
15338 {
15339 if (temp2)
15340 delete arg2;
15341 }
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxPrintData *arg1 = (wxPrintData *) 0 ;
15349 wxString *arg2 = 0 ;
15350 bool temp2 = False ;
15351 PyObject * obj0 = 0 ;
15352 PyObject * obj1 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self",(char *) "filename", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15359 {
15360 arg2 = wxString_in_helper(obj1);
15361 if (arg2 == NULL) SWIG_fail;
15362 temp2 = True;
15363 }
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 (arg1)->SetFilename((wxString const &)*arg2);
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 Py_INCREF(Py_None); resultobj = Py_None;
15372 {
15373 if (temp2)
15374 delete arg2;
15375 }
15376 return resultobj;
15377 fail:
15378 {
15379 if (temp2)
15380 delete arg2;
15381 }
15382 return NULL;
15383 }
15384
15385
15386 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15387 PyObject *resultobj;
15388 wxPrintData *arg1 = (wxPrintData *) 0 ;
15389 wxString *arg2 = 0 ;
15390 bool temp2 = False ;
15391 PyObject * obj0 = 0 ;
15392 PyObject * obj1 = 0 ;
15393 char *kwnames[] = {
15394 (char *) "self",(char *) "path", NULL
15395 };
15396
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15399 {
15400 arg2 = wxString_in_helper(obj1);
15401 if (arg2 == NULL) SWIG_fail;
15402 temp2 = True;
15403 }
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 Py_INCREF(Py_None); resultobj = Py_None;
15412 {
15413 if (temp2)
15414 delete arg2;
15415 }
15416 return resultobj;
15417 fail:
15418 {
15419 if (temp2)
15420 delete arg2;
15421 }
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxPrintData *arg1 = (wxPrintData *) 0 ;
15429 double arg2 ;
15430 PyObject * obj0 = 0 ;
15431 char *kwnames[] = {
15432 (char *) "self",(char *) "x", NULL
15433 };
15434
15435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15437 {
15438 PyThreadState* __tstate = wxPyBeginAllowThreads();
15439 (arg1)->SetPrinterScaleX(arg2);
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 Py_INCREF(Py_None); resultobj = Py_None;
15445 return resultobj;
15446 fail:
15447 return NULL;
15448 }
15449
15450
15451 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj;
15453 wxPrintData *arg1 = (wxPrintData *) 0 ;
15454 double arg2 ;
15455 PyObject * obj0 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "y", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15462 {
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 (arg1)->SetPrinterScaleY(arg2);
15465
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 Py_INCREF(Py_None); resultobj = Py_None;
15470 return resultobj;
15471 fail:
15472 return NULL;
15473 }
15474
15475
15476 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15477 PyObject *resultobj;
15478 wxPrintData *arg1 = (wxPrintData *) 0 ;
15479 double arg2 ;
15480 double arg3 ;
15481 PyObject * obj0 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self",(char *) "x",(char *) "y", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 (arg1)->SetPrinterScaling(arg2,arg3);
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 Py_INCREF(Py_None); resultobj = Py_None;
15496 return resultobj;
15497 fail:
15498 return NULL;
15499 }
15500
15501
15502 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 wxPrintData *arg1 = (wxPrintData *) 0 ;
15505 long arg2 ;
15506 PyObject * obj0 = 0 ;
15507 char *kwnames[] = {
15508 (char *) "self",(char *) "x", NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 (arg1)->SetPrinterTranslateX(arg2);
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 Py_INCREF(Py_None); resultobj = Py_None;
15521 return resultobj;
15522 fail:
15523 return NULL;
15524 }
15525
15526
15527 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj;
15529 wxPrintData *arg1 = (wxPrintData *) 0 ;
15530 long arg2 ;
15531 PyObject * obj0 = 0 ;
15532 char *kwnames[] = {
15533 (char *) "self",(char *) "y", NULL
15534 };
15535
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15538 {
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 (arg1)->SetPrinterTranslateY(arg2);
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 Py_INCREF(Py_None); resultobj = Py_None;
15546 return resultobj;
15547 fail:
15548 return NULL;
15549 }
15550
15551
15552 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj;
15554 wxPrintData *arg1 = (wxPrintData *) 0 ;
15555 long arg2 ;
15556 long arg3 ;
15557 PyObject * obj0 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self",(char *) "x",(char *) "y", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 (arg1)->SetPrinterTranslation(arg2,arg3);
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 Py_INCREF(Py_None); resultobj = Py_None;
15572 return resultobj;
15573 fail:
15574 return NULL;
15575 }
15576
15577
15578 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxPrintData *arg1 = (wxPrintData *) 0 ;
15581 int arg2 ;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self",(char *) "printMode", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 (arg1)->SetPrintMode((wxPrintMode )arg2);
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 Py_INCREF(Py_None); resultobj = Py_None;
15597 return resultobj;
15598 fail:
15599 return NULL;
15600 }
15601
15602
15603 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15604 PyObject *obj;
15605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15606 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15607 Py_INCREF(obj);
15608 return Py_BuildValue((char *)"");
15609 }
15610 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15611 PyObject *resultobj;
15612 wxPageSetupDialogData *result;
15613 char *kwnames[] = {
15614 NULL
15615 };
15616
15617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15626 return resultobj;
15627 fail:
15628 return NULL;
15629 }
15630
15631
15632 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj;
15634 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15635 PyObject * obj0 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 delete arg1;
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 Py_INCREF(Py_None); resultobj = Py_None;
15650 return resultobj;
15651 fail:
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15659 bool arg2 ;
15660 PyObject * obj0 = 0 ;
15661 PyObject * obj1 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self",(char *) "flag", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15668 arg2 = PyInt_AsLong(obj1) ? true : false;
15669 if (PyErr_Occurred()) SWIG_fail;
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 (arg1)->EnableHelp(arg2);
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 Py_INCREF(Py_None); resultobj = Py_None;
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15687 bool arg2 ;
15688 PyObject * obj0 = 0 ;
15689 PyObject * obj1 = 0 ;
15690 char *kwnames[] = {
15691 (char *) "self",(char *) "flag", NULL
15692 };
15693
15694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15696 arg2 = PyInt_AsLong(obj1) ? true : false;
15697 if (PyErr_Occurred()) SWIG_fail;
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 (arg1)->EnableMargins(arg2);
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 Py_INCREF(Py_None); resultobj = Py_None;
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15715 bool arg2 ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "self",(char *) "flag", NULL
15720 };
15721
15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
15723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15724 arg2 = PyInt_AsLong(obj1) ? true : false;
15725 if (PyErr_Occurred()) SWIG_fail;
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 (arg1)->EnableOrientation(arg2);
15729
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 Py_INCREF(Py_None); resultobj = Py_None;
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
15741 PyObject *resultobj;
15742 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15743 bool arg2 ;
15744 PyObject * obj0 = 0 ;
15745 PyObject * obj1 = 0 ;
15746 char *kwnames[] = {
15747 (char *) "self",(char *) "flag", NULL
15748 };
15749
15750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
15751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15752 arg2 = PyInt_AsLong(obj1) ? true : false;
15753 if (PyErr_Occurred()) SWIG_fail;
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 (arg1)->EnablePaper(arg2);
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 Py_INCREF(Py_None); resultobj = Py_None;
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj;
15770 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15771 bool arg2 ;
15772 PyObject * obj0 = 0 ;
15773 PyObject * obj1 = 0 ;
15774 char *kwnames[] = {
15775 (char *) "self",(char *) "flag", NULL
15776 };
15777
15778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
15779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15780 arg2 = PyInt_AsLong(obj1) ? true : false;
15781 if (PyErr_Occurred()) SWIG_fail;
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
15784 (arg1)->EnablePrinter(arg2);
15785
15786 wxPyEndAllowThreads(__tstate);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 Py_INCREF(Py_None); resultobj = Py_None;
15790 return resultobj;
15791 fail:
15792 return NULL;
15793 }
15794
15795
15796 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15797 PyObject *resultobj;
15798 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15799 bool result;
15800 PyObject * obj0 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "self", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
15806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = (bool)(arg1)->GetDefaultMinMargins();
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 resultobj = PyInt_FromLong((long)result);
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15824 bool result;
15825 PyObject * obj0 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
15831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15832 {
15833 PyThreadState* __tstate = wxPyBeginAllowThreads();
15834 result = (bool)(arg1)->GetEnableMargins();
15835
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 resultobj = PyInt_FromLong((long)result);
15840 return resultobj;
15841 fail:
15842 return NULL;
15843 }
15844
15845
15846 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15847 PyObject *resultobj;
15848 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15849 bool result;
15850 PyObject * obj0 = 0 ;
15851 char *kwnames[] = {
15852 (char *) "self", NULL
15853 };
15854
15855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
15856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 result = (bool)(arg1)->GetEnableOrientation();
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 resultobj = PyInt_FromLong((long)result);
15865 return resultobj;
15866 fail:
15867 return NULL;
15868 }
15869
15870
15871 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
15872 PyObject *resultobj;
15873 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15874 bool result;
15875 PyObject * obj0 = 0 ;
15876 char *kwnames[] = {
15877 (char *) "self", NULL
15878 };
15879
15880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
15881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 result = (bool)(arg1)->GetEnablePaper();
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 resultobj = PyInt_FromLong((long)result);
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj;
15898 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15899 bool result;
15900 PyObject * obj0 = 0 ;
15901 char *kwnames[] = {
15902 (char *) "self", NULL
15903 };
15904
15905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
15906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15907 {
15908 PyThreadState* __tstate = wxPyBeginAllowThreads();
15909 result = (bool)(arg1)->GetEnablePrinter();
15910
15911 wxPyEndAllowThreads(__tstate);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 }
15914 resultobj = PyInt_FromLong((long)result);
15915 return resultobj;
15916 fail:
15917 return NULL;
15918 }
15919
15920
15921 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15924 bool result;
15925 PyObject * obj0 = 0 ;
15926 char *kwnames[] = {
15927 (char *) "self", NULL
15928 };
15929
15930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (bool)(arg1)->GetEnableHelp();
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 resultobj = PyInt_FromLong((long)result);
15940 return resultobj;
15941 fail:
15942 return NULL;
15943 }
15944
15945
15946 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj;
15948 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15949 bool result;
15950 PyObject * obj0 = 0 ;
15951 char *kwnames[] = {
15952 (char *) "self", NULL
15953 };
15954
15955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
15956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 result = (bool)(arg1)->GetDefaultInfo();
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 resultobj = PyInt_FromLong((long)result);
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15974 wxPoint result;
15975 PyObject * obj0 = 0 ;
15976 char *kwnames[] = {
15977 (char *) "self", NULL
15978 };
15979
15980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
15981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 result = (arg1)->GetMarginTopLeft();
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 {
15990 wxPoint * resultptr;
15991 resultptr = new wxPoint((wxPoint &) result);
15992 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15993 }
15994 return resultobj;
15995 fail:
15996 return NULL;
15997 }
15998
15999
16000 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16003 wxPoint result;
16004 PyObject * obj0 = 0 ;
16005 char *kwnames[] = {
16006 (char *) "self", NULL
16007 };
16008
16009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (arg1)->GetMarginBottomRight();
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 {
16019 wxPoint * resultptr;
16020 resultptr = new wxPoint((wxPoint &) result);
16021 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16022 }
16023 return resultobj;
16024 fail:
16025 return NULL;
16026 }
16027
16028
16029 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16032 wxPoint result;
16033 PyObject * obj0 = 0 ;
16034 char *kwnames[] = {
16035 (char *) "self", NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 result = (arg1)->GetMinMarginTopLeft();
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 {
16048 wxPoint * resultptr;
16049 resultptr = new wxPoint((wxPoint &) result);
16050 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16051 }
16052 return resultobj;
16053 fail:
16054 return NULL;
16055 }
16056
16057
16058 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16061 wxPoint result;
16062 PyObject * obj0 = 0 ;
16063 char *kwnames[] = {
16064 (char *) "self", NULL
16065 };
16066
16067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16069 {
16070 PyThreadState* __tstate = wxPyBeginAllowThreads();
16071 result = (arg1)->GetMinMarginBottomRight();
16072
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 {
16077 wxPoint * resultptr;
16078 resultptr = new wxPoint((wxPoint &) result);
16079 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16080 }
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16090 int result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16098 {
16099 PyThreadState* __tstate = wxPyBeginAllowThreads();
16100 result = (int)(arg1)->GetPaperId();
16101
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 resultobj = PyInt_FromLong((long)result);
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16115 wxSize result;
16116 PyObject * obj0 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (arg1)->GetPaperSize();
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 {
16131 wxSize * resultptr;
16132 resultptr = new wxSize((wxSize &) result);
16133 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16134 }
16135 return resultobj;
16136 fail:
16137 return NULL;
16138 }
16139
16140
16141 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj;
16143 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16144 wxPrintData *result;
16145 PyObject * obj0 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 {
16155 wxPrintData &_result_ref = (arg1)->GetPrintData();
16156 result = (wxPrintData *) &_result_ref;
16157 }
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16172 bool result;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (bool)(arg1)->Ok();
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 resultobj = PyInt_FromLong((long)result);
16188 return resultobj;
16189 fail:
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16197 bool arg2 ;
16198 PyObject * obj0 = 0 ;
16199 PyObject * obj1 = 0 ;
16200 char *kwnames[] = {
16201 (char *) "self",(char *) "flag", NULL
16202 };
16203
16204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16206 arg2 = PyInt_AsLong(obj1) ? true : false;
16207 if (PyErr_Occurred()) SWIG_fail;
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 (arg1)->SetDefaultInfo(arg2);
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 Py_INCREF(Py_None); resultobj = Py_None;
16216 return resultobj;
16217 fail:
16218 return NULL;
16219 }
16220
16221
16222 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16223 PyObject *resultobj;
16224 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16225 bool arg2 ;
16226 PyObject * obj0 = 0 ;
16227 PyObject * obj1 = 0 ;
16228 char *kwnames[] = {
16229 (char *) "self",(char *) "flag", NULL
16230 };
16231
16232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16234 arg2 = PyInt_AsLong(obj1) ? true : false;
16235 if (PyErr_Occurred()) SWIG_fail;
16236 {
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
16238 (arg1)->SetDefaultMinMargins(arg2);
16239
16240 wxPyEndAllowThreads(__tstate);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
16243 Py_INCREF(Py_None); resultobj = Py_None;
16244 return resultobj;
16245 fail:
16246 return NULL;
16247 }
16248
16249
16250 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16251 PyObject *resultobj;
16252 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16253 wxPoint *arg2 = 0 ;
16254 wxPoint temp2 ;
16255 PyObject * obj0 = 0 ;
16256 PyObject * obj1 = 0 ;
16257 char *kwnames[] = {
16258 (char *) "self",(char *) "pt", NULL
16259 };
16260
16261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16263 {
16264 arg2 = &temp2;
16265 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16266 }
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 Py_INCREF(Py_None); resultobj = Py_None;
16275 return resultobj;
16276 fail:
16277 return NULL;
16278 }
16279
16280
16281 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj;
16283 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16284 wxPoint *arg2 = 0 ;
16285 wxPoint temp2 ;
16286 PyObject * obj0 = 0 ;
16287 PyObject * obj1 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self",(char *) "pt", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16294 {
16295 arg2 = &temp2;
16296 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16297 }
16298 {
16299 PyThreadState* __tstate = wxPyBeginAllowThreads();
16300 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16301
16302 wxPyEndAllowThreads(__tstate);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 }
16305 Py_INCREF(Py_None); resultobj = Py_None;
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16313 PyObject *resultobj;
16314 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16315 wxPoint *arg2 = 0 ;
16316 wxPoint temp2 ;
16317 PyObject * obj0 = 0 ;
16318 PyObject * obj1 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "pt", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16325 {
16326 arg2 = &temp2;
16327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16328 }
16329 {
16330 PyThreadState* __tstate = wxPyBeginAllowThreads();
16331 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16332
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 Py_INCREF(Py_None); resultobj = Py_None;
16337 return resultobj;
16338 fail:
16339 return NULL;
16340 }
16341
16342
16343 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16346 wxPoint *arg2 = 0 ;
16347 wxPoint temp2 ;
16348 PyObject * obj0 = 0 ;
16349 PyObject * obj1 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self",(char *) "pt", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16356 {
16357 arg2 = &temp2;
16358 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16359 }
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16363
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 Py_INCREF(Py_None); resultobj = Py_None;
16368 return resultobj;
16369 fail:
16370 return NULL;
16371 }
16372
16373
16374 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16377 int arg2 ;
16378 PyObject * obj0 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self",(char *) "id", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
16387 (arg1)->SetPaperId((wxPaperSize )arg2);
16388
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 Py_INCREF(Py_None); resultobj = Py_None;
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16402 wxSize *arg2 = 0 ;
16403 wxSize temp2 ;
16404 PyObject * obj0 = 0 ;
16405 PyObject * obj1 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self",(char *) "size", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16412 {
16413 arg2 = &temp2;
16414 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16415 }
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 (arg1)->SetPaperSize((wxSize const &)*arg2);
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 Py_INCREF(Py_None); resultobj = Py_None;
16424 return resultobj;
16425 fail:
16426 return NULL;
16427 }
16428
16429
16430 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16431 PyObject *resultobj;
16432 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16433 wxPrintData *arg2 = 0 ;
16434 PyObject * obj0 = 0 ;
16435 PyObject * obj1 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self",(char *) "printData", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16443 if (arg2 == NULL) {
16444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16445 }
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16449
16450 wxPyEndAllowThreads(__tstate);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 Py_INCREF(Py_None); resultobj = Py_None;
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16461 PyObject *obj;
16462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16463 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16464 Py_INCREF(obj);
16465 return Py_BuildValue((char *)"");
16466 }
16467 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxWindow *arg1 = (wxWindow *) 0 ;
16470 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16471 wxPageSetupDialog *result;
16472 PyObject * obj0 = 0 ;
16473 PyObject * obj1 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "parent",(char *) "data", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16480 if (obj1) {
16481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16482 }
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16500 wxPageSetupDialogData *result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 {
16511 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16512 result = (wxPageSetupDialogData *) &_result_ref;
16513 }
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16519 return resultobj;
16520 fail:
16521 return NULL;
16522 }
16523
16524
16525 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16528 int result;
16529 PyObject * obj0 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = (int)(arg1)->ShowModal();
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 resultobj = PyInt_FromLong((long)result);
16544 return resultobj;
16545 fail:
16546 return NULL;
16547 }
16548
16549
16550 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16551 PyObject *obj;
16552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16553 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16554 Py_INCREF(obj);
16555 return Py_BuildValue((char *)"");
16556 }
16557 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxPrintDialogData *result;
16560 char *kwnames[] = {
16561 NULL
16562 };
16563
16564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 result = (wxPrintDialogData *)new wxPrintDialogData();
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 delete arg1;
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 Py_INCREF(Py_None); resultobj = Py_None;
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16606 int result;
16607 PyObject * obj0 = 0 ;
16608 char *kwnames[] = {
16609 (char *) "self", NULL
16610 };
16611
16612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16614 {
16615 PyThreadState* __tstate = wxPyBeginAllowThreads();
16616 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16617
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 resultobj = PyInt_FromLong((long)result);
16622 return resultobj;
16623 fail:
16624 return NULL;
16625 }
16626
16627
16628 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj;
16630 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16631 int result;
16632 PyObject * obj0 = 0 ;
16633 char *kwnames[] = {
16634 (char *) "self", NULL
16635 };
16636
16637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 resultobj = PyInt_FromLong((long)result);
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16656 int result;
16657 PyObject * obj0 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 resultobj = PyInt_FromLong((long)result);
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16681 int result;
16682 PyObject * obj0 = 0 ;
16683 char *kwnames[] = {
16684 (char *) "self", NULL
16685 };
16686
16687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
16688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
16692
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 resultobj = PyInt_FromLong((long)result);
16697 return resultobj;
16698 fail:
16699 return NULL;
16700 }
16701
16702
16703 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj;
16705 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16706 int result;
16707 PyObject * obj0 = 0 ;
16708 char *kwnames[] = {
16709 (char *) "self", NULL
16710 };
16711
16712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
16713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 resultobj = PyInt_FromLong((long)result);
16722 return resultobj;
16723 fail:
16724 return NULL;
16725 }
16726
16727
16728 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16731 bool result;
16732 PyObject * obj0 = 0 ;
16733 char *kwnames[] = {
16734 (char *) "self", NULL
16735 };
16736
16737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
16738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 resultobj = PyInt_FromLong((long)result);
16747 return resultobj;
16748 fail:
16749 return NULL;
16750 }
16751
16752
16753 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
16754 PyObject *resultobj;
16755 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16756 bool result;
16757 PyObject * obj0 = 0 ;
16758 char *kwnames[] = {
16759 (char *) "self", NULL
16760 };
16761
16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
16763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 resultobj = PyInt_FromLong((long)result);
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16781 bool result;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 resultobj = PyInt_FromLong((long)result);
16797 return resultobj;
16798 fail:
16799 return NULL;
16800 }
16801
16802
16803 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16806 bool result;
16807 PyObject * obj0 = 0 ;
16808 char *kwnames[] = {
16809 (char *) "self", NULL
16810 };
16811
16812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
16813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16814 {
16815 PyThreadState* __tstate = wxPyBeginAllowThreads();
16816 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
16817
16818 wxPyEndAllowThreads(__tstate);
16819 if (PyErr_Occurred()) SWIG_fail;
16820 }
16821 resultobj = PyInt_FromLong((long)result);
16822 return resultobj;
16823 fail:
16824 return NULL;
16825 }
16826
16827
16828 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16829 PyObject *resultobj;
16830 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16831 bool result;
16832 PyObject * obj0 = 0 ;
16833 char *kwnames[] = {
16834 (char *) "self", NULL
16835 };
16836
16837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
16838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
16842
16843 wxPyEndAllowThreads(__tstate);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 resultobj = PyInt_FromLong((long)result);
16847 return resultobj;
16848 fail:
16849 return NULL;
16850 }
16851
16852
16853 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16854 PyObject *resultobj;
16855 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16856 int arg2 ;
16857 PyObject * obj0 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "self",(char *) "v", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
16863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16864 {
16865 PyThreadState* __tstate = wxPyBeginAllowThreads();
16866 (arg1)->SetFromPage(arg2);
16867
16868 wxPyEndAllowThreads(__tstate);
16869 if (PyErr_Occurred()) SWIG_fail;
16870 }
16871 Py_INCREF(Py_None); resultobj = Py_None;
16872 return resultobj;
16873 fail:
16874 return NULL;
16875 }
16876
16877
16878 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16881 int arg2 ;
16882 PyObject * obj0 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self",(char *) "v", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
16888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16889 {
16890 PyThreadState* __tstate = wxPyBeginAllowThreads();
16891 (arg1)->SetToPage(arg2);
16892
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 Py_INCREF(Py_None); resultobj = Py_None;
16897 return resultobj;
16898 fail:
16899 return NULL;
16900 }
16901
16902
16903 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16906 int arg2 ;
16907 PyObject * obj0 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "self",(char *) "v", NULL
16910 };
16911
16912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
16913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16914 {
16915 PyThreadState* __tstate = wxPyBeginAllowThreads();
16916 (arg1)->SetMinPage(arg2);
16917
16918 wxPyEndAllowThreads(__tstate);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 Py_INCREF(Py_None); resultobj = Py_None;
16922 return resultobj;
16923 fail:
16924 return NULL;
16925 }
16926
16927
16928 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj;
16930 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16931 int arg2 ;
16932 PyObject * obj0 = 0 ;
16933 char *kwnames[] = {
16934 (char *) "self",(char *) "v", NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
16938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16939 {
16940 PyThreadState* __tstate = wxPyBeginAllowThreads();
16941 (arg1)->SetMaxPage(arg2);
16942
16943 wxPyEndAllowThreads(__tstate);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
16946 Py_INCREF(Py_None); resultobj = Py_None;
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16956 int arg2 ;
16957 PyObject * obj0 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self",(char *) "v", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 (arg1)->SetNoCopies(arg2);
16967
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 Py_INCREF(Py_None); resultobj = Py_None;
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj;
16980 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16981 bool arg2 ;
16982 PyObject * obj0 = 0 ;
16983 PyObject * obj1 = 0 ;
16984 char *kwnames[] = {
16985 (char *) "self",(char *) "flag", NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
16989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16990 arg2 = PyInt_AsLong(obj1) ? true : false;
16991 if (PyErr_Occurred()) SWIG_fail;
16992 {
16993 PyThreadState* __tstate = wxPyBeginAllowThreads();
16994 (arg1)->SetAllPages(arg2);
16995
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 Py_INCREF(Py_None); resultobj = Py_None;
17000 return resultobj;
17001 fail:
17002 return NULL;
17003 }
17004
17005
17006 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17009 bool arg2 ;
17010 PyObject * obj0 = 0 ;
17011 PyObject * obj1 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self",(char *) "flag", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17018 arg2 = PyInt_AsLong(obj1) ? true : false;
17019 if (PyErr_Occurred()) SWIG_fail;
17020 {
17021 PyThreadState* __tstate = wxPyBeginAllowThreads();
17022 (arg1)->SetSelection(arg2);
17023
17024 wxPyEndAllowThreads(__tstate);
17025 if (PyErr_Occurred()) SWIG_fail;
17026 }
17027 Py_INCREF(Py_None); resultobj = Py_None;
17028 return resultobj;
17029 fail:
17030 return NULL;
17031 }
17032
17033
17034 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17035 PyObject *resultobj;
17036 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17037 bool arg2 ;
17038 PyObject * obj0 = 0 ;
17039 PyObject * obj1 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self",(char *) "flag", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17046 arg2 = PyInt_AsLong(obj1) ? true : false;
17047 if (PyErr_Occurred()) SWIG_fail;
17048 {
17049 PyThreadState* __tstate = wxPyBeginAllowThreads();
17050 (arg1)->SetCollate(arg2);
17051
17052 wxPyEndAllowThreads(__tstate);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
17055 Py_INCREF(Py_None); resultobj = Py_None;
17056 return resultobj;
17057 fail:
17058 return NULL;
17059 }
17060
17061
17062 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17065 bool arg2 ;
17066 PyObject * obj0 = 0 ;
17067 PyObject * obj1 = 0 ;
17068 char *kwnames[] = {
17069 (char *) "self",(char *) "flag", NULL
17070 };
17071
17072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17074 arg2 = PyInt_AsLong(obj1) ? true : false;
17075 if (PyErr_Occurred()) SWIG_fail;
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 (arg1)->SetPrintToFile(arg2);
17079
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 Py_INCREF(Py_None); resultobj = Py_None;
17084 return resultobj;
17085 fail:
17086 return NULL;
17087 }
17088
17089
17090 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17093 bool arg2 ;
17094 PyObject * obj0 = 0 ;
17095 PyObject * obj1 = 0 ;
17096 char *kwnames[] = {
17097 (char *) "self",(char *) "flag", NULL
17098 };
17099
17100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17102 arg2 = PyInt_AsLong(obj1) ? true : false;
17103 if (PyErr_Occurred()) SWIG_fail;
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 (arg1)->SetSetupDialog(arg2);
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 Py_INCREF(Py_None); resultobj = Py_None;
17112 return resultobj;
17113 fail:
17114 return NULL;
17115 }
17116
17117
17118 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17119 PyObject *resultobj;
17120 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17121 bool arg2 ;
17122 PyObject * obj0 = 0 ;
17123 PyObject * obj1 = 0 ;
17124 char *kwnames[] = {
17125 (char *) "self",(char *) "flag", NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17130 arg2 = PyInt_AsLong(obj1) ? true : false;
17131 if (PyErr_Occurred()) SWIG_fail;
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 (arg1)->EnablePrintToFile(arg2);
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 Py_INCREF(Py_None); resultobj = Py_None;
17140 return resultobj;
17141 fail:
17142 return NULL;
17143 }
17144
17145
17146 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17147 PyObject *resultobj;
17148 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17149 bool arg2 ;
17150 PyObject * obj0 = 0 ;
17151 PyObject * obj1 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self",(char *) "flag", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17158 arg2 = PyInt_AsLong(obj1) ? true : false;
17159 if (PyErr_Occurred()) SWIG_fail;
17160 {
17161 PyThreadState* __tstate = wxPyBeginAllowThreads();
17162 (arg1)->EnableSelection(arg2);
17163
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 Py_INCREF(Py_None); resultobj = Py_None;
17168 return resultobj;
17169 fail:
17170 return NULL;
17171 }
17172
17173
17174 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj;
17176 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17177 bool arg2 ;
17178 PyObject * obj0 = 0 ;
17179 PyObject * obj1 = 0 ;
17180 char *kwnames[] = {
17181 (char *) "self",(char *) "flag", NULL
17182 };
17183
17184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17186 arg2 = PyInt_AsLong(obj1) ? true : false;
17187 if (PyErr_Occurred()) SWIG_fail;
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 (arg1)->EnablePageNumbers(arg2);
17191
17192 wxPyEndAllowThreads(__tstate);
17193 if (PyErr_Occurred()) SWIG_fail;
17194 }
17195 Py_INCREF(Py_None); resultobj = Py_None;
17196 return resultobj;
17197 fail:
17198 return NULL;
17199 }
17200
17201
17202 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17203 PyObject *resultobj;
17204 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17205 bool arg2 ;
17206 PyObject * obj0 = 0 ;
17207 PyObject * obj1 = 0 ;
17208 char *kwnames[] = {
17209 (char *) "self",(char *) "flag", NULL
17210 };
17211
17212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17214 arg2 = PyInt_AsLong(obj1) ? true : false;
17215 if (PyErr_Occurred()) SWIG_fail;
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 (arg1)->EnableHelp(arg2);
17219
17220 wxPyEndAllowThreads(__tstate);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 Py_INCREF(Py_None); resultobj = Py_None;
17224 return resultobj;
17225 fail:
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17233 bool result;
17234 PyObject * obj0 = 0 ;
17235 char *kwnames[] = {
17236 (char *) "self", NULL
17237 };
17238
17239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 resultobj = PyInt_FromLong((long)result);
17249 return resultobj;
17250 fail:
17251 return NULL;
17252 }
17253
17254
17255 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17258 bool result;
17259 PyObject * obj0 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 resultobj = PyInt_FromLong((long)result);
17274 return resultobj;
17275 fail:
17276 return NULL;
17277 }
17278
17279
17280 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17283 bool result;
17284 PyObject * obj0 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 resultobj = PyInt_FromLong((long)result);
17299 return resultobj;
17300 fail:
17301 return NULL;
17302 }
17303
17304
17305 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj;
17307 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17308 bool result;
17309 PyObject * obj0 = 0 ;
17310 char *kwnames[] = {
17311 (char *) "self", NULL
17312 };
17313
17314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17319
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 resultobj = PyInt_FromLong((long)result);
17324 return resultobj;
17325 fail:
17326 return NULL;
17327 }
17328
17329
17330 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj;
17332 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17333 bool result;
17334 PyObject * obj0 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "self", NULL
17337 };
17338
17339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17341 {
17342 PyThreadState* __tstate = wxPyBeginAllowThreads();
17343 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17344
17345 wxPyEndAllowThreads(__tstate);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 }
17348 resultobj = PyInt_FromLong((long)result);
17349 return resultobj;
17350 fail:
17351 return NULL;
17352 }
17353
17354
17355 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj;
17357 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17358 wxPrintData *result;
17359 PyObject * obj0 = 0 ;
17360 char *kwnames[] = {
17361 (char *) "self", NULL
17362 };
17363
17364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 {
17369 wxPrintData &_result_ref = (arg1)->GetPrintData();
17370 result = (wxPrintData *) &_result_ref;
17371 }
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17384 PyObject *resultobj;
17385 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17386 wxPrintData *arg2 = 0 ;
17387 PyObject * obj0 = 0 ;
17388 PyObject * obj1 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "self",(char *) "printData", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17396 if (arg2 == NULL) {
17397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17398 }
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 Py_INCREF(Py_None); resultobj = Py_None;
17407 return resultobj;
17408 fail:
17409 return NULL;
17410 }
17411
17412
17413 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17414 PyObject *obj;
17415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17416 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17417 Py_INCREF(obj);
17418 return Py_BuildValue((char *)"");
17419 }
17420 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17421 PyObject *resultobj;
17422 wxWindow *arg1 = (wxWindow *) 0 ;
17423 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17424 wxPrintDialog *result;
17425 PyObject * obj0 = 0 ;
17426 PyObject * obj1 = 0 ;
17427 char *kwnames[] = {
17428 (char *) "parent",(char *) "data", NULL
17429 };
17430
17431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17433 if (obj1) {
17434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17435 }
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17444 return resultobj;
17445 fail:
17446 return NULL;
17447 }
17448
17449
17450 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17451 PyObject *resultobj;
17452 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17453 wxPrintDialogData *result;
17454 PyObject * obj0 = 0 ;
17455 char *kwnames[] = {
17456 (char *) "self", NULL
17457 };
17458
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17461 {
17462 PyThreadState* __tstate = wxPyBeginAllowThreads();
17463 {
17464 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17465 result = (wxPrintDialogData *) &_result_ref;
17466 }
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17481 wxDC *result;
17482 PyObject * obj0 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 result = (wxDC *)(arg1)->GetPrintDC();
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 {
17497 resultobj = wxPyMake_wxObject(result);
17498 }
17499 return resultobj;
17500 fail:
17501 return NULL;
17502 }
17503
17504
17505 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17506 PyObject *resultobj;
17507 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17508 int result;
17509 PyObject * obj0 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "self", NULL
17512 };
17513
17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17516 {
17517 PyThreadState* __tstate = wxPyBeginAllowThreads();
17518 result = (int)(arg1)->ShowModal();
17519
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 resultobj = PyInt_FromLong((long)result);
17524 return resultobj;
17525 fail:
17526 return NULL;
17527 }
17528
17529
17530 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17531 PyObject *obj;
17532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17533 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17534 Py_INCREF(obj);
17535 return Py_BuildValue((char *)"");
17536 }
17537 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17538 PyObject *resultobj;
17539 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17540 wxPrinter *result;
17541 PyObject * obj0 = 0 ;
17542 char *kwnames[] = {
17543 (char *) "data", NULL
17544 };
17545
17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17547 if (obj0) {
17548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17549 }
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 result = (wxPrinter *)new wxPrinter(arg1);
17553
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxPrinter *arg1 = (wxPrinter *) 0 ;
17567 PyObject * obj0 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "self", NULL
17570 };
17571
17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 delete arg1;
17577
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 Py_INCREF(Py_None); resultobj = Py_None;
17582 return resultobj;
17583 fail:
17584 return NULL;
17585 }
17586
17587
17588 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxPrinter *arg1 = (wxPrinter *) 0 ;
17591 wxWindow *arg2 = (wxWindow *) 0 ;
17592 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj1 = 0 ;
17595 PyObject * obj2 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "parent",(char *) "printout", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17602 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17603 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 (arg1)->CreateAbortWindow(arg2,arg3);
17607
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 Py_INCREF(Py_None); resultobj = Py_None;
17612 return resultobj;
17613 fail:
17614 return NULL;
17615 }
17616
17617
17618 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17619 PyObject *resultobj;
17620 wxPrinter *arg1 = (wxPrinter *) 0 ;
17621 wxPrintDialogData *result;
17622 PyObject * obj0 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17629 {
17630 PyThreadState* __tstate = wxPyBeginAllowThreads();
17631 {
17632 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17633 result = (wxPrintDialogData *) &_result_ref;
17634 }
17635
17636 wxPyEndAllowThreads(__tstate);
17637 if (PyErr_Occurred()) SWIG_fail;
17638 }
17639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17640 return resultobj;
17641 fail:
17642 return NULL;
17643 }
17644
17645
17646 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17647 PyObject *resultobj;
17648 wxPrinter *arg1 = (wxPrinter *) 0 ;
17649 wxWindow *arg2 = (wxWindow *) 0 ;
17650 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17651 int arg4 = (int) True ;
17652 bool result;
17653 PyObject * obj0 = 0 ;
17654 PyObject * obj1 = 0 ;
17655 PyObject * obj2 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 resultobj = PyInt_FromLong((long)result);
17672 return resultobj;
17673 fail:
17674 return NULL;
17675 }
17676
17677
17678 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17679 PyObject *resultobj;
17680 wxPrinter *arg1 = (wxPrinter *) 0 ;
17681 wxWindow *arg2 = (wxWindow *) 0 ;
17682 wxDC *result;
17683 PyObject * obj0 = 0 ;
17684 PyObject * obj1 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self",(char *) "parent", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 result = (wxDC *)(arg1)->PrintDialog(arg2);
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 {
17700 resultobj = wxPyMake_wxObject(result);
17701 }
17702 return resultobj;
17703 fail:
17704 return NULL;
17705 }
17706
17707
17708 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
17709 PyObject *resultobj;
17710 wxPrinter *arg1 = (wxPrinter *) 0 ;
17711 wxWindow *arg2 = (wxWindow *) 0 ;
17712 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17713 wxString *arg4 = 0 ;
17714 bool temp4 = False ;
17715 PyObject * obj0 = 0 ;
17716 PyObject * obj1 = 0 ;
17717 PyObject * obj2 = 0 ;
17718 PyObject * obj3 = 0 ;
17719 char *kwnames[] = {
17720 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
17721 };
17722
17723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17726 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17727 {
17728 arg4 = wxString_in_helper(obj3);
17729 if (arg4 == NULL) SWIG_fail;
17730 temp4 = True;
17731 }
17732 {
17733 PyThreadState* __tstate = wxPyBeginAllowThreads();
17734 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
17735
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 Py_INCREF(Py_None); resultobj = Py_None;
17740 {
17741 if (temp4)
17742 delete arg4;
17743 }
17744 return resultobj;
17745 fail:
17746 {
17747 if (temp4)
17748 delete arg4;
17749 }
17750 return NULL;
17751 }
17752
17753
17754 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj;
17756 wxPrinter *arg1 = (wxPrinter *) 0 ;
17757 wxWindow *arg2 = (wxWindow *) 0 ;
17758 bool result;
17759 PyObject * obj0 = 0 ;
17760 PyObject * obj1 = 0 ;
17761 char *kwnames[] = {
17762 (char *) "self",(char *) "parent", NULL
17763 };
17764
17765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
17766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17767 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (bool)(arg1)->Setup(arg2);
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 resultobj = PyInt_FromLong((long)result);
17776 return resultobj;
17777 fail:
17778 return NULL;
17779 }
17780
17781
17782 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
17783 PyObject *resultobj;
17784 wxPrinter *arg1 = (wxPrinter *) 0 ;
17785 bool result;
17786 PyObject * obj0 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
17792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17793 {
17794 PyThreadState* __tstate = wxPyBeginAllowThreads();
17795 result = (bool)(arg1)->GetAbort();
17796
17797 wxPyEndAllowThreads(__tstate);
17798 if (PyErr_Occurred()) SWIG_fail;
17799 }
17800 resultobj = PyInt_FromLong((long)result);
17801 return resultobj;
17802 fail:
17803 return NULL;
17804 }
17805
17806
17807 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
17808 PyObject *resultobj;
17809 int result;
17810 char *kwnames[] = {
17811 NULL
17812 };
17813
17814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
17815 {
17816 PyThreadState* __tstate = wxPyBeginAllowThreads();
17817 result = (int)wxPrinter::GetLastError();
17818
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 resultobj = PyInt_FromLong((long)result);
17823 return resultobj;
17824 fail:
17825 return NULL;
17826 }
17827
17828
17829 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
17830 PyObject *obj;
17831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17832 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
17833 Py_INCREF(obj);
17834 return Py_BuildValue((char *)"");
17835 }
17836 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
17839 wxString *arg1 = (wxString *) &arg1_defvalue ;
17840 wxPyPrintout *result;
17841 bool temp1 = False ;
17842 PyObject * obj0 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "title", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
17848 if (obj0) {
17849 {
17850 arg1 = wxString_in_helper(obj0);
17851 if (arg1 == NULL) SWIG_fail;
17852 temp1 = True;
17853 }
17854 }
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 {
17863 resultobj = wxPyMake_wxObject(result);
17864 }
17865 {
17866 if (temp1)
17867 delete arg1;
17868 }
17869 return resultobj;
17870 fail:
17871 {
17872 if (temp1)
17873 delete arg1;
17874 }
17875 return NULL;
17876 }
17877
17878
17879 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17882 PyObject *arg2 = (PyObject *) 0 ;
17883 PyObject *arg3 = (PyObject *) 0 ;
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj1 = 0 ;
17886 PyObject * obj2 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self",(char *) "self",(char *) "_class", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 arg2 = obj1;
17894 arg3 = obj2;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 (arg1)->_setCallbackInfo(arg2,arg3);
17898
17899 wxPyEndAllowThreads(__tstate);
17900 if (PyErr_Occurred()) SWIG_fail;
17901 }
17902 Py_INCREF(Py_None); resultobj = Py_None;
17903 return resultobj;
17904 fail:
17905 return NULL;
17906 }
17907
17908
17909 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
17910 PyObject *resultobj;
17911 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17912 wxString result;
17913 PyObject * obj0 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 result = ((wxPyPrintout const *)arg1)->GetTitle();
17923
17924 wxPyEndAllowThreads(__tstate);
17925 if (PyErr_Occurred()) SWIG_fail;
17926 }
17927 {
17928 #if wxUSE_UNICODE
17929 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17930 #else
17931 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17932 #endif
17933 }
17934 return resultobj;
17935 fail:
17936 return NULL;
17937 }
17938
17939
17940 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17941 PyObject *resultobj;
17942 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17943 wxDC *result;
17944 PyObject * obj0 = 0 ;
17945 char *kwnames[] = {
17946 (char *) "self", NULL
17947 };
17948
17949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
17950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = (wxDC *)(arg1)->GetDC();
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 {
17959 resultobj = wxPyMake_wxObject(result);
17960 }
17961 return resultobj;
17962 fail:
17963 return NULL;
17964 }
17965
17966
17967 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17968 PyObject *resultobj;
17969 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17970 wxDC *arg2 = (wxDC *) 0 ;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "dc", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 (arg1)->SetDC(arg2);
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 Py_INCREF(Py_None); resultobj = Py_None;
17988 return resultobj;
17989 fail:
17990 return NULL;
17991 }
17992
17993
17994 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
17995 PyObject *resultobj;
17996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
17997 int arg2 ;
17998 int arg3 ;
17999 PyObject * obj0 = 0 ;
18000 char *kwnames[] = {
18001 (char *) "self",(char *) "w",(char *) "h", NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 (arg1)->SetPageSizePixels(arg2,arg3);
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 Py_INCREF(Py_None); resultobj = Py_None;
18014 return resultobj;
18015 fail:
18016 return NULL;
18017 }
18018
18019
18020 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18021 PyObject *resultobj;
18022 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18023 int *arg2 = (int *) 0 ;
18024 int *arg3 = (int *) 0 ;
18025 int temp2 ;
18026 int temp3 ;
18027 PyObject * obj0 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self", NULL
18030 };
18031
18032 arg2 = &temp2;
18033 arg3 = &temp3;
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 (arg1)->GetPageSizePixels(arg2,arg3);
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 Py_INCREF(Py_None); resultobj = Py_None;
18044 {
18045 PyObject *o = PyInt_FromLong((long) (*arg2));
18046 resultobj = t_output_helper(resultobj,o);
18047 }
18048 {
18049 PyObject *o = PyInt_FromLong((long) (*arg3));
18050 resultobj = t_output_helper(resultobj,o);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18061 int arg2 ;
18062 int arg3 ;
18063 PyObject * obj0 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self",(char *) "w",(char *) "h", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 (arg1)->SetPageSizeMM(arg2,arg3);
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 Py_INCREF(Py_None); resultobj = Py_None;
18078 return resultobj;
18079 fail:
18080 return NULL;
18081 }
18082
18083
18084 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18085 PyObject *resultobj;
18086 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18087 int *arg2 = (int *) 0 ;
18088 int *arg3 = (int *) 0 ;
18089 int temp2 ;
18090 int temp3 ;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self", NULL
18094 };
18095
18096 arg2 = &temp2;
18097 arg3 = &temp3;
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 (arg1)->GetPageSizeMM(arg2,arg3);
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 Py_INCREF(Py_None); resultobj = Py_None;
18108 {
18109 PyObject *o = PyInt_FromLong((long) (*arg2));
18110 resultobj = t_output_helper(resultobj,o);
18111 }
18112 {
18113 PyObject *o = PyInt_FromLong((long) (*arg3));
18114 resultobj = t_output_helper(resultobj,o);
18115 }
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj;
18124 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18125 int arg2 ;
18126 int arg3 ;
18127 PyObject * obj0 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self",(char *) "x",(char *) "y", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 (arg1)->SetPPIScreen(arg2,arg3);
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 Py_INCREF(Py_None); resultobj = Py_None;
18142 return resultobj;
18143 fail:
18144 return NULL;
18145 }
18146
18147
18148 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18149 PyObject *resultobj;
18150 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18151 int *arg2 = (int *) 0 ;
18152 int *arg3 = (int *) 0 ;
18153 int temp2 ;
18154 int temp3 ;
18155 PyObject * obj0 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self", NULL
18158 };
18159
18160 arg2 = &temp2;
18161 arg3 = &temp3;
18162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 (arg1)->GetPPIScreen(arg2,arg3);
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 Py_INCREF(Py_None); resultobj = Py_None;
18172 {
18173 PyObject *o = PyInt_FromLong((long) (*arg2));
18174 resultobj = t_output_helper(resultobj,o);
18175 }
18176 {
18177 PyObject *o = PyInt_FromLong((long) (*arg3));
18178 resultobj = t_output_helper(resultobj,o);
18179 }
18180 return resultobj;
18181 fail:
18182 return NULL;
18183 }
18184
18185
18186 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18187 PyObject *resultobj;
18188 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18189 int arg2 ;
18190 int arg3 ;
18191 PyObject * obj0 = 0 ;
18192 char *kwnames[] = {
18193 (char *) "self",(char *) "x",(char *) "y", NULL
18194 };
18195
18196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 (arg1)->SetPPIPrinter(arg2,arg3);
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 Py_INCREF(Py_None); resultobj = Py_None;
18206 return resultobj;
18207 fail:
18208 return NULL;
18209 }
18210
18211
18212 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18213 PyObject *resultobj;
18214 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18215 int *arg2 = (int *) 0 ;
18216 int *arg3 = (int *) 0 ;
18217 int temp2 ;
18218 int temp3 ;
18219 PyObject * obj0 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self", NULL
18222 };
18223
18224 arg2 = &temp2;
18225 arg3 = &temp3;
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18228 {
18229 PyThreadState* __tstate = wxPyBeginAllowThreads();
18230 (arg1)->GetPPIPrinter(arg2,arg3);
18231
18232 wxPyEndAllowThreads(__tstate);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 Py_INCREF(Py_None); resultobj = Py_None;
18236 {
18237 PyObject *o = PyInt_FromLong((long) (*arg2));
18238 resultobj = t_output_helper(resultobj,o);
18239 }
18240 {
18241 PyObject *o = PyInt_FromLong((long) (*arg3));
18242 resultobj = t_output_helper(resultobj,o);
18243 }
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18253 bool result;
18254 PyObject * obj0 = 0 ;
18255 char *kwnames[] = {
18256 (char *) "self", NULL
18257 };
18258
18259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (bool)(arg1)->IsPreview();
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 resultobj = PyInt_FromLong((long)result);
18269 return resultobj;
18270 fail:
18271 return NULL;
18272 }
18273
18274
18275 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18276 PyObject *resultobj;
18277 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18278 bool arg2 ;
18279 PyObject * obj0 = 0 ;
18280 PyObject * obj1 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "p", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18287 arg2 = PyInt_AsLong(obj1) ? true : false;
18288 if (PyErr_Occurred()) SWIG_fail;
18289 {
18290 PyThreadState* __tstate = wxPyBeginAllowThreads();
18291 (arg1)->SetIsPreview(arg2);
18292
18293 wxPyEndAllowThreads(__tstate);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 Py_INCREF(Py_None); resultobj = Py_None;
18297 return resultobj;
18298 fail:
18299 return NULL;
18300 }
18301
18302
18303 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18304 PyObject *resultobj;
18305 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18306 int arg2 ;
18307 int arg3 ;
18308 bool result;
18309 PyObject * obj0 = 0 ;
18310 char *kwnames[] = {
18311 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18312 };
18313
18314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18316 {
18317 PyThreadState* __tstate = wxPyBeginAllowThreads();
18318 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18319
18320 wxPyEndAllowThreads(__tstate);
18321 if (PyErr_Occurred()) SWIG_fail;
18322 }
18323 resultobj = PyInt_FromLong((long)result);
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18333 PyObject * obj0 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self", NULL
18336 };
18337
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 (arg1)->base_OnEndDocument();
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 Py_INCREF(Py_None); resultobj = Py_None;
18348 return resultobj;
18349 fail:
18350 return NULL;
18351 }
18352
18353
18354 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18357 PyObject * obj0 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 (arg1)->base_OnBeginPrinting();
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 Py_INCREF(Py_None); resultobj = Py_None;
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18379 PyObject *resultobj;
18380 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18381 PyObject * obj0 = 0 ;
18382 char *kwnames[] = {
18383 (char *) "self", NULL
18384 };
18385
18386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 (arg1)->base_OnEndPrinting();
18391
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 Py_INCREF(Py_None); resultobj = Py_None;
18396 return resultobj;
18397 fail:
18398 return NULL;
18399 }
18400
18401
18402 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18403 PyObject *resultobj;
18404 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18405 PyObject * obj0 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 (arg1)->base_OnPreparePrinting();
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 Py_INCREF(Py_None); resultobj = Py_None;
18420 return resultobj;
18421 fail:
18422 return NULL;
18423 }
18424
18425
18426 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18427 PyObject *resultobj;
18428 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18429 int arg2 ;
18430 bool result;
18431 PyObject * obj0 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self",(char *) "page", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 result = (bool)(arg1)->base_HasPage(arg2);
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 resultobj = PyInt_FromLong((long)result);
18446 return resultobj;
18447 fail:
18448 return NULL;
18449 }
18450
18451
18452 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18453 PyObject *resultobj;
18454 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18455 int *arg2 = (int *) 0 ;
18456 int *arg3 = (int *) 0 ;
18457 int *arg4 = (int *) 0 ;
18458 int *arg5 = (int *) 0 ;
18459 int temp2 ;
18460 int temp3 ;
18461 int temp4 ;
18462 int temp5 ;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 arg2 = &temp2;
18469 arg3 = &temp3;
18470 arg4 = &temp4;
18471 arg5 = &temp5;
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 Py_INCREF(Py_None); resultobj = Py_None;
18482 {
18483 PyObject *o = PyInt_FromLong((long) (*arg2));
18484 resultobj = t_output_helper(resultobj,o);
18485 }
18486 {
18487 PyObject *o = PyInt_FromLong((long) (*arg3));
18488 resultobj = t_output_helper(resultobj,o);
18489 }
18490 {
18491 PyObject *o = PyInt_FromLong((long) (*arg4));
18492 resultobj = t_output_helper(resultobj,o);
18493 }
18494 {
18495 PyObject *o = PyInt_FromLong((long) (*arg5));
18496 resultobj = t_output_helper(resultobj,o);
18497 }
18498 return resultobj;
18499 fail:
18500 return NULL;
18501 }
18502
18503
18504 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18505 PyObject *obj;
18506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18507 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18508 Py_INCREF(obj);
18509 return Py_BuildValue((char *)"");
18510 }
18511 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18514 wxWindow *arg2 = (wxWindow *) 0 ;
18515 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18516 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18517 wxSize const &arg4_defvalue = wxDefaultSize ;
18518 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18519 long arg5 = (long) 0 ;
18520 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18521 wxString *arg6 = (wxString *) &arg6_defvalue ;
18522 wxPreviewCanvas *result;
18523 wxPoint temp3 ;
18524 wxSize temp4 ;
18525 bool temp6 = False ;
18526 PyObject * obj0 = 0 ;
18527 PyObject * obj1 = 0 ;
18528 PyObject * obj2 = 0 ;
18529 PyObject * obj3 = 0 ;
18530 PyObject * obj5 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18538 if (obj2) {
18539 {
18540 arg3 = &temp3;
18541 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18542 }
18543 }
18544 if (obj3) {
18545 {
18546 arg4 = &temp4;
18547 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18548 }
18549 }
18550 if (obj5) {
18551 {
18552 arg6 = wxString_in_helper(obj5);
18553 if (arg6 == NULL) SWIG_fail;
18554 temp6 = True;
18555 }
18556 }
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18565 {
18566 if (temp6)
18567 delete arg6;
18568 }
18569 return resultobj;
18570 fail:
18571 {
18572 if (temp6)
18573 delete arg6;
18574 }
18575 return NULL;
18576 }
18577
18578
18579 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18580 PyObject *obj;
18581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18582 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18583 Py_INCREF(obj);
18584 return Py_BuildValue((char *)"");
18585 }
18586 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18587 PyObject *resultobj;
18588 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18589 wxFrame *arg2 = (wxFrame *) 0 ;
18590 wxString *arg3 = 0 ;
18591 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18592 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18593 wxSize const &arg5_defvalue = wxDefaultSize ;
18594 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18595 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18596 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18597 wxString *arg7 = (wxString *) &arg7_defvalue ;
18598 wxPreviewFrame *result;
18599 bool temp3 = False ;
18600 wxPoint temp4 ;
18601 wxSize temp5 ;
18602 bool temp7 = False ;
18603 PyObject * obj0 = 0 ;
18604 PyObject * obj1 = 0 ;
18605 PyObject * obj2 = 0 ;
18606 PyObject * obj3 = 0 ;
18607 PyObject * obj4 = 0 ;
18608 PyObject * obj6 = 0 ;
18609 char *kwnames[] = {
18610 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18611 };
18612
18613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 {
18617 arg3 = wxString_in_helper(obj2);
18618 if (arg3 == NULL) SWIG_fail;
18619 temp3 = True;
18620 }
18621 if (obj3) {
18622 {
18623 arg4 = &temp4;
18624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18625 }
18626 }
18627 if (obj4) {
18628 {
18629 arg5 = &temp5;
18630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18631 }
18632 }
18633 if (obj6) {
18634 {
18635 arg7 = wxString_in_helper(obj6);
18636 if (arg7 == NULL) SWIG_fail;
18637 temp7 = True;
18638 }
18639 }
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18648 {
18649 if (temp3)
18650 delete arg3;
18651 }
18652 {
18653 if (temp7)
18654 delete arg7;
18655 }
18656 return resultobj;
18657 fail:
18658 {
18659 if (temp3)
18660 delete arg3;
18661 }
18662 {
18663 if (temp7)
18664 delete arg7;
18665 }
18666 return NULL;
18667 }
18668
18669
18670 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18671 PyObject *resultobj;
18672 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18673 PyObject * obj0 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 (arg1)->Initialize();
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 Py_INCREF(Py_None); resultobj = Py_None;
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18697 PyObject * obj0 = 0 ;
18698 char *kwnames[] = {
18699 (char *) "self", NULL
18700 };
18701
18702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
18703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 (arg1)->CreateControlBar();
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 Py_INCREF(Py_None); resultobj = Py_None;
18712 return resultobj;
18713 fail:
18714 return NULL;
18715 }
18716
18717
18718 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj;
18720 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18721 PyObject * obj0 = 0 ;
18722 char *kwnames[] = {
18723 (char *) "self", NULL
18724 };
18725
18726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
18727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 (arg1)->CreateCanvas();
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 Py_INCREF(Py_None); resultobj = Py_None;
18736 return resultobj;
18737 fail:
18738 return NULL;
18739 }
18740
18741
18742 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18743 PyObject *resultobj;
18744 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18745 wxPreviewControlBar *result;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
18752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
18768 PyObject *obj;
18769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18770 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
18771 Py_INCREF(obj);
18772 return Py_BuildValue((char *)"");
18773 }
18774 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18777 long arg2 ;
18778 wxWindow *arg3 = (wxWindow *) 0 ;
18779 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18780 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18781 wxSize const &arg5_defvalue = wxDefaultSize ;
18782 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18783 long arg6 = (long) wxTAB_TRAVERSAL ;
18784 wxString const &arg7_defvalue = wxPyPanelNameStr ;
18785 wxString *arg7 = (wxString *) &arg7_defvalue ;
18786 wxPreviewControlBar *result;
18787 wxPoint temp4 ;
18788 wxSize temp5 ;
18789 bool temp7 = False ;
18790 PyObject * obj0 = 0 ;
18791 PyObject * obj2 = 0 ;
18792 PyObject * obj3 = 0 ;
18793 PyObject * obj4 = 0 ;
18794 PyObject * obj6 = 0 ;
18795 char *kwnames[] = {
18796 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18797 };
18798
18799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18801 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18802 if (obj3) {
18803 {
18804 arg4 = &temp4;
18805 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18806 }
18807 }
18808 if (obj4) {
18809 {
18810 arg5 = &temp5;
18811 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18812 }
18813 }
18814 if (obj6) {
18815 {
18816 arg7 = wxString_in_helper(obj6);
18817 if (arg7 == NULL) SWIG_fail;
18818 temp7 = True;
18819 }
18820 }
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
18829 {
18830 if (temp7)
18831 delete arg7;
18832 }
18833 return resultobj;
18834 fail:
18835 {
18836 if (temp7)
18837 delete arg7;
18838 }
18839 return NULL;
18840 }
18841
18842
18843 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18846 int result;
18847 PyObject * obj0 = 0 ;
18848 char *kwnames[] = {
18849 (char *) "self", NULL
18850 };
18851
18852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
18853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 result = (int)(arg1)->GetZoomControl();
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 resultobj = PyInt_FromLong((long)result);
18862 return resultobj;
18863 fail:
18864 return NULL;
18865 }
18866
18867
18868 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18871 int arg2 ;
18872 PyObject * obj0 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "zoom", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 (arg1)->SetZoomControl(arg2);
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 Py_INCREF(Py_None); resultobj = Py_None;
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18896 wxPrintPreview *result;
18897 PyObject * obj0 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
18903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
18912 return resultobj;
18913 fail:
18914 return NULL;
18915 }
18916
18917
18918 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj;
18920 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18921 PyObject * obj0 = 0 ;
18922 char *kwnames[] = {
18923 (char *) "self", NULL
18924 };
18925
18926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
18927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
18930 (arg1)->OnNext();
18931
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 Py_INCREF(Py_None); resultobj = Py_None;
18936 return resultobj;
18937 fail:
18938 return NULL;
18939 }
18940
18941
18942 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
18943 PyObject *resultobj;
18944 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18945 PyObject * obj0 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
18951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18952 {
18953 PyThreadState* __tstate = wxPyBeginAllowThreads();
18954 (arg1)->OnPrevious();
18955
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 Py_INCREF(Py_None); resultobj = Py_None;
18960 return resultobj;
18961 fail:
18962 return NULL;
18963 }
18964
18965
18966 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
18967 PyObject *resultobj;
18968 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18969 PyObject * obj0 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "self", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
18975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18976 {
18977 PyThreadState* __tstate = wxPyBeginAllowThreads();
18978 (arg1)->OnFirst();
18979
18980 wxPyEndAllowThreads(__tstate);
18981 if (PyErr_Occurred()) SWIG_fail;
18982 }
18983 Py_INCREF(Py_None); resultobj = Py_None;
18984 return resultobj;
18985 fail:
18986 return NULL;
18987 }
18988
18989
18990 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
18991 PyObject *resultobj;
18992 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
18993 PyObject * obj0 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 (arg1)->OnLast();
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 Py_INCREF(Py_None); resultobj = Py_None;
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj;
19016 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19017 PyObject * obj0 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 (arg1)->OnGoto();
19027
19028 wxPyEndAllowThreads(__tstate);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
19031 Py_INCREF(Py_None); resultobj = Py_None;
19032 return resultobj;
19033 fail:
19034 return NULL;
19035 }
19036
19037
19038 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19039 PyObject *obj;
19040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19041 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19042 Py_INCREF(obj);
19043 return Py_BuildValue((char *)"");
19044 }
19045 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19048 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19049 wxPrintData *arg3 = (wxPrintData *) NULL ;
19050 wxPrintPreview *result;
19051 PyObject * obj0 = 0 ;
19052 PyObject * obj1 = 0 ;
19053 PyObject * obj2 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19061 if (obj2) {
19062 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19063 }
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19072 return resultobj;
19073 fail:
19074 return NULL;
19075 }
19076
19077
19078 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19079 PyObject *resultobj;
19080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19081 int arg2 ;
19082 bool result;
19083 PyObject * obj0 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "pageNum", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 result = (bool)(arg1)->SetCurrentPage(arg2);
19093
19094 wxPyEndAllowThreads(__tstate);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 }
19097 resultobj = PyInt_FromLong((long)result);
19098 return resultobj;
19099 fail:
19100 return NULL;
19101 }
19102
19103
19104 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19105 PyObject *resultobj;
19106 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19107 int result;
19108 PyObject * obj0 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 result = (int)(arg1)->GetCurrentPage();
19118
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 resultobj = PyInt_FromLong((long)result);
19123 return resultobj;
19124 fail:
19125 return NULL;
19126 }
19127
19128
19129 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19132 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19133 PyObject * obj0 = 0 ;
19134 PyObject * obj1 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "printout", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 (arg1)->SetPrintout(arg2);
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 Py_INCREF(Py_None); resultobj = Py_None;
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19159 wxPyPrintout *result;
19160 PyObject * obj0 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 result = (wxPyPrintout *)(arg1)->GetPrintout();
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 {
19175 resultobj = wxPyMake_wxObject(result);
19176 }
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19186 wxPyPrintout *result;
19187 PyObject * obj0 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "self", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 {
19202 resultobj = wxPyMake_wxObject(result);
19203 }
19204 return resultobj;
19205 fail:
19206 return NULL;
19207 }
19208
19209
19210 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19211 PyObject *resultobj;
19212 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19213 wxFrame *arg2 = (wxFrame *) 0 ;
19214 PyObject * obj0 = 0 ;
19215 PyObject * obj1 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self",(char *) "frame", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
19225 (arg1)->SetFrame(arg2);
19226
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 Py_INCREF(Py_None); resultobj = Py_None;
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj;
19239 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19240 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19241 PyObject * obj0 = 0 ;
19242 PyObject * obj1 = 0 ;
19243 char *kwnames[] = {
19244 (char *) "self",(char *) "canvas", NULL
19245 };
19246
19247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19250 {
19251 PyThreadState* __tstate = wxPyBeginAllowThreads();
19252 (arg1)->SetCanvas(arg2);
19253
19254 wxPyEndAllowThreads(__tstate);
19255 if (PyErr_Occurred()) SWIG_fail;
19256 }
19257 Py_INCREF(Py_None); resultobj = Py_None;
19258 return resultobj;
19259 fail:
19260 return NULL;
19261 }
19262
19263
19264 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19267 wxFrame *result;
19268 PyObject * obj0 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19275 {
19276 PyThreadState* __tstate = wxPyBeginAllowThreads();
19277 result = (wxFrame *)(arg1)->GetFrame();
19278
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 {
19283 resultobj = wxPyMake_wxObject(result);
19284 }
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19294 wxPreviewCanvas *result;
19295 PyObject * obj0 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19305
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
19309 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19310 return resultobj;
19311 fail:
19312 return NULL;
19313 }
19314
19315
19316 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19317 PyObject *resultobj;
19318 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19319 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19320 wxDC *arg3 = 0 ;
19321 bool result;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 PyObject * obj2 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19332 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19333 if (arg3 == NULL) {
19334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19335 }
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 resultobj = PyInt_FromLong((long)result);
19344 return resultobj;
19345 fail:
19346 return NULL;
19347 }
19348
19349
19350 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19351 PyObject *resultobj;
19352 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19353 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19354 wxDC *arg3 = 0 ;
19355 bool result;
19356 PyObject * obj0 = 0 ;
19357 PyObject * obj1 = 0 ;
19358 PyObject * obj2 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19366 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19367 if (arg3 == NULL) {
19368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19369 }
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 resultobj = PyInt_FromLong((long)result);
19378 return resultobj;
19379 fail:
19380 return NULL;
19381 }
19382
19383
19384 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19387 int arg2 ;
19388 bool result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self",(char *) "pageNum", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 result = (bool)(arg1)->RenderPage(arg2);
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 resultobj = PyInt_FromLong((long)result);
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19413 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self",(char *) "canvas", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 (arg1)->AdjustScrollbars(arg2);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 Py_INCREF(Py_None); resultobj = Py_None;
19431 return resultobj;
19432 fail:
19433 return NULL;
19434 }
19435
19436
19437 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj;
19439 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19440 wxPrintDialogData *result;
19441 PyObject * obj0 = 0 ;
19442 char *kwnames[] = {
19443 (char *) "self", NULL
19444 };
19445
19446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 {
19451 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19452 result = (wxPrintDialogData *) &_result_ref;
19453 }
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19459 return resultobj;
19460 fail:
19461 return NULL;
19462 }
19463
19464
19465 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19466 PyObject *resultobj;
19467 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19468 int arg2 ;
19469 PyObject * obj0 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self",(char *) "percent", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19476 {
19477 PyThreadState* __tstate = wxPyBeginAllowThreads();
19478 (arg1)->SetZoom(arg2);
19479
19480 wxPyEndAllowThreads(__tstate);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 Py_INCREF(Py_None); resultobj = Py_None;
19484 return resultobj;
19485 fail:
19486 return NULL;
19487 }
19488
19489
19490 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19493 int result;
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",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 = (int)(arg1)->GetZoom();
19504
19505 wxPyEndAllowThreads(__tstate);
19506 if (PyErr_Occurred()) SWIG_fail;
19507 }
19508 resultobj = PyInt_FromLong((long)result);
19509 return resultobj;
19510 fail:
19511 return NULL;
19512 }
19513
19514
19515 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19516 PyObject *resultobj;
19517 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19518 int result;
19519 PyObject * obj0 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "self", NULL
19522 };
19523
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19526 {
19527 PyThreadState* __tstate = wxPyBeginAllowThreads();
19528 result = (int)(arg1)->GetMaxPage();
19529
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 resultobj = PyInt_FromLong((long)result);
19534 return resultobj;
19535 fail:
19536 return NULL;
19537 }
19538
19539
19540 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19541 PyObject *resultobj;
19542 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19543 int result;
19544 PyObject * obj0 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 result = (int)(arg1)->GetMinPage();
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 resultobj = PyInt_FromLong((long)result);
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19568 bool result;
19569 PyObject * obj0 = 0 ;
19570 char *kwnames[] = {
19571 (char *) "self", NULL
19572 };
19573
19574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 result = (bool)(arg1)->Ok();
19579
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
19583 resultobj = PyInt_FromLong((long)result);
19584 return resultobj;
19585 fail:
19586 return NULL;
19587 }
19588
19589
19590 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj;
19592 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19593 bool arg2 ;
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj1 = 0 ;
19596 char *kwnames[] = {
19597 (char *) "self",(char *) "ok", NULL
19598 };
19599
19600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19602 arg2 = PyInt_AsLong(obj1) ? true : false;
19603 if (PyErr_Occurred()) SWIG_fail;
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 (arg1)->SetOk(arg2);
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 Py_INCREF(Py_None); resultobj = Py_None;
19612 return resultobj;
19613 fail:
19614 return NULL;
19615 }
19616
19617
19618 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19621 bool arg2 ;
19622 bool result;
19623 PyObject * obj0 = 0 ;
19624 PyObject * obj1 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "self",(char *) "interactive", NULL
19627 };
19628
19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19631 arg2 = PyInt_AsLong(obj1) ? true : false;
19632 if (PyErr_Occurred()) SWIG_fail;
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
19635 result = (bool)(arg1)->Print(arg2);
19636
19637 wxPyEndAllowThreads(__tstate);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 }
19640 resultobj = PyInt_FromLong((long)result);
19641 return resultobj;
19642 fail:
19643 return NULL;
19644 }
19645
19646
19647 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19648 PyObject *resultobj;
19649 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19650 PyObject * obj0 = 0 ;
19651 char *kwnames[] = {
19652 (char *) "self", NULL
19653 };
19654
19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19657 {
19658 PyThreadState* __tstate = wxPyBeginAllowThreads();
19659 (arg1)->DetermineScaling();
19660
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 Py_INCREF(Py_None); resultobj = Py_None;
19665 return resultobj;
19666 fail:
19667 return NULL;
19668 }
19669
19670
19671 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19672 PyObject *obj;
19673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19674 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19675 Py_INCREF(obj);
19676 return Py_BuildValue((char *)"");
19677 }
19678 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19681 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19682 wxPrintData *arg3 = (wxPrintData *) NULL ;
19683 wxPyPrintPreview *result;
19684 PyObject * obj0 = 0 ;
19685 PyObject * obj1 = 0 ;
19686 PyObject * obj2 = 0 ;
19687 char *kwnames[] = {
19688 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19689 };
19690
19691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19694 if (obj2) {
19695 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19696 }
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
19700
19701 wxPyEndAllowThreads(__tstate);
19702 if (PyErr_Occurred()) SWIG_fail;
19703 }
19704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
19705 return resultobj;
19706 fail:
19707 return NULL;
19708 }
19709
19710
19711 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19712 PyObject *resultobj;
19713 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19714 PyObject *arg2 = (PyObject *) 0 ;
19715 PyObject *arg3 = (PyObject *) 0 ;
19716 PyObject * obj0 = 0 ;
19717 PyObject * obj1 = 0 ;
19718 PyObject * obj2 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self",(char *) "self",(char *) "_class", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19725 arg2 = obj1;
19726 arg3 = obj2;
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 (arg1)->_setCallbackInfo(arg2,arg3);
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 Py_INCREF(Py_None); resultobj = Py_None;
19735 return resultobj;
19736 fail:
19737 return NULL;
19738 }
19739
19740
19741 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj;
19743 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19744 int arg2 ;
19745 bool result;
19746 PyObject * obj0 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self",(char *) "pageNum", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 result = (bool)(arg1)->base_SetCurrentPage(arg2);
19756
19757 wxPyEndAllowThreads(__tstate);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 }
19760 resultobj = PyInt_FromLong((long)result);
19761 return resultobj;
19762 fail:
19763 return NULL;
19764 }
19765
19766
19767 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19768 PyObject *resultobj;
19769 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19770 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19771 wxDC *arg3 = 0 ;
19772 bool result;
19773 PyObject * obj0 = 0 ;
19774 PyObject * obj1 = 0 ;
19775 PyObject * obj2 = 0 ;
19776 char *kwnames[] = {
19777 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19778 };
19779
19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19784 if (arg3 == NULL) {
19785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19786 }
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 resultobj = PyInt_FromLong((long)result);
19795 return resultobj;
19796 fail:
19797 return NULL;
19798 }
19799
19800
19801 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj;
19803 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19804 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19805 wxDC *arg3 = 0 ;
19806 bool result;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 PyObject * obj2 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19817 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19818 if (arg3 == NULL) {
19819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19820 }
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 resultobj = PyInt_FromLong((long)result);
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19838 int arg2 ;
19839 bool result;
19840 PyObject * obj0 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self",(char *) "pageNum", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 result = (bool)(arg1)->base_RenderPage(arg2);
19850
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 resultobj = PyInt_FromLong((long)result);
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19864 int arg2 ;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self",(char *) "percent", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 (arg1)->base_SetZoom(arg2);
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 Py_INCREF(Py_None); resultobj = Py_None;
19880 return resultobj;
19881 fail:
19882 return NULL;
19883 }
19884
19885
19886 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19887 PyObject *resultobj;
19888 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19889 bool arg2 ;
19890 bool result;
19891 PyObject * obj0 = 0 ;
19892 PyObject * obj1 = 0 ;
19893 char *kwnames[] = {
19894 (char *) "self",(char *) "interactive", NULL
19895 };
19896
19897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
19898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19899 arg2 = PyInt_AsLong(obj1) ? true : false;
19900 if (PyErr_Occurred()) SWIG_fail;
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (bool)(arg1)->base_Print(arg2);
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 resultobj = PyInt_FromLong((long)result);
19909 return resultobj;
19910 fail:
19911 return NULL;
19912 }
19913
19914
19915 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj;
19917 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
19924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 (arg1)->base_DetermineScaling();
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 Py_INCREF(Py_None); resultobj = Py_None;
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
19940 PyObject *obj;
19941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19942 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
19943 Py_INCREF(obj);
19944 return Py_BuildValue((char *)"");
19945 }
19946 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj;
19948 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19949 wxFrame *arg2 = (wxFrame *) 0 ;
19950 wxString *arg3 = 0 ;
19951 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19952 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19953 wxSize const &arg5_defvalue = wxDefaultSize ;
19954 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19955 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19956 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19957 wxString *arg7 = (wxString *) &arg7_defvalue ;
19958 wxPyPreviewFrame *result;
19959 bool temp3 = False ;
19960 wxPoint temp4 ;
19961 wxSize temp5 ;
19962 bool temp7 = False ;
19963 PyObject * obj0 = 0 ;
19964 PyObject * obj1 = 0 ;
19965 PyObject * obj2 = 0 ;
19966 PyObject * obj3 = 0 ;
19967 PyObject * obj4 = 0 ;
19968 PyObject * obj6 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 {
19977 arg3 = wxString_in_helper(obj2);
19978 if (arg3 == NULL) SWIG_fail;
19979 temp3 = True;
19980 }
19981 if (obj3) {
19982 {
19983 arg4 = &temp4;
19984 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19985 }
19986 }
19987 if (obj4) {
19988 {
19989 arg5 = &temp5;
19990 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19991 }
19992 }
19993 if (obj6) {
19994 {
19995 arg7 = wxString_in_helper(obj6);
19996 if (arg7 == NULL) SWIG_fail;
19997 temp7 = True;
19998 }
19999 }
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20008 {
20009 if (temp3)
20010 delete arg3;
20011 }
20012 {
20013 if (temp7)
20014 delete arg7;
20015 }
20016 return resultobj;
20017 fail:
20018 {
20019 if (temp3)
20020 delete arg3;
20021 }
20022 {
20023 if (temp7)
20024 delete arg7;
20025 }
20026 return NULL;
20027 }
20028
20029
20030 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20031 PyObject *resultobj;
20032 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20033 PyObject *arg2 = (PyObject *) 0 ;
20034 PyObject *arg3 = (PyObject *) 0 ;
20035 PyObject * obj0 = 0 ;
20036 PyObject * obj1 = 0 ;
20037 PyObject * obj2 = 0 ;
20038 char *kwnames[] = {
20039 (char *) "self",(char *) "self",(char *) "_class", NULL
20040 };
20041
20042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20044 arg2 = obj1;
20045 arg3 = obj2;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 (arg1)->_setCallbackInfo(arg2,arg3);
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 Py_INCREF(Py_None); resultobj = Py_None;
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj;
20062 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20063 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20064 PyObject * obj0 = 0 ;
20065 PyObject * obj1 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "self",(char *) "canvas", NULL
20068 };
20069
20070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 (arg1)->SetPreviewCanvas(arg2);
20076
20077 wxPyEndAllowThreads(__tstate);
20078 if (PyErr_Occurred()) SWIG_fail;
20079 }
20080 Py_INCREF(Py_None); resultobj = Py_None;
20081 return resultobj;
20082 fail:
20083 return NULL;
20084 }
20085
20086
20087 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20088 PyObject *resultobj;
20089 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20090 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20091 PyObject * obj0 = 0 ;
20092 PyObject * obj1 = 0 ;
20093 char *kwnames[] = {
20094 (char *) "self",(char *) "bar", NULL
20095 };
20096
20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20099 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 (arg1)->SetControlBar(arg2);
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 Py_INCREF(Py_None); resultobj = Py_None;
20108 return resultobj;
20109 fail:
20110 return NULL;
20111 }
20112
20113
20114 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20115 PyObject *resultobj;
20116 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20117 PyObject * obj0 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
20126 (arg1)->base_Initialize();
20127
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 Py_INCREF(Py_None); resultobj = Py_None;
20132 return resultobj;
20133 fail:
20134 return NULL;
20135 }
20136
20137
20138 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20139 PyObject *resultobj;
20140 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20141 PyObject * obj0 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self", NULL
20144 };
20145
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 (arg1)->base_CreateCanvas();
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 Py_INCREF(Py_None); resultobj = Py_None;
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20165 PyObject * obj0 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 (arg1)->base_CreateControlBar();
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 Py_INCREF(Py_None); resultobj = Py_None;
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20187 PyObject *obj;
20188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20189 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20190 Py_INCREF(obj);
20191 return Py_BuildValue((char *)"");
20192 }
20193 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20194 PyObject *resultobj;
20195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20196 long arg2 ;
20197 wxWindow *arg3 = (wxWindow *) 0 ;
20198 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20199 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20200 wxSize const &arg5_defvalue = wxDefaultSize ;
20201 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20202 long arg6 = (long) 0 ;
20203 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20204 wxString *arg7 = (wxString *) &arg7_defvalue ;
20205 wxPyPreviewControlBar *result;
20206 wxPoint temp4 ;
20207 wxSize temp5 ;
20208 bool temp7 = False ;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj2 = 0 ;
20211 PyObject * obj3 = 0 ;
20212 PyObject * obj4 = 0 ;
20213 PyObject * obj6 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20220 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20221 if (obj3) {
20222 {
20223 arg4 = &temp4;
20224 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20225 }
20226 }
20227 if (obj4) {
20228 {
20229 arg5 = &temp5;
20230 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20231 }
20232 }
20233 if (obj6) {
20234 {
20235 arg7 = wxString_in_helper(obj6);
20236 if (arg7 == NULL) SWIG_fail;
20237 temp7 = True;
20238 }
20239 }
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20248 {
20249 if (temp7)
20250 delete arg7;
20251 }
20252 return resultobj;
20253 fail:
20254 {
20255 if (temp7)
20256 delete arg7;
20257 }
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20265 PyObject *arg2 = (PyObject *) 0 ;
20266 PyObject *arg3 = (PyObject *) 0 ;
20267 PyObject * obj0 = 0 ;
20268 PyObject * obj1 = 0 ;
20269 PyObject * obj2 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self",(char *) "self",(char *) "_class", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 arg2 = obj1;
20277 arg3 = obj2;
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
20280 (arg1)->_setCallbackInfo(arg2,arg3);
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 Py_INCREF(Py_None); resultobj = Py_None;
20286 return resultobj;
20287 fail:
20288 return NULL;
20289 }
20290
20291
20292 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20293 PyObject *resultobj;
20294 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20295 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20296 PyObject * obj0 = 0 ;
20297 PyObject * obj1 = 0 ;
20298 char *kwnames[] = {
20299 (char *) "self",(char *) "preview", NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20305 {
20306 PyThreadState* __tstate = wxPyBeginAllowThreads();
20307 (arg1)->SetPrintPreview(arg2);
20308
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 Py_INCREF(Py_None); resultobj = Py_None;
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj;
20321 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20322 PyObject * obj0 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 (arg1)->base_CreateButtons();
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 Py_INCREF(Py_None); resultobj = Py_None;
20337 return resultobj;
20338 fail:
20339 return NULL;
20340 }
20341
20342
20343 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20344 PyObject *resultobj;
20345 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20346 int arg2 ;
20347 PyObject * obj0 = 0 ;
20348 char *kwnames[] = {
20349 (char *) "self",(char *) "zoom", NULL
20350 };
20351
20352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 (arg1)->base_SetZoomControl(arg2);
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 Py_INCREF(Py_None); resultobj = Py_None;
20362 return resultobj;
20363 fail:
20364 return NULL;
20365 }
20366
20367
20368 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20369 PyObject *obj;
20370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20371 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20372 Py_INCREF(obj);
20373 return Py_BuildValue((char *)"");
20374 }
20375 static PyMethodDef SwigMethods[] = {
20376 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20377 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20378 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20379 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20380 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20381 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20382 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20383 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20384 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20385 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20386 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20387 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20388 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20389 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20390 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20391 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20392 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20393 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20394 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20395 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20396 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20397 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20398 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20399 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20400 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20401 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20402 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20403 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20404 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20405 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20406 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20407 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20408 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20409 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20410 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20411 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20412 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20413 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20414 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20415 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20416 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20417 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20418 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20419 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20420 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20421 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20422 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20423 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20424 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20425 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20426 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20427 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20428 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20429 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20430 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20431 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20432 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20433 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20434 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20435 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20436 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20437 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20438 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20439 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20440 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20441 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20442 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20443 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20444 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20445 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20446 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20447 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20448 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20449 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20450 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20451 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20452 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20453 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20454 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20455 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20456 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20457 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20458 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20459 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20460 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20461 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20462 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20463 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20464 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20465 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20466 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20467 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20468 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20469 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20470 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20471 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20472 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20473 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20474 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20475 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20476 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20477 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20478 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20479 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20480 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20481 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20482 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20483 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20484 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20485 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20486 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20487 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20488 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20489 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20490 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20491 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20492 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20493 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20494 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20495 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20496 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20497 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20498 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20499 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20500 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20501 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20502 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20503 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20504 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20505 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20506 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20507 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20508 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20509 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20510 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20511 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20512 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20513 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20514 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20515 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20516 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20517 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20518 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20519 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20520 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20521 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20522 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20523 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20524 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20525 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20526 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20527 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20528 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20529 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20530 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20531 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20532 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20533 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20534 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20535 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20536 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20537 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20538 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20539 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20540 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20541 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20542 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20543 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20544 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20545 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20546 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20547 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20548 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20549 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20550 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20551 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20552 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20553 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20554 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20555 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20556 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20557 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20558 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20559 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20560 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20561 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20562 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20563 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20564 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20565 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20566 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20567 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20568 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20569 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20570 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20571 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20572 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20573 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20574 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20575 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20576 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20577 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20578 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20579 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20580 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20581 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20582 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20583 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20584 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20585 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20586 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20587 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20588 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20589 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20590 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20591 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20592 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20593 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20594 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20595 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20596 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20597 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20598 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20599 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20600 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20601 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20602 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20603 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20604 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20605 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20606 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20607 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20608 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20609 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20610 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20611 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20612 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20613 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20614 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20615 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20616 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20617 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20618 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20619 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20620 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20621 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20622 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20623 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20624 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20625 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20626 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20627 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20628 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20629 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20630 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20631 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20632 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20633 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20634 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20635 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20636 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20637 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20638 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20639 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20640 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20641 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20642 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20643 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20644 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20645 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20646 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20647 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20648 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20649 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20650 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20651 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20652 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20653 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20654 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20655 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20656 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20657 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20658 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20659 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20660 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20661 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20662 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20663 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20664 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20665 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20666 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
20667 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20668 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20669 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
20670 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
20671 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
20672 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
20673 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20674 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20675 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20676 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
20677 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
20678 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
20679 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20680 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20681 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
20682 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
20683 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
20684 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20685 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
20686 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
20687 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
20688 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20689 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
20690 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
20691 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
20692 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20693 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
20694 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
20695 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
20697 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
20699 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
20700 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
20701 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20703 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
20704 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
20705 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
20707 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
20708 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
20709 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
20711 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
20713 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
20714 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
20715 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
20716 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
20719 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
20720 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
20722 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
20723 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
20724 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
20726 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20728 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20732 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
20735 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
20736 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
20743 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
20744 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
20745 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
20750 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
20751 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
20761 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
20762 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
20769 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
20773 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
20793 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
20794 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
20815 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
20859 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
20871 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
20885 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
20891 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
20895 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
20929 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
20934 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
20945 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
20968 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
20970 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
20976 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
20986 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21010 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21020 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21028 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21034 { NULL, NULL }
21035 };
21036
21037
21038 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21039
21040 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21041 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21042 }
21043 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21044 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21045 }
21046 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21047 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21048 }
21049 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21050 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21051 }
21052 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21053 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21054 }
21055 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21056 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21057 }
21058 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21059 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21060 }
21061 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21062 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21063 }
21064 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21065 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21066 }
21067 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21068 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21069 }
21070 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21071 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21072 }
21073 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21074 return (void *)((wxEvent *) ((wxPyEvent *) x));
21075 }
21076 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21077 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21078 }
21079 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21080 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21081 }
21082 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21083 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21084 }
21085 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21086 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21087 }
21088 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21089 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21090 }
21091 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21092 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21093 }
21094 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21095 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21096 }
21097 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21098 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21099 }
21100 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21101 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21102 }
21103 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21104 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21105 }
21106 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21107 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21108 }
21109 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21110 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21111 }
21112 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21113 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21114 }
21115 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21116 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21117 }
21118 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21119 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21120 }
21121 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21122 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21123 }
21124 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21125 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21126 }
21127 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21128 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21129 }
21130 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21131 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21132 }
21133 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21134 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21135 }
21136 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21137 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21138 }
21139 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21140 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21141 }
21142 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21143 return (void *)((wxEvent *) ((wxShowEvent *) x));
21144 }
21145 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21146 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21147 }
21148 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21149 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21150 }
21151 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21152 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21153 }
21154 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21155 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21156 }
21157 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21158 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21159 }
21160 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21161 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21162 }
21163 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21164 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21165 }
21166 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21167 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21168 }
21169 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21170 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21171 }
21172 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21173 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21174 }
21175 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21176 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21177 }
21178 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21179 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21180 }
21181 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21182 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21183 }
21184 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21185 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21186 }
21187 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21188 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21189 }
21190 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21191 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21192 }
21193 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21194 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21195 }
21196 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21198 }
21199 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21201 }
21202 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21204 }
21205 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21206 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21207 }
21208 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21209 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21210 }
21211 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21212 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21213 }
21214 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21215 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21216 }
21217 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21218 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21219 }
21220 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21221 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21222 }
21223 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21224 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21225 }
21226 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21227 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21228 }
21229 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21230 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21231 }
21232 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21233 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21234 }
21235 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21236 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21237 }
21238 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21239 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21240 }
21241 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21242 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21243 }
21244 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21245 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21246 }
21247 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21248 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21249 }
21250 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21251 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21252 }
21253 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21254 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21255 }
21256 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21257 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21258 }
21259 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21260 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21261 }
21262 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21263 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21264 }
21265 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21266 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21267 }
21268 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21269 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21270 }
21271 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21272 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21273 }
21274 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21275 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21276 }
21277 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21278 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21279 }
21280 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21281 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21282 }
21283 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21284 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21285 }
21286 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21287 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21288 }
21289 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21290 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21291 }
21292 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21293 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21294 }
21295 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21297 }
21298 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21300 }
21301 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21302 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21303 }
21304 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21305 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21306 }
21307 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21308 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21309 }
21310 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21311 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21312 }
21313 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21314 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21315 }
21316 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21317 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21318 }
21319 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21320 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21321 }
21322 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21323 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21324 }
21325 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
21326 return (void *)((wxFrame *) ((wxTipWindow *) x));
21327 }
21328 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21329 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21330 }
21331 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21332 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21333 }
21334 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21335 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21336 }
21337 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21338 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21339 }
21340 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21341 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21342 }
21343 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21344 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21345 }
21346 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21347 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21348 }
21349 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21351 }
21352 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21354 }
21355 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21356 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21357 }
21358 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21359 return (void *)((wxObject *) ((wxSizerItem *) x));
21360 }
21361 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21362 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21363 }
21364 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21365 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21366 }
21367 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21368 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21369 }
21370 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21371 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21372 }
21373 static void *_p_wxSizerTo_p_wxObject(void *x) {
21374 return (void *)((wxObject *) ((wxSizer *) x));
21375 }
21376 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21377 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21378 }
21379 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21381 }
21382 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21384 }
21385 static void *_p_wxEventTo_p_wxObject(void *x) {
21386 return (void *)((wxObject *) ((wxEvent *) x));
21387 }
21388 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21389 return (void *)((wxObject *) ((wxFontData *) x));
21390 }
21391 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21392 return (void *)((wxObject *) ((wxPrintData *) x));
21393 }
21394 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21395 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21396 }
21397 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21398 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21399 }
21400 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21401 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21402 }
21403 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21404 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21405 }
21406 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21407 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21408 }
21409 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21410 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21411 }
21412 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21413 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21414 }
21415 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21416 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21417 }
21418 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21419 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21420 }
21421 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21422 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21423 }
21424 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21425 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21426 }
21427 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21428 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21429 }
21430 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21432 }
21433 static void *_p_wxControlTo_p_wxObject(void *x) {
21434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21435 }
21436 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21437 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21438 }
21439 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21440 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21441 }
21442 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21443 return (void *)((wxObject *) ((wxFSFile *) x));
21444 }
21445 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21446 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21447 }
21448 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21449 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21450 }
21451 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21453 }
21454 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21455 return (void *)((wxObject *) ((wxColourData *) x));
21456 }
21457 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21458 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21459 }
21460 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21461 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21462 }
21463 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21465 }
21466 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21468 }
21469 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21471 }
21472 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21474 }
21475 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21477 }
21478 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21480 }
21481 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21483 }
21484 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21486 }
21487 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21489 }
21490 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21491 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21492 }
21493 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21494 return (void *)((wxObject *) ((wxPrinter *) x));
21495 }
21496 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21497 return (void *)((wxObject *) ((wxMenuItem *) x));
21498 }
21499 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21500 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21501 }
21502 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21503 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21504 }
21505 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21506 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21507 }
21508 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21509 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21510 }
21511 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21512 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21513 }
21514 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21515 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21516 }
21517 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21518 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21519 }
21520 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21521 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21522 }
21523 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21524 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21525 }
21526 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21527 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21528 }
21529 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21530 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21531 }
21532 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21533 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21534 }
21535 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21536 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21537 }
21538 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21539 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21540 }
21541 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21542 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21543 }
21544 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21545 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21546 }
21547 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21548 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21549 }
21550 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21551 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21552 }
21553 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21554 return (void *)((wxObject *) ((wxImageHandler *) x));
21555 }
21556 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21557 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21558 }
21559 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21560 return (void *)((wxObject *) ((wxEvtHandler *) x));
21561 }
21562 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21563 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21564 }
21565 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21567 }
21568 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21570 }
21571 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21572 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21573 }
21574 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21576 }
21577 static void *_p_wxImageTo_p_wxObject(void *x) {
21578 return (void *)((wxObject *) ((wxImage *) x));
21579 }
21580 static void *_p_wxFrameTo_p_wxObject(void *x) {
21581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21582 }
21583 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21584 return (void *)((wxObject *) ((wxPyPrintout *) x));
21585 }
21586 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21587 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21588 }
21589 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21590 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21591 }
21592 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21594 }
21595 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21597 }
21598 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21600 }
21601 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21602 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21603 }
21604 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21605 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21606 }
21607 static void *_p_wxWindowTo_p_wxObject(void *x) {
21608 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21609 }
21610 static void *_p_wxMenuTo_p_wxObject(void *x) {
21611 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21612 }
21613 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21615 }
21616 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21618 }
21619 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21621 }
21622 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21624 }
21625 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21627 }
21628 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21630 }
21631 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21633 }
21634 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21636 }
21637 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21639 }
21640 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21642 }
21643 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21645 }
21646 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21648 }
21649 static void *_p_wxSashEventTo_p_wxObject(void *x) {
21650 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21651 }
21652 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21653 return (void *)((wxObject *) ((wxPrintPreview *) x));
21654 }
21655 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21656 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21657 }
21658 static void *_p_wxPanelTo_p_wxObject(void *x) {
21659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21660 }
21661 static void *_p_wxDialogTo_p_wxObject(void *x) {
21662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21663 }
21664 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21666 }
21667 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
21668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21669 }
21670 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
21671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21672 }
21673 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
21674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21675 }
21676 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
21677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21678 }
21679 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21680 return (void *)((wxObject *) ((wxFileSystem *) x));
21681 }
21682 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21683 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21684 }
21685 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21686 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21687 }
21688 static void *_p_wxPyAppTo_p_wxObject(void *x) {
21689 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21690 }
21691 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21692 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21693 }
21694 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21695 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21696 }
21697 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21698 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21699 }
21700 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21701 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21702 }
21703 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21704 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21705 }
21706 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
21707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21708 }
21709 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
21710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21711 }
21712 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21713 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21714 }
21715 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21716 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21717 }
21718 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21719 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21720 }
21721 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21723 }
21724 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
21725 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
21726 }
21727 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
21728 return (void *)((wxObject *) ((wxPrintDialogData *) x));
21729 }
21730 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
21731 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
21732 }
21733 static void *_p_wxValidatorTo_p_wxObject(void *x) {
21734 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
21735 }
21736 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
21737 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21738 }
21739 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
21740 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
21741 }
21742 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
21743 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21744 }
21745 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
21746 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
21747 }
21748 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
21749 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
21750 }
21751 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
21752 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
21753 }
21754 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
21755 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
21756 }
21757 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
21758 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
21759 }
21760 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
21761 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
21762 }
21763 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
21764 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
21765 }
21766 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
21767 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
21768 }
21769 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
21770 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
21771 }
21772 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
21773 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
21774 }
21775 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
21776 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
21777 }
21778 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
21779 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
21780 }
21781 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
21782 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
21783 }
21784 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
21785 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
21786 }
21787 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
21788 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
21789 }
21790 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
21791 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
21792 }
21793 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
21794 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
21795 }
21796 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
21797 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
21798 }
21799 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
21800 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
21801 }
21802 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
21803 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
21804 }
21805 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
21806 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
21807 }
21808 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
21809 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21810 }
21811 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
21812 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21813 }
21814 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
21815 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21816 }
21817 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
21818 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
21819 }
21820 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
21821 return (void *)((wxWindow *) ((wxMenuBar *) x));
21822 }
21823 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
21824 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21825 }
21826 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
21827 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21828 }
21829 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
21830 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21831 }
21832 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
21833 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21834 }
21835 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
21836 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21837 }
21838 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
21839 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21840 }
21841 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
21842 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21843 }
21844 static void *_p_wxPanelTo_p_wxWindow(void *x) {
21845 return (void *)((wxWindow *) ((wxPanel *) x));
21846 }
21847 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
21848 return (void *)((wxWindow *) ((wxStatusBar *) x));
21849 }
21850 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
21851 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
21852 }
21853 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
21854 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
21855 }
21856 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
21857 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21858 }
21859 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
21860 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21861 }
21862 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
21863 return (void *)((wxWindow *) ((wxPopupWindow *) x));
21864 }
21865 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
21866 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
21867 }
21868 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
21869 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
21870 }
21871 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
21872 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
21873 }
21874 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
21875 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
21876 }
21877 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
21878 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
21879 }
21880 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
21881 return (void *)((wxWindow *) ((wxSashWindow *) x));
21882 }
21883 static void *_p_wxControlTo_p_wxWindow(void *x) {
21884 return (void *)((wxWindow *) ((wxControl *) x));
21885 }
21886 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
21887 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21888 }
21889 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
21890 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21891 }
21892 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
21893 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21894 }
21895 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
21896 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
21897 }
21898 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
21899 return (void *)((wxWindow *) ((wxPyWindow *) x));
21900 }
21901 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
21902 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21903 }
21904 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
21905 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21906 }
21907 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
21908 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21909 }
21910 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
21911 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
21912 }
21913 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
21914 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21915 }
21916 static void *_p_wxFrameTo_p_wxWindow(void *x) {
21917 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
21918 }
21919 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
21920 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21921 }
21922 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
21923 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21924 }
21925 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
21926 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21927 }
21928 static void *_p_wxDialogTo_p_wxWindow(void *x) {
21929 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
21930 }
21931 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
21932 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21933 }
21934 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
21935 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21936 }
21937 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
21938 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21939 }
21940 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
21941 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
21942 }
21943 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
21944 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
21945 }
21946 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
21947 return (void *)((wxDialog *) ((wxColourDialog *) x));
21948 }
21949 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
21950 return (void *)((wxDialog *) ((wxDirDialog *) x));
21951 }
21952 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
21953 return (void *)((wxDialog *) ((wxFontDialog *) x));
21954 }
21955 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
21956 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
21957 }
21958 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
21959 return (void *)((wxDialog *) ((wxPrintDialog *) x));
21960 }
21961 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
21962 return (void *)((wxDialog *) ((wxFileDialog *) x));
21963 }
21964 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
21965 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
21966 }
21967 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
21968 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
21969 }
21970 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
21971 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
21972 }
21973 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
21974 return (void *)((wxDialog *) ((wxMessageDialog *) x));
21975 }
21976 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
21977 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
21978 }
21979 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
21980 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
21981 }
21982 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
21983 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
21984 }
21985 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
21986 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21987 }
21988 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
21989 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21990 }
21991 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
21992 return (void *)((wxPanel *) ((wxPyPanel *) x));
21993 }
21994 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
21995 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
21996 }
21997 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
21998 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
21999 }
22000 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22001 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22002 }
22003 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22004 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22005 }
22006 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22007 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22008 }
22009 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22010 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22011 }
22012 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22013 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22014 }
22015 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22016 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22017 }
22018 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22019 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22020 }
22021 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22022 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22023 }
22024 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22025 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22026 }
22027 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22028 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22029 }
22030 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22031 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22032 }
22033 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22034 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22035 }
22036 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22037 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22038 }
22039 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22040 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22041 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22042 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22043 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22044 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22045 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22046 static 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}};
22047 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22048 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22049 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22050 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22051 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22052 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22053 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22054 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22055 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22056 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22057 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22058 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22059 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22060 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22061 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22062 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22063 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22064 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22065 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22066 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22067 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22068 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22069 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22070 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22071 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22072 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22073 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22074 static 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}};
22075 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22076 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22077 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22078 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22079 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22080 static 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}};
22081 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22082 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22083 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22084 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22085 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22086 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22087 static 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}};
22088 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22089 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22090 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22091 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22092 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22093 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22094 static 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}};
22095 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
22096 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22097 static 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}};
22098 static 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}};
22099 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22100 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22101 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22102 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22103 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22104 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22105 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22106 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22107 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22108 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22109 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22110 static 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}};
22111 static 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}};
22112 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22113 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22114 static 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}};
22115 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22116 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22117 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22118 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22119 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22120 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22121 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22122
22123 static swig_type_info *swig_types_initial[] = {
22124 _swigt__p_wxQueryLayoutInfoEvent,
22125 _swigt__p_wxPreviewFrame,
22126 _swigt__p_wxPyPreviewFrame,
22127 _swigt__p_wxPyPanel,
22128 _swigt__p_wxMenu,
22129 _swigt__p_wxPrintData,
22130 _swigt__p_wxFontData,
22131 _swigt__p_wxEvent,
22132 _swigt__p_wxTaskBarIcon,
22133 _swigt__p_wxIconBundle,
22134 _swigt__p_wxLayoutAlgorithm,
22135 _swigt__p_wxFindDialogEvent,
22136 _swigt__p_wxPreviewCanvas,
22137 _swigt__p_wxFont,
22138 _swigt__p_wxSplitterEvent,
22139 _swigt__p_wxRegion,
22140 _swigt__p_wxFindReplaceData,
22141 _swigt__p_int,
22142 _swigt__p_wxSize,
22143 _swigt__p_wxDC,
22144 _swigt__p_wxIcon,
22145 _swigt__p_wxMDIChildFrame,
22146 _swigt__p_wxColourData,
22147 _swigt__p_wxNotifyEvent,
22148 _swigt__p_wxPyWindow,
22149 _swigt__p_wxSplashScreen,
22150 _swigt__p_wxFindReplaceDialog,
22151 _swigt__p_wxProgressDialog,
22152 _swigt__p_wxMessageDialog,
22153 _swigt__p_wxTextEntryDialog,
22154 _swigt__p_wxSingleChoiceDialog,
22155 _swigt__p_wxMultiChoiceDialog,
22156 _swigt__p_wxFileDialog,
22157 _swigt__p_wxPrinter,
22158 _swigt__p_wxArrayInt,
22159 _swigt__p_wxEvtHandler,
22160 _swigt__p_wxCalculateLayoutEvent,
22161 _swigt__p_wxPyHtmlListBox,
22162 _swigt__p_wxPyVListBox,
22163 _swigt__p_wxRect,
22164 _swigt__p_wxMiniFrame,
22165 _swigt__p_wxFrame,
22166 _swigt__p_wxPyPrintout,
22167 _swigt__p_wxTaskBarIconEvent,
22168 _swigt__p_wxScrollWinEvent,
22169 _swigt__p_wxStatusBar,
22170 _swigt__p_wxMDIParentFrame,
22171 _swigt__p_wxPoint,
22172 _swigt__p_wxObject,
22173 _swigt__p_unsigned_long,
22174 _swigt__p_wxMDIClientWindow,
22175 _swigt__p_wxTipWindow,
22176 _swigt__p_wxPyPopupTransientWindow,
22177 _swigt__p_wxSashLayoutWindow,
22178 _swigt__p_wxSplitterWindow,
22179 _swigt__p_wxPyVScrolledWindow,
22180 _swigt__p_wxPopupWindow,
22181 _swigt__p_wxSashWindow,
22182 _swigt__p_wxTopLevelWindow,
22183 _swigt__p_wxWindow,
22184 _swigt__p_wxScrolledWindow,
22185 _swigt__p_wxSplashScreenWindow,
22186 _swigt__p_wxMenuBar,
22187 _swigt__p_wxPrintPreview,
22188 _swigt__p_wxSashEvent,
22189 _swigt__p_wxString,
22190 _swigt__p_wxPyPrintPreview,
22191 _swigt__p_wxPageSetupDialog,
22192 _swigt__p_wxFontDialog,
22193 _swigt__p_wxDirDialog,
22194 _swigt__p_wxColourDialog,
22195 _swigt__p_wxDialog,
22196 _swigt__p_wxPanel,
22197 _swigt__p_wxPrintDialog,
22198 _swigt__p_wxBitmap,
22199 _swigt__p_wxCommandEvent,
22200 _swigt__p_wxPrintQuality,
22201 _swigt__p_wxPreviewControlBar,
22202 _swigt__p_wxPyPreviewControlBar,
22203 _swigt__p_wxColour,
22204 _swigt__p_wxToolBar,
22205 _swigt__p_wxPageSetupDialogData,
22206 _swigt__p_wxPrintDialogData,
22207 0
22208 };
22209
22210
22211 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22212
22213 static swig_const_info swig_const_table[] = {
22214 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22215 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22216 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22217 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22218 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22219 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22220 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22221 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22222 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22223 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22224 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22225 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22226 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22227 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22228 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22229 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22230 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22231 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22232 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22233 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22234 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22235 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22236 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22237 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22238 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22239 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22240 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22241 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22242 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22243 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22244 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22245 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22246 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22247 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22248 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22249 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22250 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22251 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22252 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22253 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22254 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22255 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22256 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22257 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22258 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22259 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22260 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22261 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22262 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22263 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22264 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22265 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22266 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22267 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22268 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22269 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22270 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22271 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22272 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22273 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22274 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22275 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22276 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22277 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22278 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22279 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22280 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22281 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22282 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22283 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22284 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22285 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22286 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22287 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22288 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22289 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22290 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22291 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22292 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22293 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22294 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22295 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22296 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22297 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22298 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22299 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22300 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22301 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22302 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22303 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22304 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22305 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22306 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22307 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22308 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22309 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22310 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22311 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22312 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22313 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22314 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22315 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22316 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22317 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22318 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22319 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22320 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22321 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22322 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22323 {0}};
22324
22325 #ifdef __cplusplus
22326 }
22327 #endif
22328
22329 #ifdef __cplusplus
22330 extern "C"
22331 #endif
22332 SWIGEXPORT(void) SWIG_init(void) {
22333 static PyObject *SWIG_globals = 0;
22334 static int typeinit = 0;
22335 PyObject *m, *d;
22336 int i;
22337 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22338 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22339 d = PyModule_GetDict(m);
22340
22341 if (!typeinit) {
22342 for (i = 0; swig_types_initial[i]; i++) {
22343 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22344 }
22345 typeinit = 1;
22346 }
22347 SWIG_InstallConstants(d,swig_const_table);
22348
22349 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22350 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22351 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22352 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22353 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22354 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22355 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22356
22357 // Map renamed classes back to their common name for OOR
22358 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22359 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22360 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22361
22362 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22363 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22364 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22365 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22366 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22367 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22368 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22369 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22370 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22371 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22372 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22373 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22374
22375 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22376
22377 }
22378