]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
reSWIGged
[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
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
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
118
119 #ifdef __cplusplus
120 }
121 #endif
122
123 /***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134 #include "Python.h"
135
136 #ifdef __cplusplus
137 extern "C" {
138 #endif
139
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
145
146 /* Flags for pointer conversion */
147
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
150
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
153
154 /* Constant information structure */
155 typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162 } swig_const_info;
163
164
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204 /* Contract support */
205
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216 #ifdef __cplusplus
217 }
218 #endif
219
220
221
222 /* -------- TYPES TABLE (BEGIN) -------- */
223
224 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
225 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
226 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
227 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[3]
228 #define SWIGTYPE_p_wxPyPanel swig_types[4]
229 #define SWIGTYPE_p_wxMenu swig_types[5]
230 #define SWIGTYPE_p_wxPrintData swig_types[6]
231 #define SWIGTYPE_p_wxFontData swig_types[7]
232 #define SWIGTYPE_p_wxEvent swig_types[8]
233 #define SWIGTYPE_p_wxTaskBarIcon swig_types[9]
234 #define SWIGTYPE_p_wxIconBundle swig_types[10]
235 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
236 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
237 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
238 #define SWIGTYPE_p_wxFont swig_types[14]
239 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
240 #define SWIGTYPE_p_wxRegion swig_types[16]
241 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
242 #define SWIGTYPE_p_int swig_types[18]
243 #define SWIGTYPE_p_wxSize swig_types[19]
244 #define SWIGTYPE_p_wxDC swig_types[20]
245 #define SWIGTYPE_p_wxIcon swig_types[21]
246 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
247 #define SWIGTYPE_p_wxColourData swig_types[23]
248 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
249 #define SWIGTYPE_p_wxPyWindow swig_types[25]
250 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
251 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
252 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
253 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
254 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
255 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
256 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
257 #define SWIGTYPE_p_wxFileDialog swig_types[33]
258 #define SWIGTYPE_p_wxPrinter swig_types[34]
259 #define SWIGTYPE_p_wxMenuItem swig_types[35]
260 #define SWIGTYPE_p_wxArrayInt swig_types[36]
261 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
262 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
263 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
264 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
265 #define SWIGTYPE_p_wxRect swig_types[41]
266 #define SWIGTYPE_p_wxAcceleratorTable swig_types[42]
267 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
268 #define SWIGTYPE_p_wxFrame swig_types[44]
269 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
270 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
271 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
272 #define SWIGTYPE_p_wxStatusBar swig_types[48]
273 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
274 #define SWIGTYPE_p_wxPoint swig_types[50]
275 #define SWIGTYPE_p_wxObject swig_types[51]
276 #define SWIGTYPE_p_unsigned_long swig_types[52]
277 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
278 #define SWIGTYPE_p_wxTipWindow swig_types[54]
279 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
280 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
281 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
282 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
283 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
284 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
285 #define SWIGTYPE_p_wxSashWindow swig_types[61]
286 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
287 #define SWIGTYPE_p_wxWindow swig_types[63]
288 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
289 #define SWIGTYPE_p_wxMenuBar swig_types[65]
290 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
291 #define SWIGTYPE_p_wxSashEvent swig_types[67]
292 #define SWIGTYPE_p_wxString swig_types[68]
293 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
294 #define SWIGTYPE_p_wxFontDialog swig_types[70]
295 #define SWIGTYPE_p_wxDirDialog swig_types[71]
296 #define SWIGTYPE_p_wxColourDialog swig_types[72]
297 #define SWIGTYPE_p_wxDialog swig_types[73]
298 #define SWIGTYPE_p_wxPanel swig_types[74]
299 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
300 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
301 #define SWIGTYPE_p_wxBitmap swig_types[77]
302 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
303 #define SWIGTYPE_p_wxPrintQuality swig_types[79]
304 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
305 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
306 #define SWIGTYPE_p_wxColour swig_types[82]
307 #define SWIGTYPE_p_wxToolBar swig_types[83]
308 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
309 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
310 static swig_type_info *swig_types[87];
311
312 /* -------- TYPES TABLE (END) -------- */
313
314
315 /*-----------------------------------------------
316 @(target):= _windows.so
317 ------------------------------------------------*/
318 #define SWIG_init init_windows
319
320 #define SWIG_name "_windows"
321
322 #include "wx/wxPython/wxPython.h"
323 #include "wx/wxPython/pyclasses.h"
324
325 DECLARE_DEF_STRING(PanelNameStr);
326 DECLARE_DEF_STRING(EmptyString);
327
328
329
330
331
332 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
333 PyObject* o2;
334 PyObject* o3;
335
336 if (!target) {
337 target = o;
338 } else if (target == Py_None) {
339 Py_DECREF(Py_None);
340 target = o;
341 } else {
342 if (!PyTuple_Check(target)) {
343 o2 = target;
344 target = PyTuple_New(1);
345 PyTuple_SetItem(target, 0, o2);
346 }
347 o3 = PyTuple_New(1);
348 PyTuple_SetItem(o3, 0, o);
349
350 o2 = target;
351 target = PySequence_Concat(o2, o3);
352 Py_DECREF(o2);
353 Py_DECREF(o3);
354 }
355 return target;
356 }
357
358
359 // Put some wx default wxChar* values into wxStrings.
360 DECLARE_DEF_STRING(FrameNameStr);
361 DECLARE_DEF_STRING(DialogNameStr);
362 DECLARE_DEF_STRING(StatusLineNameStr);
363 DECLARE_DEF_STRING(ToolBarNameStr);
364
365 bool wxDialog_IsModalShowing(wxDialog *self){
366
367
368
369 return self->IsModalShowing();
370
371 }
372
373
374
375 static const wxChar* wxSplitterNameStr = wxT("splitter");
376 DECLARE_DEF_STRING(SplitterNameStr);
377
378
379 static const wxChar* wxSashNameStr = wxT("sashWindow");
380 DECLARE_DEF_STRING(SashNameStr);
381 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
382 DECLARE_DEF_STRING(SashLayoutNameStr);
383
384
385 #include <wx/popupwin.h>
386
387
388 class wxPopupWindow : public wxWindow {
389 public:
390 wxPopupWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
391 wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
392 };
393
394 class wxPyPopupTransientWindow : public wxPopupWindow
395 {
396 public:
397 wxPyPopupTransientWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
398 wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
399 };
400
401
402 #include <wx/tipwin.h>
403
404 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const *text,wxCoord maxLength,wxRect *rectBound){
405 wxString tmp = *text;
406 return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound);
407 }
408
409 #include <wx/tipwin.h>
410
411
412 #include <wx/vscroll.h>
413
414
415 class wxPyVScrolledWindow : public wxVScrolledWindow
416 {
417 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
418 public:
419 wxPyVScrolledWindow() : wxVScrolledWindow() {}
420
421 wxPyVScrolledWindow(wxWindow *parent,
422 wxWindowID id = wxID_ANY,
423 const wxPoint& pos = wxDefaultPosition,
424 const wxSize& size = wxDefaultSize,
425 long style = 0,
426 const wxString& name = wxPyPanelNameStr)
427 : wxVScrolledWindow(parent, id, pos, size, style, name)
428 {}
429
430 // Overridable virtuals
431
432 // this function must be overridden in the derived class and it should
433 // return the height of the given line in pixels
434 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
435
436
437 // this function doesn't have to be overridden but it may be useful to do
438 // it if calculating the lines heights is a relatively expensive operation
439 // as it gives the user code a possibility to calculate several of them at
440 // once
441 //
442 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
443 // shouldn't rely on the latter being called for all lines in the interval
444 // specified here. It is also possible that OnGetLineHeight() will be
445 // called for the lines outside of this interval, so this is really just a
446 // hint, not a promise.
447 //
448 // finally note that lineMin is inclusive, while lineMax is exclusive, as
449 // usual
450 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
451
452
453 // when the number of lines changes, we try to estimate the total height
454 // of all lines which is a rather expensive operation in terms of lines
455 // access, so if the user code may estimate the average height
456 // better/faster than we do, it should override this function to implement
457 // its own logic
458 //
459 // this function should return the best guess for the total height it may
460 // make
461 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
462
463
464 // Also expose some other interesting protected methods
465
466
467 // find the index of the line we need to show at the top of the window such
468 // that the last (fully or partially) visible line is the given one
469 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
470 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
471
472 // get the total height of the lines between lineMin (inclusive) and
473 // lineMax (exclusive)
474 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
475 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
476
477
478 PYPRIVATE;
479 };
480
481 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
482
483 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
484 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
485 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
486
487
488 #include <wx/vlbox.h>
489 DECLARE_DEF_STRING(VListBoxNameStr);
490
491
492 class wxPyVListBox : public wxVListBox
493 {
494 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
495 public:
496 wxPyVListBox() : wxVListBox() {}
497
498 wxPyVListBox(wxWindow *parent,
499 wxWindowID id = wxID_ANY,
500 const wxPoint& pos = wxDefaultPosition,
501 const wxSize& size = wxDefaultSize,
502 long style = 0,
503 const wxString& name = wxPyVListBoxNameStr)
504 : wxVListBox(parent, id, pos, size, style, name)
505 {}
506
507 // Overridable virtuals
508
509 // the derived class must implement this function to actually draw the item
510 // with the given index on the provided DC
511 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
512 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
513
514
515 // the derived class must implement this method to return the height of the
516 // specified item
517 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
518 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
519
520
521 // this method may be used to draw separators between the lines; note that
522 // the rectangle may be modified, typically to deflate it a bit before
523 // passing to OnDrawItem()
524 //
525 // the base class version doesn't do anything
526 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
527 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
528
529
530 // this method is used to draw the items background and, maybe, a border
531 // around it
532 //
533 // the base class version implements a reasonable default behaviour which
534 // consists in drawing the selected item with the standard background
535 // colour and drawing a border around the item if it is either selected or
536 // current
537 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
538 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
539
540
541 PYPRIVATE;
542 };
543
544 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
545
546 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
547 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
548 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
549 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
550
551
552
553 #include <wx/htmllbox.h>
554
555
556 class wxPyHtmlListBox : public wxHtmlListBox
557 {
558 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
559 public:
560 wxPyHtmlListBox() : wxHtmlListBox() {}
561
562 wxPyHtmlListBox(wxWindow *parent,
563 wxWindowID id = wxID_ANY,
564 const wxPoint& pos = wxDefaultPosition,
565 const wxSize& size = wxDefaultSize,
566 long style = 0,
567 const wxString& name = wxPyVListBoxNameStr)
568 : wxHtmlListBox(parent, id, pos, size, style, name)
569 {}
570
571 // Overridable virtuals
572
573 // this method must be implemented in the derived class and should return
574 // the body (i.e. without <html>) of the HTML for the given item
575 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
576
577 // this function may be overridden to decorate HTML returned by OnGetItem()
578 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
579
580 // TODO:
581 // // this method allows to customize the selection appearance: it may be used
582 // // to specify the colour of the text which normally has the given colour
583 // // colFg when it is inside the selection
584 // //
585 // // by default, the original colour is not used at all and all text has the
586 // // same (default for this system) colour inside selection
587 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
588
589 // // this is the same as GetSelectedTextColour() but allows to customize the
590 // // background colour -- this is even more rarely used as you can change it
591 // // globally using SetSelectionBackground()
592 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
593
594
595 PYPRIVATE;
596 };
597
598
599 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
600
601 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
602 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
603
604
605
606
607
608 #ifdef __WXMAC__
609 // implement dummy classes and such for wxMac
610
611 class wxTaskBarIcon : public wxEvtHandler
612 {
613 public:
614 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
615 };
616
617
618 class wxTaskBarIconEvent : public wxEvent
619 {
620 public:
621 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
622 { PyErr_SetNone(PyExc_NotImplementedError); }
623 virtual wxEvent* Clone() const { return NULL; }
624 };
625
626 enum {
627 wxEVT_TASKBAR_MOVE = 0,
628 wxEVT_TASKBAR_LEFT_DOWN = 0,
629 wxEVT_TASKBAR_LEFT_UP = 0,
630 wxEVT_TASKBAR_RIGHT_DOWN = 0,
631 wxEVT_TASKBAR_RIGHT_UP = 0,
632 wxEVT_TASKBAR_LEFT_DCLICK = 0,
633 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
634 };
635 #endif
636
637
638
639 DECLARE_DEF_STRING(FileSelectorPromptStr);
640 DECLARE_DEF_STRING(DirSelectorPromptStr);
641 DECLARE_DEF_STRING(DirDialogNameStr);
642 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
643 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
644 DECLARE_DEF_STRING(MessageBoxCaptionStr);
645
646
647 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
648 wxArrayString arr;
649 self->GetFilenames(arr);
650 return wxArrayString2PyList_helper(arr);
651 }
652 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
653 wxArrayString arr;
654 self->GetPaths(arr);
655 return wxArrayString2PyList_helper(arr);
656 }
657 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
658 return wxArrayInt2PyList_helper(self->GetSelections());
659 }
660 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
661 return new wxSingleChoiceDialog(parent, message, caption,
662 choices, choices_array, NULL, style, pos);
663 }
664
665 #include <wx/mdi.h>
666
667 // C++ version of Python aware wxWindow
668 class wxPyWindow : public wxWindow
669 {
670 DECLARE_DYNAMIC_CLASS(wxPyWindow)
671 public:
672 wxPyWindow() : wxWindow() {}
673 wxPyWindow(wxWindow* parent, const wxWindowID id,
674 const wxPoint& pos = wxDefaultPosition,
675 const wxSize& size = wxDefaultSize,
676 long style = 0,
677 const wxString& name = wxPyPanelNameStr)
678 : wxWindow(parent, id, pos, size, style, name) {}
679
680
681 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
682 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
683 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
684 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
685
686 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
687 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
688 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
689
690 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
691 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
692
693 DEC_PYCALLBACK__(InitDialog);
694 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
695 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
696 DEC_PYCALLBACK_BOOL_(Validate);
697
698 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
699 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
700 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
701
702 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
703 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
704
705 PYPRIVATE;
706 };
707
708 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
709
710 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
711 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
712 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
713 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
714
715 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
716 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
717 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
718
719 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
720 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
721
722 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
723 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
724 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
725 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
726
727 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
728 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
729 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
730
731 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
732 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
733
734
735 // C++ version of Python aware wxPanel
736 class wxPyPanel : public wxPanel
737 {
738 DECLARE_DYNAMIC_CLASS(wxPyPanel)
739 public:
740 wxPyPanel() : wxPanel() {}
741 wxPyPanel(wxWindow* parent, const wxWindowID id,
742 const wxPoint& pos = wxDefaultPosition,
743 const wxSize& size = wxDefaultSize,
744 long style = 0,
745 const wxString& name = wxPyPanelNameStr)
746 : wxPanel(parent, id, pos, size, style, name) {}
747
748
749 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
750 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
751 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
752 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
753
754 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
755 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
756 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
757
758 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
759 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
760
761 DEC_PYCALLBACK__(InitDialog);
762 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
763 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
764 DEC_PYCALLBACK_BOOL_(Validate);
765
766 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
767 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
768 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
769
770 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
771 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
772
773 PYPRIVATE;
774 };
775
776 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
777
778 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
779 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
780 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
781 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
782
783 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
784 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
785 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
786
787 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
788 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
789
790 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
791 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
792 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
793 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
794
795 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
796 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
797 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
798
799 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
800 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
801
802
803
804 #include "wx/wxPython/printfw.h"
805
806 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
807 DECLARE_DEF_STRING(PrintoutTitleStr);
808 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
809 DECLARE_DEF_STRING(PreviewCanvasNameStr);
810
811
812
813
814
815 // Since this one would be tough and ugly to do with the Macros...
816 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
817 bool hadErr = FALSE;
818 bool found;
819
820 wxPyBeginBlockThreads();
821 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
822 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
823 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
824 PyObject* val;
825
826 val = PyTuple_GetItem(result, 0);
827 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
828 else hadErr = TRUE;
829
830 val = PyTuple_GetItem(result, 1);
831 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
832 else hadErr = TRUE;
833
834 val = PyTuple_GetItem(result, 2);
835 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
836 else hadErr = TRUE;
837
838 val = PyTuple_GetItem(result, 3);
839 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
840 else hadErr = TRUE;
841 }
842 else
843 hadErr = TRUE;
844
845 if (hadErr) {
846 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
847 PyErr_Print();
848 }
849 Py_DECREF(result);
850 }
851 wxPyEndBlockThreads();
852 if (! found)
853 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
854 }
855
856 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
857 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
858 }
859
860
861 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
862 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
863 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
864 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
865 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
866 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
867 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
868
869
870
871
872
873 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
874 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
875 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
876
877
878 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
879 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
880 bool rval=FALSE; \
881 bool found; \
882 wxPyBeginBlockThreads(); \
883 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
884 PyObject* win = wxPyMake_wxObject(a); \
885 PyObject* dc = wxPyMake_wxObject(&b); \
886 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
887 Py_DECREF(win); \
888 Py_DECREF(dc); \
889 } \
890 wxPyEndBlockThreads(); \
891 if (! found) \
892 rval = PCLASS::CBNAME(a, b); \
893 return rval; \
894 } \
895 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
896 return PCLASS::CBNAME(a, b); \
897 }
898
899
900
901
902 class wxPyPrintPreview : public wxPrintPreview
903 {
904 DECLARE_CLASS(wxPyPrintPreview)
905 public:
906 wxPyPrintPreview(wxPyPrintout* printout,
907 wxPyPrintout* printoutForPrinting,
908 wxPrintData* data=NULL)
909 : wxPrintPreview(printout, printoutForPrinting, data)
910 {}
911
912 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
913 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
914 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
915 DEC_PYCALLBACK_BOOL_INT(RenderPage);
916 DEC_PYCALLBACK_VOID_INT(SetZoom);
917 DEC_PYCALLBACK_BOOL_BOOL(Print);
918 DEC_PYCALLBACK_VOID_(DetermineScaling);
919
920 PYPRIVATE;
921 };
922
923 // Stupid renamed classes... Fix this in 2.5...
924 #if defined(__WXMSW__)
925 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
926 #elif defined(__WXMAC__)
927 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
928 #else
929 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
930 #endif
931
932 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
933 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
934 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
935 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
936 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
937 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
938 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
939
940
941 class wxPyPreviewFrame : public wxPreviewFrame
942 {
943 DECLARE_CLASS(wxPyPreviewFrame);
944 public:
945 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
946 const wxString& title,
947 const wxPoint& pos = wxDefaultPosition,
948 const wxSize& size = wxDefaultSize,
949 long style = wxDEFAULT_FRAME_STYLE,
950 const wxString& name = wxPyFrameNameStr)
951 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
952 {}
953
954 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
955 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
956
957 DEC_PYCALLBACK_VOID_(Initialize);
958 DEC_PYCALLBACK_VOID_(CreateCanvas);
959 DEC_PYCALLBACK_VOID_(CreateControlBar);
960
961 PYPRIVATE;
962 };
963
964 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
965
966 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
967 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
968 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
969
970
971 class wxPyPreviewControlBar : public wxPreviewControlBar
972 {
973 DECLARE_CLASS(wxPyPreviewControlBar);
974 public:
975 wxPyPreviewControlBar(wxPrintPreview *preview,
976 long buttons,
977 wxWindow *parent,
978 const wxPoint& pos = wxDefaultPosition,
979 const wxSize& size = wxDefaultSize,
980 long style = 0,
981 const wxString& name = wxPyPanelNameStr)
982 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
983 {}
984
985 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
986
987 DEC_PYCALLBACK_VOID_(CreateButtons);
988 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
989
990 PYPRIVATE;
991 };
992
993 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
994 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
995 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
996
997 #ifdef __cplusplus
998 extern "C" {
999 #endif
1000 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject *resultobj;
1002 wxWindow *arg1 = (wxWindow *) 0 ;
1003 wxWindowID arg2 ;
1004 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1005 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1006 wxSize const &arg4_defvalue = wxDefaultSize ;
1007 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1008 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1009 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1010 wxString *arg6 = (wxString *) &arg6_defvalue ;
1011 wxPanel *result;
1012 wxPoint temp3 ;
1013 wxSize temp4 ;
1014 bool temp6 = false ;
1015 PyObject * obj0 = 0 ;
1016 PyObject * obj2 = 0 ;
1017 PyObject * obj3 = 0 ;
1018 PyObject * obj5 = 0 ;
1019 char *kwnames[] = {
1020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1021 };
1022
1023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1025 if (obj2) {
1026 {
1027 arg3 = &temp3;
1028 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1029 }
1030 }
1031 if (obj3) {
1032 {
1033 arg4 = &temp4;
1034 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1035 }
1036 }
1037 if (obj5) {
1038 {
1039 arg6 = wxString_in_helper(obj5);
1040 if (arg6 == NULL) SWIG_fail;
1041 temp6 = true;
1042 }
1043 }
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) SWIG_fail;
1050 }
1051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1052 {
1053 if (temp6)
1054 delete arg6;
1055 }
1056 return resultobj;
1057 fail:
1058 {
1059 if (temp6)
1060 delete arg6;
1061 }
1062 return NULL;
1063 }
1064
1065
1066 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1067 PyObject *resultobj;
1068 wxPanel *result;
1069 char *kwnames[] = {
1070 NULL
1071 };
1072
1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1074 {
1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
1076 result = (wxPanel *)new wxPanel();
1077
1078 wxPyEndAllowThreads(__tstate);
1079 if (PyErr_Occurred()) SWIG_fail;
1080 }
1081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1082 return resultobj;
1083 fail:
1084 return NULL;
1085 }
1086
1087
1088 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1089 PyObject *resultobj;
1090 wxPanel *arg1 = (wxPanel *) 0 ;
1091 wxWindow *arg2 = (wxWindow *) 0 ;
1092 wxWindowID arg3 ;
1093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1095 wxSize const &arg5_defvalue = wxDefaultSize ;
1096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1097 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1098 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1099 wxString *arg7 = (wxString *) &arg7_defvalue ;
1100 bool result;
1101 wxPoint temp4 ;
1102 wxSize temp5 ;
1103 bool temp7 = false ;
1104 PyObject * obj0 = 0 ;
1105 PyObject * obj1 = 0 ;
1106 PyObject * obj3 = 0 ;
1107 PyObject * obj4 = 0 ;
1108 PyObject * obj6 = 0 ;
1109 char *kwnames[] = {
1110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1111 };
1112
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1116 if (obj3) {
1117 {
1118 arg4 = &temp4;
1119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1120 }
1121 }
1122 if (obj4) {
1123 {
1124 arg5 = &temp5;
1125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1126 }
1127 }
1128 if (obj6) {
1129 {
1130 arg7 = wxString_in_helper(obj6);
1131 if (arg7 == NULL) SWIG_fail;
1132 temp7 = true;
1133 }
1134 }
1135 {
1136 PyThreadState* __tstate = wxPyBeginAllowThreads();
1137 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1138
1139 wxPyEndAllowThreads(__tstate);
1140 if (PyErr_Occurred()) SWIG_fail;
1141 }
1142 resultobj = PyInt_FromLong((long)result);
1143 {
1144 if (temp7)
1145 delete arg7;
1146 }
1147 return resultobj;
1148 fail:
1149 {
1150 if (temp7)
1151 delete arg7;
1152 }
1153 return NULL;
1154 }
1155
1156
1157 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject *resultobj;
1159 wxPanel *arg1 = (wxPanel *) 0 ;
1160 PyObject * obj0 = 0 ;
1161 char *kwnames[] = {
1162 (char *) "self", NULL
1163 };
1164
1165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 (arg1)->InitDialog();
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 Py_INCREF(Py_None); resultobj = Py_None;
1175 return resultobj;
1176 fail:
1177 return NULL;
1178 }
1179
1180
1181 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1182 PyObject *obj;
1183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1184 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1185 Py_INCREF(obj);
1186 return Py_BuildValue((char *)"");
1187 }
1188 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject *resultobj;
1190 wxWindow *arg1 = (wxWindow *) 0 ;
1191 wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
1192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1194 wxSize const &arg4_defvalue = wxDefaultSize ;
1195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1196 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1197 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1198 wxString *arg6 = (wxString *) &arg6_defvalue ;
1199 wxScrolledWindow *result;
1200 wxPoint temp3 ;
1201 wxSize temp4 ;
1202 bool temp6 = false ;
1203 PyObject * obj0 = 0 ;
1204 PyObject * obj2 = 0 ;
1205 PyObject * obj3 = 0 ;
1206 PyObject * obj5 = 0 ;
1207 char *kwnames[] = {
1208 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1209 };
1210
1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1213 if (obj2) {
1214 {
1215 arg3 = &temp3;
1216 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1217 }
1218 }
1219 if (obj3) {
1220 {
1221 arg4 = &temp4;
1222 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1223 }
1224 }
1225 if (obj5) {
1226 {
1227 arg6 = wxString_in_helper(obj5);
1228 if (arg6 == NULL) SWIG_fail;
1229 temp6 = true;
1230 }
1231 }
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1240 {
1241 if (temp6)
1242 delete arg6;
1243 }
1244 return resultobj;
1245 fail:
1246 {
1247 if (temp6)
1248 delete arg6;
1249 }
1250 return NULL;
1251 }
1252
1253
1254 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1255 PyObject *resultobj;
1256 wxScrolledWindow *result;
1257 char *kwnames[] = {
1258 NULL
1259 };
1260
1261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1262 {
1263 PyThreadState* __tstate = wxPyBeginAllowThreads();
1264 result = (wxScrolledWindow *)new wxScrolledWindow();
1265
1266 wxPyEndAllowThreads(__tstate);
1267 if (PyErr_Occurred()) SWIG_fail;
1268 }
1269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1270 return resultobj;
1271 fail:
1272 return NULL;
1273 }
1274
1275
1276 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject *resultobj;
1278 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1279 wxWindow *arg2 = (wxWindow *) 0 ;
1280 wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
1281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1283 wxSize const &arg5_defvalue = wxDefaultSize ;
1284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1285 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1286 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1287 wxString *arg7 = (wxString *) &arg7_defvalue ;
1288 bool result;
1289 wxPoint temp4 ;
1290 wxSize temp5 ;
1291 bool temp7 = false ;
1292 PyObject * obj0 = 0 ;
1293 PyObject * obj1 = 0 ;
1294 PyObject * obj3 = 0 ;
1295 PyObject * obj4 = 0 ;
1296 PyObject * obj6 = 0 ;
1297 char *kwnames[] = {
1298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1299 };
1300
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1304 if (obj3) {
1305 {
1306 arg4 = &temp4;
1307 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1308 }
1309 }
1310 if (obj4) {
1311 {
1312 arg5 = &temp5;
1313 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1314 }
1315 }
1316 if (obj6) {
1317 {
1318 arg7 = wxString_in_helper(obj6);
1319 if (arg7 == NULL) SWIG_fail;
1320 temp7 = true;
1321 }
1322 }
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) SWIG_fail;
1329 }
1330 resultobj = PyInt_FromLong((long)result);
1331 {
1332 if (temp7)
1333 delete arg7;
1334 }
1335 return resultobj;
1336 fail:
1337 {
1338 if (temp7)
1339 delete arg7;
1340 }
1341 return NULL;
1342 }
1343
1344
1345 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject *resultobj;
1347 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1348 int arg2 ;
1349 int arg3 ;
1350 int arg4 ;
1351 int arg5 ;
1352 int arg6 = (int) 0 ;
1353 int arg7 = (int) 0 ;
1354 bool arg8 = (bool) FALSE ;
1355 PyObject * obj0 = 0 ;
1356 PyObject * obj7 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1363 if (obj7) {
1364 arg8 = PyInt_AsLong(obj7) ? true : false;
1365 if (PyErr_Occurred()) SWIG_fail;
1366 }
1367 {
1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
1369 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1370
1371 wxPyEndAllowThreads(__tstate);
1372 if (PyErr_Occurred()) SWIG_fail;
1373 }
1374 Py_INCREF(Py_None); resultobj = Py_None;
1375 return resultobj;
1376 fail:
1377 return NULL;
1378 }
1379
1380
1381 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1384 int arg2 ;
1385 int arg3 ;
1386 PyObject * obj0 = 0 ;
1387 char *kwnames[] = {
1388 (char *) "self",(char *) "x",(char *) "y", NULL
1389 };
1390
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1393 {
1394 PyThreadState* __tstate = wxPyBeginAllowThreads();
1395 (arg1)->Scroll(arg2,arg3);
1396
1397 wxPyEndAllowThreads(__tstate);
1398 if (PyErr_Occurred()) SWIG_fail;
1399 }
1400 Py_INCREF(Py_None); resultobj = Py_None;
1401 return resultobj;
1402 fail:
1403 return NULL;
1404 }
1405
1406
1407 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject *resultobj;
1409 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1410 int arg2 ;
1411 int result;
1412 PyObject * obj0 = 0 ;
1413 char *kwnames[] = {
1414 (char *) "self",(char *) "orient", NULL
1415 };
1416
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1419 {
1420 PyThreadState* __tstate = wxPyBeginAllowThreads();
1421 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1422
1423 wxPyEndAllowThreads(__tstate);
1424 if (PyErr_Occurred()) SWIG_fail;
1425 }
1426 resultobj = PyInt_FromLong((long)result);
1427 return resultobj;
1428 fail:
1429 return NULL;
1430 }
1431
1432
1433 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject *resultobj;
1435 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1436 int arg2 ;
1437 int arg3 ;
1438 PyObject * obj0 = 0 ;
1439 char *kwnames[] = {
1440 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1441 };
1442
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 (arg1)->SetScrollPageSize(arg2,arg3);
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 Py_INCREF(Py_None); resultobj = Py_None;
1453 return resultobj;
1454 fail:
1455 return NULL;
1456 }
1457
1458
1459 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1462 int arg2 ;
1463 int arg3 ;
1464 PyObject * obj0 = 0 ;
1465 char *kwnames[] = {
1466 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1467 };
1468
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 (arg1)->SetScrollRate(arg2,arg3);
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 Py_INCREF(Py_None); resultobj = Py_None;
1479 return resultobj;
1480 fail:
1481 return NULL;
1482 }
1483
1484
1485 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1488 int *arg2 = (int *) 0 ;
1489 int *arg3 = (int *) 0 ;
1490 int temp2 ;
1491 int temp3 ;
1492 PyObject * obj0 = 0 ;
1493 char *kwnames[] = {
1494 (char *) "self", NULL
1495 };
1496
1497 arg2 = &temp2;
1498 arg3 = &temp3;
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1501 {
1502 PyThreadState* __tstate = wxPyBeginAllowThreads();
1503 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1504
1505 wxPyEndAllowThreads(__tstate);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
1508 Py_INCREF(Py_None); resultobj = Py_None;
1509 {
1510 PyObject *o = PyInt_FromLong((long) (*arg2));
1511 resultobj = t_output_helper(resultobj,o);
1512 }
1513 {
1514 PyObject *o = PyInt_FromLong((long) (*arg3));
1515 resultobj = t_output_helper(resultobj,o);
1516 }
1517 return resultobj;
1518 fail:
1519 return NULL;
1520 }
1521
1522
1523 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1526 bool arg2 ;
1527 bool arg3 ;
1528 PyObject * obj0 = 0 ;
1529 PyObject * obj1 = 0 ;
1530 PyObject * obj2 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1537 arg2 = PyInt_AsLong(obj1) ? true : false;
1538 if (PyErr_Occurred()) SWIG_fail;
1539 arg3 = PyInt_AsLong(obj2) ? true : false;
1540 if (PyErr_Occurred()) SWIG_fail;
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 (arg1)->EnableScrolling(arg2,arg3);
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) SWIG_fail;
1547 }
1548 Py_INCREF(Py_None); resultobj = Py_None;
1549 return resultobj;
1550 fail:
1551 return NULL;
1552 }
1553
1554
1555 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject *resultobj;
1557 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1558 int *arg2 = (int *) 0 ;
1559 int *arg3 = (int *) 0 ;
1560 int temp2 ;
1561 int temp3 ;
1562 PyObject * obj0 = 0 ;
1563 char *kwnames[] = {
1564 (char *) "self", NULL
1565 };
1566
1567 arg2 = &temp2;
1568 arg3 = &temp3;
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 Py_INCREF(Py_None); resultobj = Py_None;
1579 {
1580 PyObject *o = PyInt_FromLong((long) (*arg2));
1581 resultobj = t_output_helper(resultobj,o);
1582 }
1583 {
1584 PyObject *o = PyInt_FromLong((long) (*arg3));
1585 resultobj = t_output_helper(resultobj,o);
1586 }
1587 return resultobj;
1588 fail:
1589 return NULL;
1590 }
1591
1592
1593 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1594 PyObject *resultobj;
1595 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1596 double arg2 ;
1597 double arg3 ;
1598 PyObject * obj0 = 0 ;
1599 char *kwnames[] = {
1600 (char *) "self",(char *) "xs",(char *) "ys", NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 (arg1)->SetScale(arg2,arg3);
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 Py_INCREF(Py_None); resultobj = Py_None;
1613 return resultobj;
1614 fail:
1615 return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1622 double result;
1623 PyObject * obj0 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "self", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1630 {
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1633
1634 wxPyEndAllowThreads(__tstate);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 resultobj = PyFloat_FromDouble(result);
1638 return resultobj;
1639 fail:
1640 return NULL;
1641 }
1642
1643
1644 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1645 PyObject *resultobj;
1646 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1647 double result;
1648 PyObject * obj0 = 0 ;
1649 char *kwnames[] = {
1650 (char *) "self", NULL
1651 };
1652
1653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 resultobj = PyFloat_FromDouble(result);
1663 return resultobj;
1664 fail:
1665 return NULL;
1666 }
1667
1668
1669 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1670 PyObject *resultobj;
1671 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1672 int arg2 ;
1673 int arg3 ;
1674 int *arg4 = (int *) 0 ;
1675 int *arg5 = (int *) 0 ;
1676 int temp4 ;
1677 int temp5 ;
1678 PyObject * obj0 = 0 ;
1679
1680 arg4 = &temp4;
1681 arg5 = &temp5;
1682 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
1686 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 Py_INCREF(Py_None); resultobj = Py_None;
1692 {
1693 PyObject *o = PyInt_FromLong((long) (*arg4));
1694 resultobj = t_output_helper(resultobj,o);
1695 }
1696 {
1697 PyObject *o = PyInt_FromLong((long) (*arg5));
1698 resultobj = t_output_helper(resultobj,o);
1699 }
1700 return resultobj;
1701 fail:
1702 return NULL;
1703 }
1704
1705
1706 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1707 PyObject *resultobj;
1708 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1709 wxPoint *arg2 = 0 ;
1710 wxPoint result;
1711 wxPoint temp2 ;
1712 PyObject * obj0 = 0 ;
1713 PyObject * obj1 = 0 ;
1714
1715 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1717 {
1718 arg2 = &temp2;
1719 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1720 }
1721 {
1722 PyThreadState* __tstate = wxPyBeginAllowThreads();
1723 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1724
1725 wxPyEndAllowThreads(__tstate);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 {
1729 wxPoint * resultptr;
1730 resultptr = new wxPoint((wxPoint &) result);
1731 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1732 }
1733 return resultobj;
1734 fail:
1735 return NULL;
1736 }
1737
1738
1739 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1740 int argc;
1741 PyObject *argv[4];
1742 int ii;
1743
1744 argc = PyObject_Length(args);
1745 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1746 argv[ii] = PyTuple_GetItem(args,ii);
1747 }
1748 if (argc == 2) {
1749 int _v;
1750 {
1751 void *ptr;
1752 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1753 _v = 0;
1754 PyErr_Clear();
1755 } else {
1756 _v = 1;
1757 }
1758 }
1759 if (_v) {
1760 {
1761 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1762 }
1763 if (_v) {
1764 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1765 }
1766 }
1767 }
1768 if (argc == 3) {
1769 int _v;
1770 {
1771 void *ptr;
1772 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1773 _v = 0;
1774 PyErr_Clear();
1775 } else {
1776 _v = 1;
1777 }
1778 }
1779 if (_v) {
1780 {
1781 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1782 }
1783 if (_v) {
1784 {
1785 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1786 }
1787 if (_v) {
1788 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1789 }
1790 }
1791 }
1792 }
1793
1794 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1795 return NULL;
1796 }
1797
1798
1799 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1800 PyObject *resultobj;
1801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1802 int arg2 ;
1803 int arg3 ;
1804 int *arg4 = (int *) 0 ;
1805 int *arg5 = (int *) 0 ;
1806 int temp4 ;
1807 int temp5 ;
1808 PyObject * obj0 = 0 ;
1809
1810 arg4 = &temp4;
1811 arg5 = &temp5;
1812 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1814 {
1815 PyThreadState* __tstate = wxPyBeginAllowThreads();
1816 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1817
1818 wxPyEndAllowThreads(__tstate);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
1821 Py_INCREF(Py_None); resultobj = Py_None;
1822 {
1823 PyObject *o = PyInt_FromLong((long) (*arg4));
1824 resultobj = t_output_helper(resultobj,o);
1825 }
1826 {
1827 PyObject *o = PyInt_FromLong((long) (*arg5));
1828 resultobj = t_output_helper(resultobj,o);
1829 }
1830 return resultobj;
1831 fail:
1832 return NULL;
1833 }
1834
1835
1836 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1837 PyObject *resultobj;
1838 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1839 wxPoint *arg2 = 0 ;
1840 wxPoint result;
1841 wxPoint temp2 ;
1842 PyObject * obj0 = 0 ;
1843 PyObject * obj1 = 0 ;
1844
1845 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1847 {
1848 arg2 = &temp2;
1849 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1850 }
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 {
1859 wxPoint * resultptr;
1860 resultptr = new wxPoint((wxPoint &) result);
1861 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1862 }
1863 return resultobj;
1864 fail:
1865 return NULL;
1866 }
1867
1868
1869 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1870 int argc;
1871 PyObject *argv[4];
1872 int ii;
1873
1874 argc = PyObject_Length(args);
1875 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1876 argv[ii] = PyTuple_GetItem(args,ii);
1877 }
1878 if (argc == 2) {
1879 int _v;
1880 {
1881 void *ptr;
1882 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1883 _v = 0;
1884 PyErr_Clear();
1885 } else {
1886 _v = 1;
1887 }
1888 }
1889 if (_v) {
1890 {
1891 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1892 }
1893 if (_v) {
1894 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1895 }
1896 }
1897 }
1898 if (argc == 3) {
1899 int _v;
1900 {
1901 void *ptr;
1902 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1903 _v = 0;
1904 PyErr_Clear();
1905 } else {
1906 _v = 1;
1907 }
1908 }
1909 if (_v) {
1910 {
1911 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1912 }
1913 if (_v) {
1914 {
1915 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1916 }
1917 if (_v) {
1918 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1919 }
1920 }
1921 }
1922 }
1923
1924 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1925 return NULL;
1926 }
1927
1928
1929 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject *resultobj;
1931 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1932 PyObject * obj0 = 0 ;
1933 char *kwnames[] = {
1934 (char *) "self", NULL
1935 };
1936
1937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1939 {
1940 PyThreadState* __tstate = wxPyBeginAllowThreads();
1941 (arg1)->AdjustScrollbars();
1942
1943 wxPyEndAllowThreads(__tstate);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 }
1946 Py_INCREF(Py_None); resultobj = Py_None;
1947 return resultobj;
1948 fail:
1949 return NULL;
1950 }
1951
1952
1953 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject *resultobj;
1955 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1956 wxScrollWinEvent *arg2 = 0 ;
1957 int result;
1958 PyObject * obj0 = 0 ;
1959 PyObject * obj1 = 0 ;
1960 char *kwnames[] = {
1961 (char *) "self",(char *) "event", NULL
1962 };
1963
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 if (arg2 == NULL) {
1968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1969 }
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 result = (int)(arg1)->CalcScrollInc(*arg2);
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 resultobj = PyInt_FromLong((long)result);
1978 return resultobj;
1979 fail:
1980 return NULL;
1981 }
1982
1983
1984 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject *resultobj;
1986 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1987 wxWindow *arg2 = (wxWindow *) 0 ;
1988 PyObject * obj0 = 0 ;
1989 PyObject * obj1 = 0 ;
1990 char *kwnames[] = {
1991 (char *) "self",(char *) "target", NULL
1992 };
1993
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 (arg1)->SetTargetWindow(arg2);
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 Py_INCREF(Py_None); resultobj = Py_None;
2005 return resultobj;
2006 fail:
2007 return NULL;
2008 }
2009
2010
2011 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2014 wxWindow *result;
2015 PyObject * obj0 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 {
2030 resultobj = wxPyMake_wxObject(result);
2031 }
2032 return resultobj;
2033 fail:
2034 return NULL;
2035 }
2036
2037
2038 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject *resultobj;
2040 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2041 wxRect *arg2 = 0 ;
2042 wxRect temp2 ;
2043 PyObject * obj0 = 0 ;
2044 PyObject * obj1 = 0 ;
2045 char *kwnames[] = {
2046 (char *) "self",(char *) "rect", NULL
2047 };
2048
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2051 {
2052 arg2 = &temp2;
2053 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2054 }
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 (arg1)->SetTargetRect((wxRect const &)*arg2);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2072 wxRect result;
2073 PyObject * obj0 = 0 ;
2074 char *kwnames[] = {
2075 (char *) "self", NULL
2076 };
2077
2078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 {
2088 wxRect * resultptr;
2089 resultptr = new wxRect((wxRect &) result);
2090 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2091 }
2092 return resultobj;
2093 fail:
2094 return NULL;
2095 }
2096
2097
2098 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2099 PyObject *obj;
2100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2101 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2102 Py_INCREF(obj);
2103 return Py_BuildValue((char *)"");
2104 }
2105 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2106 PyObject *resultobj;
2107 int arg1 = (int) 0 ;
2108 int arg2 = (int) 0 ;
2109 int arg3 = (int) 0 ;
2110 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
2111 wxAcceleratorEntry *result;
2112 PyObject * obj3 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
2118 if (obj3) {
2119 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2120 }
2121 {
2122 PyThreadState* __tstate = wxPyBeginAllowThreads();
2123 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
2124
2125 wxPyEndAllowThreads(__tstate);
2126 if (PyErr_Occurred()) SWIG_fail;
2127 }
2128 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
2129 return resultobj;
2130 fail:
2131 return NULL;
2132 }
2133
2134
2135 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2136 PyObject *resultobj;
2137 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2138 PyObject * obj0 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "self", NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 delete arg1;
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 Py_INCREF(Py_None); resultobj = Py_None;
2153 return resultobj;
2154 fail:
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2162 int arg2 ;
2163 int arg3 ;
2164 int arg4 ;
2165 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
2166 PyObject * obj0 = 0 ;
2167 PyObject * obj4 = 0 ;
2168 char *kwnames[] = {
2169 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2170 };
2171
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2174 if (obj4) {
2175 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2176 }
2177 {
2178 PyThreadState* __tstate = wxPyBeginAllowThreads();
2179 (arg1)->Set(arg2,arg3,arg4,arg5);
2180
2181 wxPyEndAllowThreads(__tstate);
2182 if (PyErr_Occurred()) SWIG_fail;
2183 }
2184 Py_INCREF(Py_None); resultobj = Py_None;
2185 return resultobj;
2186 fail:
2187 return NULL;
2188 }
2189
2190
2191 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2192 PyObject *resultobj;
2193 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2194 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2195 PyObject * obj0 = 0 ;
2196 PyObject * obj1 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "self",(char *) "item", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 (arg1)->SetMenuItem(arg2);
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
2211 Py_INCREF(Py_None); resultobj = Py_None;
2212 return resultobj;
2213 fail:
2214 return NULL;
2215 }
2216
2217
2218 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2219 PyObject *resultobj;
2220 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2221 wxMenuItem *result;
2222 PyObject * obj0 = 0 ;
2223 char *kwnames[] = {
2224 (char *) "self", NULL
2225 };
2226
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 {
2237 resultobj = wxPyMake_wxObject(result);
2238 }
2239 return resultobj;
2240 fail:
2241 return NULL;
2242 }
2243
2244
2245 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
2246 PyObject *resultobj;
2247 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2248 int result;
2249 PyObject * obj0 = 0 ;
2250 char *kwnames[] = {
2251 (char *) "self", NULL
2252 };
2253
2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 result = (int)(arg1)->GetFlags();
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 resultobj = PyInt_FromLong((long)result);
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2271 PyObject *resultobj;
2272 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2273 int result;
2274 PyObject * obj0 = 0 ;
2275 char *kwnames[] = {
2276 (char *) "self", NULL
2277 };
2278
2279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2281 {
2282 PyThreadState* __tstate = wxPyBeginAllowThreads();
2283 result = (int)(arg1)->GetKeyCode();
2284
2285 wxPyEndAllowThreads(__tstate);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 resultobj = PyInt_FromLong((long)result);
2289 return resultobj;
2290 fail:
2291 return NULL;
2292 }
2293
2294
2295 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2296 PyObject *resultobj;
2297 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2298 int result;
2299 PyObject * obj0 = 0 ;
2300 char *kwnames[] = {
2301 (char *) "self", NULL
2302 };
2303
2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 result = (int)(arg1)->GetCommand();
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 resultobj = PyInt_FromLong((long)result);
2314 return resultobj;
2315 fail:
2316 return NULL;
2317 }
2318
2319
2320 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
2321 PyObject *obj;
2322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2323 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
2324 Py_INCREF(obj);
2325 return Py_BuildValue((char *)"");
2326 }
2327 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 int arg1 ;
2330 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
2331 wxAcceleratorTable *result;
2332 PyObject * obj0 = 0 ;
2333 char *kwnames[] = {
2334 (char *) "n", NULL
2335 };
2336
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
2338 {
2339 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
2340 if (arg2) arg1 = PyList_Size(obj0);
2341 else arg1 = 0;
2342 }
2343 {
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
2346
2347 wxPyEndAllowThreads(__tstate);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 }
2350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
2351 {
2352 delete [] arg2;
2353 }
2354 return resultobj;
2355 fail:
2356 {
2357 delete [] arg2;
2358 }
2359 return NULL;
2360 }
2361
2362
2363 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2364 PyObject *resultobj;
2365 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2366 PyObject * obj0 = 0 ;
2367 char *kwnames[] = {
2368 (char *) "self", NULL
2369 };
2370
2371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2373 {
2374 PyThreadState* __tstate = wxPyBeginAllowThreads();
2375 delete arg1;
2376
2377 wxPyEndAllowThreads(__tstate);
2378 if (PyErr_Occurred()) SWIG_fail;
2379 }
2380 Py_INCREF(Py_None); resultobj = Py_None;
2381 return resultobj;
2382 fail:
2383 return NULL;
2384 }
2385
2386
2387 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject *resultobj;
2389 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2390 bool result;
2391 PyObject * obj0 = 0 ;
2392 char *kwnames[] = {
2393 (char *) "self", NULL
2394 };
2395
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2398 {
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 resultobj = PyInt_FromLong((long)result);
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
2413 PyObject *obj;
2414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2415 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
2416 Py_INCREF(obj);
2417 return Py_BuildValue((char *)"");
2418 }
2419 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
2420 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
2421 return 1;
2422 }
2423
2424
2425 static PyObject *_wrap_NullAcceleratorTable_get() {
2426 PyObject *pyobj;
2427
2428 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
2429 return pyobj;
2430 }
2431
2432
2433 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
2434 PyObject *resultobj;
2435 wxString *arg1 = 0 ;
2436 wxAcceleratorEntry *result;
2437 bool temp1 = false ;
2438 PyObject * obj0 = 0 ;
2439 char *kwnames[] = {
2440 (char *) "label", NULL
2441 };
2442
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
2444 {
2445 arg1 = wxString_in_helper(obj0);
2446 if (arg1 == NULL) SWIG_fail;
2447 temp1 = true;
2448 }
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
2457 {
2458 if (temp1)
2459 delete arg1;
2460 }
2461 return resultobj;
2462 fail:
2463 {
2464 if (temp1)
2465 delete arg1;
2466 }
2467 return NULL;
2468 }
2469
2470
2471 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2472 PyObject *resultobj;
2473 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2474 bool arg2 = (bool) TRUE ;
2475 PyObject * obj0 = 0 ;
2476 PyObject * obj1 = 0 ;
2477 char *kwnames[] = {
2478 (char *) "self",(char *) "maximize", NULL
2479 };
2480
2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2483 if (obj1) {
2484 arg2 = PyInt_AsLong(obj1) ? true : false;
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 (arg1)->Maximize(arg2);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 Py_INCREF(Py_None); resultobj = Py_None;
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2504 PyObject * obj0 = 0 ;
2505 char *kwnames[] = {
2506 (char *) "self", NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2511 {
2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
2513 (arg1)->Restore();
2514
2515 wxPyEndAllowThreads(__tstate);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 Py_INCREF(Py_None); resultobj = Py_None;
2519 return resultobj;
2520 fail:
2521 return NULL;
2522 }
2523
2524
2525 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2526 PyObject *resultobj;
2527 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2528 bool arg2 = (bool) TRUE ;
2529 PyObject * obj0 = 0 ;
2530 PyObject * obj1 = 0 ;
2531 char *kwnames[] = {
2532 (char *) "self",(char *) "iconize", NULL
2533 };
2534
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2537 if (obj1) {
2538 arg2 = PyInt_AsLong(obj1) ? true : false;
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 (arg1)->Iconize(arg2);
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 Py_INCREF(Py_None); resultobj = Py_None;
2549 return resultobj;
2550 fail:
2551 return NULL;
2552 }
2553
2554
2555 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2556 PyObject *resultobj;
2557 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2558 bool result;
2559 PyObject * obj0 = 0 ;
2560 char *kwnames[] = {
2561 (char *) "self", NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 resultobj = PyInt_FromLong((long)result);
2574 return resultobj;
2575 fail:
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2583 bool result;
2584 PyObject * obj0 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "self", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2591 {
2592 PyThreadState* __tstate = wxPyBeginAllowThreads();
2593 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2594
2595 wxPyEndAllowThreads(__tstate);
2596 if (PyErr_Occurred()) SWIG_fail;
2597 }
2598 resultobj = PyInt_FromLong((long)result);
2599 return resultobj;
2600 fail:
2601 return NULL;
2602 }
2603
2604
2605 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2606 PyObject *resultobj;
2607 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2608 wxIcon result;
2609 PyObject * obj0 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "self", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
2623 {
2624 wxIcon * resultptr;
2625 resultptr = new wxIcon((wxIcon &) result);
2626 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2627 }
2628 return resultobj;
2629 fail:
2630 return NULL;
2631 }
2632
2633
2634 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2635 PyObject *resultobj;
2636 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2637 wxIcon *arg2 = 0 ;
2638 PyObject * obj0 = 0 ;
2639 PyObject * obj1 = 0 ;
2640 char *kwnames[] = {
2641 (char *) "self",(char *) "icon", NULL
2642 };
2643
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2647 if (arg2 == NULL) {
2648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2649 }
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
2652 (arg1)->SetIcon((wxIcon const &)*arg2);
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
2657 Py_INCREF(Py_None); resultobj = Py_None;
2658 return resultobj;
2659 fail:
2660 return NULL;
2661 }
2662
2663
2664 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject *resultobj;
2666 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2667 wxIconBundle *arg2 = 0 ;
2668 PyObject * obj0 = 0 ;
2669 PyObject * obj1 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "self",(char *) "icons", NULL
2672 };
2673
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2677 if (arg2 == NULL) {
2678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2679 }
2680 {
2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
2682 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2683
2684 wxPyEndAllowThreads(__tstate);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 }
2687 Py_INCREF(Py_None); resultobj = Py_None;
2688 return resultobj;
2689 fail:
2690 return NULL;
2691 }
2692
2693
2694 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject *resultobj;
2696 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2697 bool arg2 ;
2698 long arg3 = (long) wxFULLSCREEN_ALL ;
2699 bool result;
2700 PyObject * obj0 = 0 ;
2701 PyObject * obj1 = 0 ;
2702 char *kwnames[] = {
2703 (char *) "self",(char *) "show",(char *) "style", NULL
2704 };
2705
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2708 arg2 = PyInt_AsLong(obj1) ? true : false;
2709 if (PyErr_Occurred()) SWIG_fail;
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 resultobj = PyInt_FromLong((long)result);
2718 return resultobj;
2719 fail:
2720 return NULL;
2721 }
2722
2723
2724 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj;
2726 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2727 bool result;
2728 PyObject * obj0 = 0 ;
2729 char *kwnames[] = {
2730 (char *) "self", NULL
2731 };
2732
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2735 {
2736 PyThreadState* __tstate = wxPyBeginAllowThreads();
2737 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2738
2739 wxPyEndAllowThreads(__tstate);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 resultobj = PyInt_FromLong((long)result);
2743 return resultobj;
2744 fail:
2745 return NULL;
2746 }
2747
2748
2749 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2750 PyObject *resultobj;
2751 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2752 wxString *arg2 = 0 ;
2753 bool temp2 = false ;
2754 PyObject * obj0 = 0 ;
2755 PyObject * obj1 = 0 ;
2756 char *kwnames[] = {
2757 (char *) "self",(char *) "title", NULL
2758 };
2759
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2762 {
2763 arg2 = wxString_in_helper(obj1);
2764 if (arg2 == NULL) SWIG_fail;
2765 temp2 = true;
2766 }
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 (arg1)->SetTitle((wxString const &)*arg2);
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 Py_INCREF(Py_None); resultobj = Py_None;
2775 {
2776 if (temp2)
2777 delete arg2;
2778 }
2779 return resultobj;
2780 fail:
2781 {
2782 if (temp2)
2783 delete arg2;
2784 }
2785 return NULL;
2786 }
2787
2788
2789 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2790 PyObject *resultobj;
2791 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2792 wxString result;
2793 PyObject * obj0 = 0 ;
2794 char *kwnames[] = {
2795 (char *) "self", NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2800 {
2801 PyThreadState* __tstate = wxPyBeginAllowThreads();
2802 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2803
2804 wxPyEndAllowThreads(__tstate);
2805 if (PyErr_Occurred()) SWIG_fail;
2806 }
2807 {
2808 #if wxUSE_UNICODE
2809 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2810 #else
2811 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2812 #endif
2813 }
2814 return resultobj;
2815 fail:
2816 return NULL;
2817 }
2818
2819
2820 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2821 PyObject *resultobj;
2822 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2823 wxRegion *arg2 = 0 ;
2824 bool result;
2825 PyObject * obj0 = 0 ;
2826 PyObject * obj1 = 0 ;
2827 char *kwnames[] = {
2828 (char *) "self",(char *) "region", NULL
2829 };
2830
2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2834 if (arg2 == NULL) {
2835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2836 }
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 resultobj = PyInt_FromLong((long)result);
2845 return resultobj;
2846 fail:
2847 return NULL;
2848 }
2849
2850
2851 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2852 PyObject *obj;
2853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2854 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2855 Py_INCREF(obj);
2856 return Py_BuildValue((char *)"");
2857 }
2858 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2859 PyObject *resultobj;
2860 wxWindow *arg1 = (wxWindow *) 0 ;
2861 wxWindowID arg2 ;
2862 wxString *arg3 = 0 ;
2863 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2864 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2865 wxSize const &arg5_defvalue = wxDefaultSize ;
2866 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2867 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2868 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2869 wxString *arg7 = (wxString *) &arg7_defvalue ;
2870 wxFrame *result;
2871 bool temp3 = false ;
2872 wxPoint temp4 ;
2873 wxSize temp5 ;
2874 bool temp7 = false ;
2875 PyObject * obj0 = 0 ;
2876 PyObject * obj2 = 0 ;
2877 PyObject * obj3 = 0 ;
2878 PyObject * obj4 = 0 ;
2879 PyObject * obj6 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2886 {
2887 arg3 = wxString_in_helper(obj2);
2888 if (arg3 == NULL) SWIG_fail;
2889 temp3 = true;
2890 }
2891 if (obj3) {
2892 {
2893 arg4 = &temp4;
2894 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2895 }
2896 }
2897 if (obj4) {
2898 {
2899 arg5 = &temp5;
2900 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2901 }
2902 }
2903 if (obj6) {
2904 {
2905 arg7 = wxString_in_helper(obj6);
2906 if (arg7 == NULL) SWIG_fail;
2907 temp7 = true;
2908 }
2909 }
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 {
2918 resultobj = wxPyMake_wxObject(result);
2919 }
2920 {
2921 if (temp3)
2922 delete arg3;
2923 }
2924 {
2925 if (temp7)
2926 delete arg7;
2927 }
2928 return resultobj;
2929 fail:
2930 {
2931 if (temp3)
2932 delete arg3;
2933 }
2934 {
2935 if (temp7)
2936 delete arg7;
2937 }
2938 return NULL;
2939 }
2940
2941
2942 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxFrame *result;
2945 char *kwnames[] = {
2946 NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2950 {
2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
2952 result = (wxFrame *)new wxFrame();
2953
2954 wxPyEndAllowThreads(__tstate);
2955 if (PyErr_Occurred()) SWIG_fail;
2956 }
2957 {
2958 resultobj = wxPyMake_wxObject(result);
2959 }
2960 return resultobj;
2961 fail:
2962 return NULL;
2963 }
2964
2965
2966 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject *resultobj;
2968 wxFrame *arg1 = (wxFrame *) 0 ;
2969 wxWindow *arg2 = (wxWindow *) 0 ;
2970 wxWindowID arg3 ;
2971 wxString *arg4 = 0 ;
2972 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2973 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2974 wxSize const &arg6_defvalue = wxDefaultSize ;
2975 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2976 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2977 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2978 wxString *arg8 = (wxString *) &arg8_defvalue ;
2979 bool result;
2980 bool temp4 = false ;
2981 wxPoint temp5 ;
2982 wxSize temp6 ;
2983 bool temp8 = false ;
2984 PyObject * obj0 = 0 ;
2985 PyObject * obj1 = 0 ;
2986 PyObject * obj3 = 0 ;
2987 PyObject * obj4 = 0 ;
2988 PyObject * obj5 = 0 ;
2989 PyObject * obj7 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2997 {
2998 arg4 = wxString_in_helper(obj3);
2999 if (arg4 == NULL) SWIG_fail;
3000 temp4 = true;
3001 }
3002 if (obj4) {
3003 {
3004 arg5 = &temp5;
3005 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3006 }
3007 }
3008 if (obj5) {
3009 {
3010 arg6 = &temp6;
3011 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3012 }
3013 }
3014 if (obj7) {
3015 {
3016 arg8 = wxString_in_helper(obj7);
3017 if (arg8 == NULL) SWIG_fail;
3018 temp8 = true;
3019 }
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 resultobj = PyInt_FromLong((long)result);
3029 {
3030 if (temp4)
3031 delete arg4;
3032 }
3033 {
3034 if (temp8)
3035 delete arg8;
3036 }
3037 return resultobj;
3038 fail:
3039 {
3040 if (temp4)
3041 delete arg4;
3042 }
3043 {
3044 if (temp8)
3045 delete arg8;
3046 }
3047 return NULL;
3048 }
3049
3050
3051 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject *resultobj;
3053 wxFrame *arg1 = (wxFrame *) 0 ;
3054 wxPoint result;
3055 PyObject * obj0 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3062 {
3063 PyThreadState* __tstate = wxPyBeginAllowThreads();
3064 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3065
3066 wxPyEndAllowThreads(__tstate);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 {
3070 wxPoint * resultptr;
3071 resultptr = new wxPoint((wxPoint &) result);
3072 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3073 }
3074 return resultobj;
3075 fail:
3076 return NULL;
3077 }
3078
3079
3080 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3081 PyObject *resultobj;
3082 wxFrame *arg1 = (wxFrame *) 0 ;
3083 PyObject * obj0 = 0 ;
3084 char *kwnames[] = {
3085 (char *) "self", NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",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 (arg1)->SendSizeEvent();
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 Py_INCREF(Py_None); resultobj = Py_None;
3098 return resultobj;
3099 fail:
3100 return NULL;
3101 }
3102
3103
3104 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxFrame *arg1 = (wxFrame *) 0 ;
3107 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3108 PyObject * obj0 = 0 ;
3109 PyObject * obj1 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self",(char *) "menubar", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 (arg1)->SetMenuBar(arg2);
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 Py_INCREF(Py_None); resultobj = Py_None;
3125 return resultobj;
3126 fail:
3127 return NULL;
3128 }
3129
3130
3131 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj;
3133 wxFrame *arg1 = (wxFrame *) 0 ;
3134 wxMenuBar *result;
3135 PyObject * obj0 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3142 {
3143 PyThreadState* __tstate = wxPyBeginAllowThreads();
3144 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3145
3146 wxPyEndAllowThreads(__tstate);
3147 if (PyErr_Occurred()) SWIG_fail;
3148 }
3149 {
3150 resultobj = wxPyMake_wxObject(result);
3151 }
3152 return resultobj;
3153 fail:
3154 return NULL;
3155 }
3156
3157
3158 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3159 PyObject *resultobj;
3160 wxFrame *arg1 = (wxFrame *) 0 ;
3161 int arg2 ;
3162 bool result;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self",(char *) "winid", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 result = (bool)(arg1)->ProcessCommand(arg2);
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 resultobj = PyInt_FromLong((long)result);
3178 return resultobj;
3179 fail:
3180 return NULL;
3181 }
3182
3183
3184 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxFrame *arg1 = (wxFrame *) 0 ;
3187 int arg2 = (int) 1 ;
3188 long arg3 = (long) wxST_SIZEGRIP ;
3189 wxWindowID arg4 = (wxWindowID) 0 ;
3190 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3191 wxString *arg5 = (wxString *) &arg5_defvalue ;
3192 wxStatusBar *result;
3193 bool temp5 = false ;
3194 PyObject * obj0 = 0 ;
3195 PyObject * obj4 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3202 if (obj4) {
3203 {
3204 arg5 = wxString_in_helper(obj4);
3205 if (arg5 == NULL) SWIG_fail;
3206 temp5 = true;
3207 }
3208 }
3209 {
3210 PyThreadState* __tstate = wxPyBeginAllowThreads();
3211 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3212
3213 wxPyEndAllowThreads(__tstate);
3214 if (PyErr_Occurred()) SWIG_fail;
3215 }
3216 {
3217 resultobj = wxPyMake_wxObject(result);
3218 }
3219 {
3220 if (temp5)
3221 delete arg5;
3222 }
3223 return resultobj;
3224 fail:
3225 {
3226 if (temp5)
3227 delete arg5;
3228 }
3229 return NULL;
3230 }
3231
3232
3233 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject *resultobj;
3235 wxFrame *arg1 = (wxFrame *) 0 ;
3236 wxStatusBar *result;
3237 PyObject * obj0 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "self", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3244 {
3245 PyThreadState* __tstate = wxPyBeginAllowThreads();
3246 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 {
3252 resultobj = wxPyMake_wxObject(result);
3253 }
3254 return resultobj;
3255 fail:
3256 return NULL;
3257 }
3258
3259
3260 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj;
3262 wxFrame *arg1 = (wxFrame *) 0 ;
3263 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "self",(char *) "statBar", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3273 {
3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
3275 (arg1)->SetStatusBar(arg2);
3276
3277 wxPyEndAllowThreads(__tstate);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 Py_INCREF(Py_None); resultobj = Py_None;
3281 return resultobj;
3282 fail:
3283 return NULL;
3284 }
3285
3286
3287 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject *resultobj;
3289 wxFrame *arg1 = (wxFrame *) 0 ;
3290 wxString *arg2 = 0 ;
3291 int arg3 = (int) 0 ;
3292 bool temp2 = false ;
3293 PyObject * obj0 = 0 ;
3294 PyObject * obj1 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self",(char *) "text",(char *) "number", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 {
3302 arg2 = wxString_in_helper(obj1);
3303 if (arg2 == NULL) SWIG_fail;
3304 temp2 = true;
3305 }
3306 {
3307 PyThreadState* __tstate = wxPyBeginAllowThreads();
3308 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3309
3310 wxPyEndAllowThreads(__tstate);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 Py_INCREF(Py_None); resultobj = Py_None;
3314 {
3315 if (temp2)
3316 delete arg2;
3317 }
3318 return resultobj;
3319 fail:
3320 {
3321 if (temp2)
3322 delete arg2;
3323 }
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3329 PyObject *resultobj;
3330 wxFrame *arg1 = (wxFrame *) 0 ;
3331 int arg2 ;
3332 int *arg3 = (int *) 0 ;
3333 PyObject * obj0 = 0 ;
3334 PyObject * obj1 = 0 ;
3335 char *kwnames[] = {
3336 (char *) "self",(char *) "widths", NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3341 {
3342 arg2 = PyList_Size(obj1);
3343 arg3 = int_LIST_helper(obj1);
3344 if (arg3 == NULL) SWIG_fail;
3345 }
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 Py_INCREF(Py_None); resultobj = Py_None;
3354 {
3355 if (arg3) delete [] arg3;
3356 }
3357 return resultobj;
3358 fail:
3359 {
3360 if (arg3) delete [] arg3;
3361 }
3362 return NULL;
3363 }
3364
3365
3366 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxFrame *arg1 = (wxFrame *) 0 ;
3369 wxString *arg2 = 0 ;
3370 int arg3 = (int) 0 ;
3371 bool temp2 = false ;
3372 PyObject * obj0 = 0 ;
3373 PyObject * obj1 = 0 ;
3374 char *kwnames[] = {
3375 (char *) "self",(char *) "text",(char *) "number", NULL
3376 };
3377
3378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3380 {
3381 arg2 = wxString_in_helper(obj1);
3382 if (arg2 == NULL) SWIG_fail;
3383 temp2 = true;
3384 }
3385 {
3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
3387 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3388
3389 wxPyEndAllowThreads(__tstate);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 }
3392 Py_INCREF(Py_None); resultobj = Py_None;
3393 {
3394 if (temp2)
3395 delete arg2;
3396 }
3397 return resultobj;
3398 fail:
3399 {
3400 if (temp2)
3401 delete arg2;
3402 }
3403 return NULL;
3404 }
3405
3406
3407 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3408 PyObject *resultobj;
3409 wxFrame *arg1 = (wxFrame *) 0 ;
3410 int arg2 = (int) 0 ;
3411 PyObject * obj0 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "number", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->PopStatusText(arg2);
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxFrame *arg1 = (wxFrame *) 0 ;
3435 int arg2 ;
3436 PyObject * obj0 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self",(char *) "n", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 (arg1)->SetStatusBarPane(arg2);
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 Py_INCREF(Py_None); resultobj = Py_None;
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxFrame *arg1 = (wxFrame *) 0 ;
3460 int result;
3461 PyObject * obj0 = 0 ;
3462 char *kwnames[] = {
3463 (char *) "self", NULL
3464 };
3465
3466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 resultobj = PyInt_FromLong((long)result);
3476 return resultobj;
3477 fail:
3478 return NULL;
3479 }
3480
3481
3482 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3483 PyObject *resultobj;
3484 wxFrame *arg1 = (wxFrame *) 0 ;
3485 long arg2 = (long) -1 ;
3486 wxWindowID arg3 = (wxWindowID) -1 ;
3487 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3488 wxString *arg4 = (wxString *) &arg4_defvalue ;
3489 wxToolBar *result;
3490 bool temp4 = false ;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj3 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3499 if (obj3) {
3500 {
3501 arg4 = wxString_in_helper(obj3);
3502 if (arg4 == NULL) SWIG_fail;
3503 temp4 = true;
3504 }
3505 }
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 {
3514 resultobj = wxPyMake_wxObject(result);
3515 }
3516 {
3517 if (temp4)
3518 delete arg4;
3519 }
3520 return resultobj;
3521 fail:
3522 {
3523 if (temp4)
3524 delete arg4;
3525 }
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj;
3532 wxFrame *arg1 = (wxFrame *) 0 ;
3533 wxToolBar *result;
3534 PyObject * obj0 = 0 ;
3535 char *kwnames[] = {
3536 (char *) "self", NULL
3537 };
3538
3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 {
3549 resultobj = wxPyMake_wxObject(result);
3550 }
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxFrame *arg1 = (wxFrame *) 0 ;
3560 wxToolBar *arg2 = (wxToolBar *) 0 ;
3561 PyObject * obj0 = 0 ;
3562 PyObject * obj1 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self",(char *) "toolbar", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 (arg1)->SetToolBar(arg2);
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 Py_INCREF(Py_None); resultobj = Py_None;
3578 return resultobj;
3579 fail:
3580 return NULL;
3581 }
3582
3583
3584 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxFrame *arg1 = (wxFrame *) 0 ;
3587 wxString *arg2 = 0 ;
3588 bool arg3 ;
3589 bool temp2 = false ;
3590 PyObject * obj0 = 0 ;
3591 PyObject * obj1 = 0 ;
3592 PyObject * obj2 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "self",(char *) "text",(char *) "show", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3599 {
3600 arg2 = wxString_in_helper(obj1);
3601 if (arg2 == NULL) SWIG_fail;
3602 temp2 = true;
3603 }
3604 arg3 = PyInt_AsLong(obj2) ? true : false;
3605 if (PyErr_Occurred()) SWIG_fail;
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 Py_INCREF(Py_None); resultobj = Py_None;
3614 {
3615 if (temp2)
3616 delete arg2;
3617 }
3618 return resultobj;
3619 fail:
3620 {
3621 if (temp2)
3622 delete arg2;
3623 }
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxFrame *arg1 = (wxFrame *) 0 ;
3631 wxMenu *arg2 = (wxMenu *) NULL ;
3632 PyObject * obj0 = 0 ;
3633 PyObject * obj1 = 0 ;
3634 char *kwnames[] = {
3635 (char *) "self",(char *) "menu", NULL
3636 };
3637
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3640 if (obj1) {
3641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3642 }
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 (arg1)->DoMenuUpdates(arg2);
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 Py_INCREF(Py_None); resultobj = Py_None;
3651 return resultobj;
3652 fail:
3653 return NULL;
3654 }
3655
3656
3657 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3658 PyObject *obj;
3659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3660 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3661 Py_INCREF(obj);
3662 return Py_BuildValue((char *)"");
3663 }
3664 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject *resultobj;
3666 wxWindow *arg1 = (wxWindow *) 0 ;
3667 wxWindowID arg2 ;
3668 wxString *arg3 = 0 ;
3669 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3670 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3671 wxSize const &arg5_defvalue = wxDefaultSize ;
3672 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3673 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3674 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3675 wxString *arg7 = (wxString *) &arg7_defvalue ;
3676 wxDialog *result;
3677 bool temp3 = false ;
3678 wxPoint temp4 ;
3679 wxSize temp5 ;
3680 bool temp7 = false ;
3681 PyObject * obj0 = 0 ;
3682 PyObject * obj2 = 0 ;
3683 PyObject * obj3 = 0 ;
3684 PyObject * obj4 = 0 ;
3685 PyObject * obj6 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3692 {
3693 arg3 = wxString_in_helper(obj2);
3694 if (arg3 == NULL) SWIG_fail;
3695 temp3 = true;
3696 }
3697 if (obj3) {
3698 {
3699 arg4 = &temp4;
3700 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3701 }
3702 }
3703 if (obj4) {
3704 {
3705 arg5 = &temp5;
3706 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3707 }
3708 }
3709 if (obj6) {
3710 {
3711 arg7 = wxString_in_helper(obj6);
3712 if (arg7 == NULL) SWIG_fail;
3713 temp7 = true;
3714 }
3715 }
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3724 {
3725 if (temp3)
3726 delete arg3;
3727 }
3728 {
3729 if (temp7)
3730 delete arg7;
3731 }
3732 return resultobj;
3733 fail:
3734 {
3735 if (temp3)
3736 delete arg3;
3737 }
3738 {
3739 if (temp7)
3740 delete arg7;
3741 }
3742 return NULL;
3743 }
3744
3745
3746 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxDialog *result;
3749 char *kwnames[] = {
3750 NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 result = (wxDialog *)new wxDialog();
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
3761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3762 return resultobj;
3763 fail:
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxDialog *arg1 = (wxDialog *) 0 ;
3771 wxWindow *arg2 = (wxWindow *) 0 ;
3772 wxWindowID arg3 ;
3773 wxString *arg4 = 0 ;
3774 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3775 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3776 wxSize const &arg6_defvalue = wxDefaultSize ;
3777 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3778 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3779 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3780 wxString *arg8 = (wxString *) &arg8_defvalue ;
3781 bool result;
3782 bool temp4 = false ;
3783 wxPoint temp5 ;
3784 wxSize temp6 ;
3785 bool temp8 = false ;
3786 PyObject * obj0 = 0 ;
3787 PyObject * obj1 = 0 ;
3788 PyObject * obj3 = 0 ;
3789 PyObject * obj4 = 0 ;
3790 PyObject * obj5 = 0 ;
3791 PyObject * obj7 = 0 ;
3792 char *kwnames[] = {
3793 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3794 };
3795
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3799 {
3800 arg4 = wxString_in_helper(obj3);
3801 if (arg4 == NULL) SWIG_fail;
3802 temp4 = true;
3803 }
3804 if (obj4) {
3805 {
3806 arg5 = &temp5;
3807 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3808 }
3809 }
3810 if (obj5) {
3811 {
3812 arg6 = &temp6;
3813 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3814 }
3815 }
3816 if (obj7) {
3817 {
3818 arg8 = wxString_in_helper(obj7);
3819 if (arg8 == NULL) SWIG_fail;
3820 temp8 = true;
3821 }
3822 }
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 resultobj = PyInt_FromLong((long)result);
3831 {
3832 if (temp4)
3833 delete arg4;
3834 }
3835 {
3836 if (temp8)
3837 delete arg8;
3838 }
3839 return resultobj;
3840 fail:
3841 {
3842 if (temp4)
3843 delete arg4;
3844 }
3845 {
3846 if (temp8)
3847 delete arg8;
3848 }
3849 return NULL;
3850 }
3851
3852
3853 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3854 PyObject *resultobj;
3855 wxDialog *arg1 = (wxDialog *) 0 ;
3856 int arg2 ;
3857 PyObject * obj0 = 0 ;
3858 char *kwnames[] = {
3859 (char *) "self",(char *) "returnCode", NULL
3860 };
3861
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 (arg1)->SetReturnCode(arg2);
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 Py_INCREF(Py_None); resultobj = Py_None;
3872 return resultobj;
3873 fail:
3874 return NULL;
3875 }
3876
3877
3878 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj;
3880 wxDialog *arg1 = (wxDialog *) 0 ;
3881 int result;
3882 PyObject * obj0 = 0 ;
3883 char *kwnames[] = {
3884 (char *) "self", NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 resultobj = PyInt_FromLong((long)result);
3897 return resultobj;
3898 fail:
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 wxDialog *arg1 = (wxDialog *) 0 ;
3906 wxString *arg2 = 0 ;
3907 wxSizer *result;
3908 bool temp2 = false ;
3909 PyObject * obj0 = 0 ;
3910 PyObject * obj1 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "self",(char *) "message", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3917 {
3918 arg2 = wxString_in_helper(obj1);
3919 if (arg2 == NULL) SWIG_fail;
3920 temp2 = true;
3921 }
3922 {
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3925
3926 wxPyEndAllowThreads(__tstate);
3927 if (PyErr_Occurred()) SWIG_fail;
3928 }
3929 {
3930 resultobj = wxPyMake_wxSizer(result);
3931 }
3932 {
3933 if (temp2)
3934 delete arg2;
3935 }
3936 return resultobj;
3937 fail:
3938 {
3939 if (temp2)
3940 delete arg2;
3941 }
3942 return NULL;
3943 }
3944
3945
3946 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxDialog *arg1 = (wxDialog *) 0 ;
3949 long arg2 ;
3950 wxSizer *result;
3951 PyObject * obj0 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "self",(char *) "flags", NULL
3954 };
3955
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 {
3966 resultobj = wxPyMake_wxSizer(result);
3967 }
3968 return resultobj;
3969 fail:
3970 return NULL;
3971 }
3972
3973
3974 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3975 PyObject *resultobj;
3976 wxDialog *arg1 = (wxDialog *) 0 ;
3977 bool arg2 ;
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self",(char *) "flag", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3986 arg2 = PyInt_AsLong(obj1) ? true : false;
3987 if (PyErr_Occurred()) SWIG_fail;
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 (arg1)->SetModal(arg2);
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) SWIG_fail;
3994 }
3995 Py_INCREF(Py_None); resultobj = Py_None;
3996 return resultobj;
3997 fail:
3998 return NULL;
3999 }
4000
4001
4002 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4003 PyObject *resultobj;
4004 wxDialog *arg1 = (wxDialog *) 0 ;
4005 bool result;
4006 PyObject * obj0 = 0 ;
4007 char *kwnames[] = {
4008 (char *) "self", NULL
4009 };
4010
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 result = (bool)((wxDialog const *)arg1)->IsModal();
4016
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 resultobj = PyInt_FromLong((long)result);
4021 return resultobj;
4022 fail:
4023 return NULL;
4024 }
4025
4026
4027 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject *resultobj;
4029 wxDialog *arg1 = (wxDialog *) 0 ;
4030 int result;
4031 PyObject * obj0 = 0 ;
4032 char *kwnames[] = {
4033 (char *) "self", NULL
4034 };
4035
4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4038 {
4039 PyThreadState* __tstate = wxPyBeginAllowThreads();
4040 result = (int)(arg1)->ShowModal();
4041
4042 wxPyEndAllowThreads(__tstate);
4043 if (PyErr_Occurred()) SWIG_fail;
4044 }
4045 resultobj = PyInt_FromLong((long)result);
4046 return resultobj;
4047 fail:
4048 return NULL;
4049 }
4050
4051
4052 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxDialog *arg1 = (wxDialog *) 0 ;
4055 int arg2 ;
4056 PyObject * obj0 = 0 ;
4057 char *kwnames[] = {
4058 (char *) "self",(char *) "retCode", NULL
4059 };
4060
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
4062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->EndModal(arg2);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 return resultobj;
4072 fail:
4073 return NULL;
4074 }
4075
4076
4077 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxDialog *arg1 = (wxDialog *) 0 ;
4080 bool result;
4081 PyObject * obj0 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "self", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (bool)wxDialog_IsModalShowing(arg1);
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 resultobj = PyInt_FromLong((long)result);
4096 return resultobj;
4097 fail:
4098 return NULL;
4099 }
4100
4101
4102 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4103 PyObject *obj;
4104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4105 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4106 Py_INCREF(obj);
4107 return Py_BuildValue((char *)"");
4108 }
4109 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4110 PyObject *resultobj;
4111 wxWindow *arg1 = (wxWindow *) 0 ;
4112 wxWindowID arg2 ;
4113 wxString *arg3 = 0 ;
4114 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4115 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4116 wxSize const &arg5_defvalue = wxDefaultSize ;
4117 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4118 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4119 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4120 wxString *arg7 = (wxString *) &arg7_defvalue ;
4121 wxMiniFrame *result;
4122 bool temp3 = false ;
4123 wxPoint temp4 ;
4124 wxSize temp5 ;
4125 bool temp7 = false ;
4126 PyObject * obj0 = 0 ;
4127 PyObject * obj2 = 0 ;
4128 PyObject * obj3 = 0 ;
4129 PyObject * obj4 = 0 ;
4130 PyObject * obj6 = 0 ;
4131 char *kwnames[] = {
4132 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4133 };
4134
4135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4137 {
4138 arg3 = wxString_in_helper(obj2);
4139 if (arg3 == NULL) SWIG_fail;
4140 temp3 = true;
4141 }
4142 if (obj3) {
4143 {
4144 arg4 = &temp4;
4145 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4146 }
4147 }
4148 if (obj4) {
4149 {
4150 arg5 = &temp5;
4151 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4152 }
4153 }
4154 if (obj6) {
4155 {
4156 arg7 = wxString_in_helper(obj6);
4157 if (arg7 == NULL) SWIG_fail;
4158 temp7 = true;
4159 }
4160 }
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4164
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4169 {
4170 if (temp3)
4171 delete arg3;
4172 }
4173 {
4174 if (temp7)
4175 delete arg7;
4176 }
4177 return resultobj;
4178 fail:
4179 {
4180 if (temp3)
4181 delete arg3;
4182 }
4183 {
4184 if (temp7)
4185 delete arg7;
4186 }
4187 return NULL;
4188 }
4189
4190
4191 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4192 PyObject *resultobj;
4193 wxMiniFrame *result;
4194 char *kwnames[] = {
4195 NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 result = (wxMiniFrame *)new wxMiniFrame();
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4207 return resultobj;
4208 fail:
4209 return NULL;
4210 }
4211
4212
4213 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj;
4215 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4216 wxWindow *arg2 = (wxWindow *) 0 ;
4217 wxWindowID arg3 ;
4218 wxString *arg4 = 0 ;
4219 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4220 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4221 wxSize const &arg6_defvalue = wxDefaultSize ;
4222 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4223 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4224 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4225 wxString *arg8 = (wxString *) &arg8_defvalue ;
4226 bool result;
4227 bool temp4 = false ;
4228 wxPoint temp5 ;
4229 wxSize temp6 ;
4230 bool temp8 = false ;
4231 PyObject * obj0 = 0 ;
4232 PyObject * obj1 = 0 ;
4233 PyObject * obj3 = 0 ;
4234 PyObject * obj4 = 0 ;
4235 PyObject * obj5 = 0 ;
4236 PyObject * obj7 = 0 ;
4237 char *kwnames[] = {
4238 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4239 };
4240
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4244 {
4245 arg4 = wxString_in_helper(obj3);
4246 if (arg4 == NULL) SWIG_fail;
4247 temp4 = true;
4248 }
4249 if (obj4) {
4250 {
4251 arg5 = &temp5;
4252 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4253 }
4254 }
4255 if (obj5) {
4256 {
4257 arg6 = &temp6;
4258 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4259 }
4260 }
4261 if (obj7) {
4262 {
4263 arg8 = wxString_in_helper(obj7);
4264 if (arg8 == NULL) SWIG_fail;
4265 temp8 = true;
4266 }
4267 }
4268 {
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 resultobj = PyInt_FromLong((long)result);
4276 {
4277 if (temp4)
4278 delete arg4;
4279 }
4280 {
4281 if (temp8)
4282 delete arg8;
4283 }
4284 return resultobj;
4285 fail:
4286 {
4287 if (temp4)
4288 delete arg4;
4289 }
4290 {
4291 if (temp8)
4292 delete arg8;
4293 }
4294 return NULL;
4295 }
4296
4297
4298 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4299 PyObject *obj;
4300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4301 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4302 Py_INCREF(obj);
4303 return Py_BuildValue((char *)"");
4304 }
4305 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4306 PyObject *resultobj;
4307 wxBitmap *arg1 = 0 ;
4308 wxWindow *arg2 = (wxWindow *) 0 ;
4309 wxWindowID arg3 ;
4310 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4311 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4312 wxSize const &arg5_defvalue = wxDefaultSize ;
4313 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4314 long arg6 = (long) wxNO_BORDER ;
4315 wxSplashScreenWindow *result;
4316 wxPoint temp4 ;
4317 wxSize temp5 ;
4318 PyObject * obj0 = 0 ;
4319 PyObject * obj1 = 0 ;
4320 PyObject * obj3 = 0 ;
4321 PyObject * obj4 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4328 if (arg1 == NULL) {
4329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4330 }
4331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4332 if (obj3) {
4333 {
4334 arg4 = &temp4;
4335 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4336 }
4337 }
4338 if (obj4) {
4339 {
4340 arg5 = &temp5;
4341 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4342 }
4343 }
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4352 return resultobj;
4353 fail:
4354 return NULL;
4355 }
4356
4357
4358 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4361 wxBitmap *arg2 = 0 ;
4362 PyObject * obj0 = 0 ;
4363 PyObject * obj1 = 0 ;
4364 char *kwnames[] = {
4365 (char *) "self",(char *) "bitmap", NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4371 if (arg2 == NULL) {
4372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4373 }
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 Py_INCREF(Py_None); resultobj = Py_None;
4382 return resultobj;
4383 fail:
4384 return NULL;
4385 }
4386
4387
4388 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4389 PyObject *resultobj;
4390 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4391 wxBitmap *result;
4392 PyObject * obj0 = 0 ;
4393 char *kwnames[] = {
4394 (char *) "self", NULL
4395 };
4396
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4399 {
4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
4401 {
4402 wxBitmap &_result_ref = (arg1)->GetBitmap();
4403 result = (wxBitmap *) &_result_ref;
4404 }
4405
4406 wxPyEndAllowThreads(__tstate);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
4409 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4410 return resultobj;
4411 fail:
4412 return NULL;
4413 }
4414
4415
4416 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4417 PyObject *obj;
4418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4419 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4420 Py_INCREF(obj);
4421 return Py_BuildValue((char *)"");
4422 }
4423 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4424 PyObject *resultobj;
4425 wxBitmap *arg1 = 0 ;
4426 long arg2 ;
4427 int arg3 ;
4428 wxWindow *arg4 = (wxWindow *) 0 ;
4429 wxWindowID arg5 ;
4430 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4431 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4432 wxSize const &arg7_defvalue = wxDefaultSize ;
4433 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4434 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4435 wxSplashScreen *result;
4436 wxPoint temp6 ;
4437 wxSize temp7 ;
4438 PyObject * obj0 = 0 ;
4439 PyObject * obj3 = 0 ;
4440 PyObject * obj5 = 0 ;
4441 PyObject * obj6 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4448 if (arg1 == NULL) {
4449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4450 }
4451 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4452 if (obj5) {
4453 {
4454 arg6 = &temp6;
4455 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4456 }
4457 }
4458 if (obj6) {
4459 {
4460 arg7 = &temp7;
4461 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4462 }
4463 }
4464 {
4465 PyThreadState* __tstate = wxPyBeginAllowThreads();
4466 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4467
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj;
4480 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4481 long result;
4482 PyObject * obj0 = 0 ;
4483 char *kwnames[] = {
4484 (char *) "self", NULL
4485 };
4486
4487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 resultobj = PyInt_FromLong((long)result);
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4506 wxSplashScreenWindow *result;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4531 int result;
4532 PyObject * obj0 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
4541 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 resultobj = PyInt_FromLong((long)result);
4547 return resultobj;
4548 fail:
4549 return NULL;
4550 }
4551
4552
4553 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4554 PyObject *obj;
4555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4556 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4557 Py_INCREF(obj);
4558 return Py_BuildValue((char *)"");
4559 }
4560 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4561 PyObject *resultobj;
4562 wxWindow *arg1 = (wxWindow *) 0 ;
4563 wxWindowID arg2 = (wxWindowID) -1 ;
4564 long arg3 = (long) wxST_SIZEGRIP ;
4565 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4566 wxString *arg4 = (wxString *) &arg4_defvalue ;
4567 wxStatusBar *result;
4568 bool temp4 = false ;
4569 PyObject * obj0 = 0 ;
4570 PyObject * obj3 = 0 ;
4571 char *kwnames[] = {
4572 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4573 };
4574
4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4577 if (obj3) {
4578 {
4579 arg4 = wxString_in_helper(obj3);
4580 if (arg4 == NULL) SWIG_fail;
4581 temp4 = true;
4582 }
4583 }
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4587
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 }
4591 {
4592 resultobj = wxPyMake_wxObject(result);
4593 }
4594 {
4595 if (temp4)
4596 delete arg4;
4597 }
4598 return resultobj;
4599 fail:
4600 {
4601 if (temp4)
4602 delete arg4;
4603 }
4604 return NULL;
4605 }
4606
4607
4608 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj;
4610 wxStatusBar *result;
4611 char *kwnames[] = {
4612 NULL
4613 };
4614
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 result = (wxStatusBar *)new wxStatusBar();
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 {
4624 resultobj = wxPyMake_wxObject(result);
4625 }
4626 return resultobj;
4627 fail:
4628 return NULL;
4629 }
4630
4631
4632 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4635 wxWindow *arg2 = (wxWindow *) 0 ;
4636 wxWindowID arg3 ;
4637 long arg4 = (long) wxST_SIZEGRIP ;
4638 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4639 wxString *arg5 = (wxString *) &arg5_defvalue ;
4640 bool result;
4641 bool temp5 = false ;
4642 PyObject * obj0 = 0 ;
4643 PyObject * obj1 = 0 ;
4644 PyObject * obj4 = 0 ;
4645 char *kwnames[] = {
4646 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4647 };
4648
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4652 if (obj4) {
4653 {
4654 arg5 = wxString_in_helper(obj4);
4655 if (arg5 == NULL) SWIG_fail;
4656 temp5 = true;
4657 }
4658 }
4659 {
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 resultobj = PyInt_FromLong((long)result);
4667 {
4668 if (temp5)
4669 delete arg5;
4670 }
4671 return resultobj;
4672 fail:
4673 {
4674 if (temp5)
4675 delete arg5;
4676 }
4677 return NULL;
4678 }
4679
4680
4681 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4684 int arg2 = (int) 1 ;
4685 PyObject * obj0 = 0 ;
4686 char *kwnames[] = {
4687 (char *) "self",(char *) "number", NULL
4688 };
4689
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 (arg1)->SetFieldsCount(arg2);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 Py_INCREF(Py_None); resultobj = Py_None;
4700 return resultobj;
4701 fail:
4702 return NULL;
4703 }
4704
4705
4706 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject *resultobj;
4708 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4709 int result;
4710 PyObject * obj0 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "self", NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = PyInt_FromLong((long)result);
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj;
4733 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4734 wxString *arg2 = 0 ;
4735 int arg3 = (int) 0 ;
4736 bool temp2 = false ;
4737 PyObject * obj0 = 0 ;
4738 PyObject * obj1 = 0 ;
4739 char *kwnames[] = {
4740 (char *) "self",(char *) "text",(char *) "number", NULL
4741 };
4742
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4745 {
4746 arg2 = wxString_in_helper(obj1);
4747 if (arg2 == NULL) SWIG_fail;
4748 temp2 = true;
4749 }
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 Py_INCREF(Py_None); resultobj = Py_None;
4758 {
4759 if (temp2)
4760 delete arg2;
4761 }
4762 return resultobj;
4763 fail:
4764 {
4765 if (temp2)
4766 delete arg2;
4767 }
4768 return NULL;
4769 }
4770
4771
4772 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4773 PyObject *resultobj;
4774 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4775 int arg2 = (int) 0 ;
4776 wxString result;
4777 PyObject * obj0 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self",(char *) "number", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 {
4792 #if wxUSE_UNICODE
4793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4794 #else
4795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4796 #endif
4797 }
4798 return resultobj;
4799 fail:
4800 return NULL;
4801 }
4802
4803
4804 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4807 wxString *arg2 = 0 ;
4808 int arg3 = (int) 0 ;
4809 bool temp2 = false ;
4810 PyObject * obj0 = 0 ;
4811 PyObject * obj1 = 0 ;
4812 char *kwnames[] = {
4813 (char *) "self",(char *) "text",(char *) "number", NULL
4814 };
4815
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4818 {
4819 arg2 = wxString_in_helper(obj1);
4820 if (arg2 == NULL) SWIG_fail;
4821 temp2 = true;
4822 }
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4826
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 Py_INCREF(Py_None); resultobj = Py_None;
4831 {
4832 if (temp2)
4833 delete arg2;
4834 }
4835 return resultobj;
4836 fail:
4837 {
4838 if (temp2)
4839 delete arg2;
4840 }
4841 return NULL;
4842 }
4843
4844
4845 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4848 int arg2 = (int) 0 ;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self",(char *) "number", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 (arg1)->PopStatusText(arg2);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 Py_INCREF(Py_None); resultobj = Py_None;
4864 return resultobj;
4865 fail:
4866 return NULL;
4867 }
4868
4869
4870 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4873 int arg2 ;
4874 int *arg3 = (int *) 0 ;
4875 PyObject * obj0 = 0 ;
4876 PyObject * obj1 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "widths", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4883 {
4884 arg2 = PyList_Size(obj1);
4885 arg3 = int_LIST_helper(obj1);
4886 if (arg3 == NULL) SWIG_fail;
4887 }
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 Py_INCREF(Py_None); resultobj = Py_None;
4896 {
4897 if (arg3) delete [] arg3;
4898 }
4899 return resultobj;
4900 fail:
4901 {
4902 if (arg3) delete [] arg3;
4903 }
4904 return NULL;
4905 }
4906
4907
4908 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4911 int arg2 ;
4912 wxRect *arg3 = 0 ;
4913 bool result;
4914 wxRect temp3 ;
4915 PyObject * obj0 = 0 ;
4916 PyObject * obj2 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self",(char *) "i",(char *) "rect", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StatusBar_GetFieldRect",kwnames,&obj0,&arg2,&obj2)) goto fail;
4922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4923 {
4924 arg3 = &temp3;
4925 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
4926 }
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 result = (bool)((wxStatusBar const *)arg1)->GetFieldRect(arg2,*arg3);
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 resultobj = PyInt_FromLong((long)result);
4935 return resultobj;
4936 fail:
4937 return NULL;
4938 }
4939
4940
4941 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj;
4943 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4944 int arg2 ;
4945 PyObject * obj0 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self",(char *) "height", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->SetMinHeight(arg2);
4955
4956 wxPyEndAllowThreads(__tstate);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 Py_INCREF(Py_None); resultobj = Py_None;
4960 return resultobj;
4961 fail:
4962 return NULL;
4963 }
4964
4965
4966 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4969 int result;
4970 PyObject * obj0 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
4984 resultobj = PyInt_FromLong((long)result);
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4994 int result;
4995 PyObject * obj0 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5002 {
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 resultobj = PyInt_FromLong((long)result);
5010 return resultobj;
5011 fail:
5012 return NULL;
5013 }
5014
5015
5016 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5017 PyObject *obj;
5018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5019 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5020 Py_INCREF(obj);
5021 return Py_BuildValue((char *)"");
5022 }
5023 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxWindow *arg1 = (wxWindow *) 0 ;
5026 wxWindowID arg2 ;
5027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5029 wxSize const &arg4_defvalue = wxDefaultSize ;
5030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5031 long arg5 = (long) wxSP_3D ;
5032 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5033 wxString *arg6 = (wxString *) &arg6_defvalue ;
5034 wxSplitterWindow *result;
5035 wxPoint temp3 ;
5036 wxSize temp4 ;
5037 bool temp6 = false ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj2 = 0 ;
5040 PyObject * obj3 = 0 ;
5041 PyObject * obj5 = 0 ;
5042 char *kwnames[] = {
5043 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5044 };
5045
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5048 if (obj2) {
5049 {
5050 arg3 = &temp3;
5051 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5052 }
5053 }
5054 if (obj3) {
5055 {
5056 arg4 = &temp4;
5057 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5058 }
5059 }
5060 if (obj5) {
5061 {
5062 arg6 = wxString_in_helper(obj5);
5063 if (arg6 == NULL) SWIG_fail;
5064 temp6 = true;
5065 }
5066 }
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5075 {
5076 if (temp6)
5077 delete arg6;
5078 }
5079 return resultobj;
5080 fail:
5081 {
5082 if (temp6)
5083 delete arg6;
5084 }
5085 return NULL;
5086 }
5087
5088
5089 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj;
5091 wxSplitterWindow *result;
5092 char *kwnames[] = {
5093 NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 result = (wxSplitterWindow *)new wxSplitterWindow();
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5105 return resultobj;
5106 fail:
5107 return NULL;
5108 }
5109
5110
5111 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5112 PyObject *resultobj;
5113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5114 wxWindow *arg2 = (wxWindow *) 0 ;
5115 wxWindowID arg3 ;
5116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5118 wxSize const &arg5_defvalue = wxDefaultSize ;
5119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5120 long arg6 = (long) wxSP_3D ;
5121 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5122 wxString *arg7 = (wxString *) &arg7_defvalue ;
5123 bool result;
5124 wxPoint temp4 ;
5125 wxSize temp5 ;
5126 bool temp7 = false ;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 PyObject * obj3 = 0 ;
5130 PyObject * obj4 = 0 ;
5131 PyObject * obj6 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5139 if (obj3) {
5140 {
5141 arg4 = &temp4;
5142 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5143 }
5144 }
5145 if (obj4) {
5146 {
5147 arg5 = &temp5;
5148 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5149 }
5150 }
5151 if (obj6) {
5152 {
5153 arg7 = wxString_in_helper(obj6);
5154 if (arg7 == NULL) SWIG_fail;
5155 temp7 = true;
5156 }
5157 }
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = PyInt_FromLong((long)result);
5166 {
5167 if (temp7)
5168 delete arg7;
5169 }
5170 return resultobj;
5171 fail:
5172 {
5173 if (temp7)
5174 delete arg7;
5175 }
5176 return NULL;
5177 }
5178
5179
5180 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj;
5182 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5183 wxWindow *result;
5184 PyObject * obj0 = 0 ;
5185 char *kwnames[] = {
5186 (char *) "self", NULL
5187 };
5188
5189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 {
5199 resultobj = wxPyMake_wxObject(result);
5200 }
5201 return resultobj;
5202 fail:
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5210 wxWindow *result;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 {
5226 resultobj = wxPyMake_wxObject(result);
5227 }
5228 return resultobj;
5229 fail:
5230 return NULL;
5231 }
5232
5233
5234 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5235 PyObject *resultobj;
5236 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5237 int arg2 ;
5238 PyObject * obj0 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "self",(char *) "mode", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 (arg1)->SetSplitMode(arg2);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 Py_INCREF(Py_None); resultobj = Py_None;
5253 return resultobj;
5254 fail:
5255 return NULL;
5256 }
5257
5258
5259 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5260 PyObject *resultobj;
5261 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5262 int result;
5263 PyObject * obj0 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 resultobj = PyInt_FromLong((long)result);
5278 return resultobj;
5279 fail:
5280 return NULL;
5281 }
5282
5283
5284 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj;
5286 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5287 wxWindow *arg2 = (wxWindow *) 0 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self",(char *) "window", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 (arg1)->Initialize(arg2);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 Py_INCREF(Py_None); resultobj = Py_None;
5305 return resultobj;
5306 fail:
5307 return NULL;
5308 }
5309
5310
5311 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5314 wxWindow *arg2 = (wxWindow *) 0 ;
5315 wxWindow *arg3 = (wxWindow *) 0 ;
5316 int arg4 = (int) 0 ;
5317 bool result;
5318 PyObject * obj0 = 0 ;
5319 PyObject * obj1 = 0 ;
5320 PyObject * obj2 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5328 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 resultobj = PyInt_FromLong((long)result);
5337 return resultobj;
5338 fail:
5339 return NULL;
5340 }
5341
5342
5343 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5346 wxWindow *arg2 = (wxWindow *) 0 ;
5347 wxWindow *arg3 = (wxWindow *) 0 ;
5348 int arg4 = (int) 0 ;
5349 bool result;
5350 PyObject * obj0 = 0 ;
5351 PyObject * obj1 = 0 ;
5352 PyObject * obj2 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5360 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 resultobj = PyInt_FromLong((long)result);
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5378 wxWindow *arg2 = (wxWindow *) NULL ;
5379 bool result;
5380 PyObject * obj0 = 0 ;
5381 PyObject * obj1 = 0 ;
5382 char *kwnames[] = {
5383 (char *) "self",(char *) "toRemove", NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5388 if (obj1) {
5389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5390 }
5391 {
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 result = (bool)(arg1)->Unsplit(arg2);
5394
5395 wxPyEndAllowThreads(__tstate);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 resultobj = PyInt_FromLong((long)result);
5399 return resultobj;
5400 fail:
5401 return NULL;
5402 }
5403
5404
5405 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5408 wxWindow *arg2 = (wxWindow *) 0 ;
5409 wxWindow *arg3 = (wxWindow *) 0 ;
5410 bool result;
5411 PyObject * obj0 = 0 ;
5412 PyObject * obj1 = 0 ;
5413 PyObject * obj2 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5421 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5425
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 resultobj = PyInt_FromLong((long)result);
5430 return resultobj;
5431 fail:
5432 return NULL;
5433 }
5434
5435
5436 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj;
5438 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5439 bool result;
5440 PyObject * obj0 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 resultobj = PyInt_FromLong((long)result);
5455 return resultobj;
5456 fail:
5457 return NULL;
5458 }
5459
5460
5461 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5462 PyObject *resultobj;
5463 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5464 int arg2 ;
5465 PyObject * obj0 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "width", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 (arg1)->SetSashSize(arg2);
5475
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 Py_INCREF(Py_None); resultobj = Py_None;
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj;
5488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5489 int arg2 ;
5490 PyObject * obj0 = 0 ;
5491 char *kwnames[] = {
5492 (char *) "self",(char *) "width", NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 (arg1)->SetBorderSize(arg2);
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 Py_INCREF(Py_None); resultobj = Py_None;
5505 return resultobj;
5506 fail:
5507 return NULL;
5508 }
5509
5510
5511 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj;
5513 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5514 int result;
5515 PyObject * obj0 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 resultobj = PyInt_FromLong((long)result);
5530 return resultobj;
5531 fail:
5532 return NULL;
5533 }
5534
5535
5536 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj;
5538 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5539 int result;
5540 PyObject * obj0 = 0 ;
5541 char *kwnames[] = {
5542 (char *) "self", NULL
5543 };
5544
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 resultobj = PyInt_FromLong((long)result);
5555 return resultobj;
5556 fail:
5557 return NULL;
5558 }
5559
5560
5561 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5564 int arg2 ;
5565 bool arg3 = (bool) TRUE ;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj2 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "self",(char *) "position",(char *) "redraw", NULL
5570 };
5571
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5574 if (obj2) {
5575 arg3 = PyInt_AsLong(obj2) ? true : false;
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 (arg1)->SetSashPosition(arg2,arg3);
5581
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 Py_INCREF(Py_None); resultobj = Py_None;
5586 return resultobj;
5587 fail:
5588 return NULL;
5589 }
5590
5591
5592 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj;
5594 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5595 int result;
5596 PyObject * obj0 = 0 ;
5597 char *kwnames[] = {
5598 (char *) "self", NULL
5599 };
5600
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5603 {
5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
5605 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5606
5607 wxPyEndAllowThreads(__tstate);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
5610 resultobj = PyInt_FromLong((long)result);
5611 return resultobj;
5612 fail:
5613 return NULL;
5614 }
5615
5616
5617 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5618 PyObject *resultobj;
5619 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5620 int arg2 ;
5621 PyObject * obj0 = 0 ;
5622 char *kwnames[] = {
5623 (char *) "self",(char *) "min", NULL
5624 };
5625
5626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 (arg1)->SetMinimumPaneSize(arg2);
5631
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 Py_INCREF(Py_None); resultobj = Py_None;
5636 return resultobj;
5637 fail:
5638 return NULL;
5639 }
5640
5641
5642 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5643 PyObject *resultobj;
5644 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5645 int result;
5646 PyObject * obj0 = 0 ;
5647 char *kwnames[] = {
5648 (char *) "self", NULL
5649 };
5650
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 resultobj = PyInt_FromLong((long)result);
5661 return resultobj;
5662 fail:
5663 return NULL;
5664 }
5665
5666
5667 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5670 int arg2 ;
5671 int arg3 ;
5672 int arg4 = (int) 5 ;
5673 bool result;
5674 PyObject * obj0 = 0 ;
5675 char *kwnames[] = {
5676 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5677 };
5678
5679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5681 {
5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
5683 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5684
5685 wxPyEndAllowThreads(__tstate);
5686 if (PyErr_Occurred()) SWIG_fail;
5687 }
5688 resultobj = PyInt_FromLong((long)result);
5689 return resultobj;
5690 fail:
5691 return NULL;
5692 }
5693
5694
5695 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5696 PyObject *resultobj;
5697 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5698 PyObject * obj0 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "self", NULL
5701 };
5702
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 (arg1)->SizeWindows();
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 Py_INCREF(Py_None); resultobj = Py_None;
5713 return resultobj;
5714 fail:
5715 return NULL;
5716 }
5717
5718
5719 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5722 bool arg2 ;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self",(char *) "needUpdating", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5731 arg2 = PyInt_AsLong(obj1) ? true : false;
5732 if (PyErr_Occurred()) SWIG_fail;
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 (arg1)->SetNeedUpdating(arg2);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5750 bool result;
5751 PyObject * obj0 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
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 * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5773 PyObject *obj;
5774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5775 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5776 Py_INCREF(obj);
5777 return Py_BuildValue((char *)"");
5778 }
5779 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj;
5781 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5782 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5783 wxSplitterEvent *result;
5784 PyObject * obj1 = 0 ;
5785 char *kwnames[] = {
5786 (char *) "type",(char *) "splitter", NULL
5787 };
5788
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5790 if (obj1) {
5791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5792 }
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5801 return resultobj;
5802 fail:
5803 return NULL;
5804 }
5805
5806
5807 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj;
5809 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5810 int arg2 ;
5811 PyObject * obj0 = 0 ;
5812 char *kwnames[] = {
5813 (char *) "self",(char *) "pos", NULL
5814 };
5815
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 (arg1)->SetSashPosition(arg2);
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 Py_INCREF(Py_None); resultobj = Py_None;
5826 return resultobj;
5827 fail:
5828 return NULL;
5829 }
5830
5831
5832 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj;
5834 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5835 int result;
5836 PyObject * obj0 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "self", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 resultobj = PyInt_FromLong((long)result);
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5860 wxWindow *result;
5861 PyObject * obj0 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "self", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 {
5876 resultobj = wxPyMake_wxObject(result);
5877 }
5878 return resultobj;
5879 fail:
5880 return NULL;
5881 }
5882
5883
5884 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj;
5886 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5887 int result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = PyInt_FromLong((long)result);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5912 int result;
5913 PyObject * obj0 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "self", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 resultobj = PyInt_FromLong((long)result);
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5935 PyObject *obj;
5936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5937 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5938 Py_INCREF(obj);
5939 return Py_BuildValue((char *)"");
5940 }
5941 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5942 PyObject *resultobj;
5943 wxWindow *arg1 = (wxWindow *) 0 ;
5944 wxWindowID arg2 ;
5945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5947 wxSize const &arg4_defvalue = wxDefaultSize ;
5948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5949 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5950 wxString const &arg6_defvalue = wxPySashNameStr ;
5951 wxString *arg6 = (wxString *) &arg6_defvalue ;
5952 wxSashWindow *result;
5953 wxPoint temp3 ;
5954 wxSize temp4 ;
5955 bool temp6 = false ;
5956 PyObject * obj0 = 0 ;
5957 PyObject * obj2 = 0 ;
5958 PyObject * obj3 = 0 ;
5959 PyObject * obj5 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5966 if (obj2) {
5967 {
5968 arg3 = &temp3;
5969 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5970 }
5971 }
5972 if (obj3) {
5973 {
5974 arg4 = &temp4;
5975 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5976 }
5977 }
5978 if (obj5) {
5979 {
5980 arg6 = wxString_in_helper(obj5);
5981 if (arg6 == NULL) SWIG_fail;
5982 temp6 = true;
5983 }
5984 }
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5988
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5993 {
5994 if (temp6)
5995 delete arg6;
5996 }
5997 return resultobj;
5998 fail:
5999 {
6000 if (temp6)
6001 delete arg6;
6002 }
6003 return NULL;
6004 }
6005
6006
6007 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxSashWindow *result;
6010 char *kwnames[] = {
6011 NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 result = (wxSashWindow *)new wxSashWindow();
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6030 PyObject *resultobj;
6031 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6032 wxWindow *arg2 = (wxWindow *) 0 ;
6033 wxWindowID arg3 ;
6034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6036 wxSize const &arg5_defvalue = wxDefaultSize ;
6037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6038 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6039 wxString const &arg7_defvalue = wxPySashNameStr ;
6040 wxString *arg7 = (wxString *) &arg7_defvalue ;
6041 bool result;
6042 wxPoint temp4 ;
6043 wxSize temp5 ;
6044 bool temp7 = false ;
6045 PyObject * obj0 = 0 ;
6046 PyObject * obj1 = 0 ;
6047 PyObject * obj3 = 0 ;
6048 PyObject * obj4 = 0 ;
6049 PyObject * obj6 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6056 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6057 if (obj3) {
6058 {
6059 arg4 = &temp4;
6060 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6061 }
6062 }
6063 if (obj4) {
6064 {
6065 arg5 = &temp5;
6066 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6067 }
6068 }
6069 if (obj6) {
6070 {
6071 arg7 = wxString_in_helper(obj6);
6072 if (arg7 == NULL) SWIG_fail;
6073 temp7 = true;
6074 }
6075 }
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 resultobj = PyInt_FromLong((long)result);
6084 {
6085 if (temp7)
6086 delete arg7;
6087 }
6088 return resultobj;
6089 fail:
6090 {
6091 if (temp7)
6092 delete arg7;
6093 }
6094 return NULL;
6095 }
6096
6097
6098 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6101 int arg2 ;
6102 bool arg3 ;
6103 PyObject * obj0 = 0 ;
6104 PyObject * obj2 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self",(char *) "edge",(char *) "sash", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6111 arg3 = PyInt_AsLong(obj2) ? true : false;
6112 if (PyErr_Occurred()) SWIG_fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 Py_INCREF(Py_None); resultobj = Py_None;
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6130 int arg2 ;
6131 bool result;
6132 PyObject * obj0 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self",(char *) "edge", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) 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 = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
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_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6156 int arg2 ;
6157 bool arg3 ;
6158 PyObject * obj0 = 0 ;
6159 PyObject * obj2 = 0 ;
6160 char *kwnames[] = {
6161 (char *) "self",(char *) "edge",(char *) "border", NULL
6162 };
6163
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6166 arg3 = PyInt_AsLong(obj2) ? true : false;
6167 if (PyErr_Occurred()) SWIG_fail;
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 Py_INCREF(Py_None); resultobj = Py_None;
6176 return resultobj;
6177 fail:
6178 return NULL;
6179 }
6180
6181
6182 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6183 PyObject *resultobj;
6184 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6185 int arg2 ;
6186 bool result;
6187 PyObject * obj0 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "self",(char *) "edge", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 resultobj = PyInt_FromLong((long)result);
6202 return resultobj;
6203 fail:
6204 return NULL;
6205 }
6206
6207
6208 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6209 PyObject *resultobj;
6210 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6211 int arg2 ;
6212 int result;
6213 PyObject * obj0 = 0 ;
6214 char *kwnames[] = {
6215 (char *) "self",(char *) "edge", NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
6227 resultobj = PyInt_FromLong((long)result);
6228 return resultobj;
6229 fail:
6230 return NULL;
6231 }
6232
6233
6234 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6235 PyObject *resultobj;
6236 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6237 int arg2 ;
6238 PyObject * obj0 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "width", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 (arg1)->SetDefaultBorderSize(arg2);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 Py_INCREF(Py_None); resultobj = Py_None;
6253 return resultobj;
6254 fail:
6255 return NULL;
6256 }
6257
6258
6259 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj;
6261 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6262 int result;
6263 PyObject * obj0 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "self", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 resultobj = PyInt_FromLong((long)result);
6278 return resultobj;
6279 fail:
6280 return NULL;
6281 }
6282
6283
6284 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6285 PyObject *resultobj;
6286 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6287 int arg2 ;
6288 PyObject * obj0 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "self",(char *) "width", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 (arg1)->SetExtraBorderSize(arg2);
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
6302 Py_INCREF(Py_None); resultobj = Py_None;
6303 return resultobj;
6304 fail:
6305 return NULL;
6306 }
6307
6308
6309 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6310 PyObject *resultobj;
6311 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6312 int result;
6313 PyObject * obj0 = 0 ;
6314 char *kwnames[] = {
6315 (char *) "self", NULL
6316 };
6317
6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 resultobj = PyInt_FromLong((long)result);
6328 return resultobj;
6329 fail:
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6337 int arg2 ;
6338 PyObject * obj0 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "min", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 (arg1)->SetMinimumSizeX(arg2);
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 Py_INCREF(Py_None); resultobj = Py_None;
6353 return resultobj;
6354 fail:
6355 return NULL;
6356 }
6357
6358
6359 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6360 PyObject *resultobj;
6361 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6362 int arg2 ;
6363 PyObject * obj0 = 0 ;
6364 char *kwnames[] = {
6365 (char *) "self",(char *) "min", NULL
6366 };
6367
6368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 (arg1)->SetMinimumSizeY(arg2);
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 Py_INCREF(Py_None); resultobj = Py_None;
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6387 int result;
6388 PyObject * obj0 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 resultobj = PyInt_FromLong((long)result);
6403 return resultobj;
6404 fail:
6405 return NULL;
6406 }
6407
6408
6409 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6410 PyObject *resultobj;
6411 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6412 int result;
6413 PyObject * obj0 = 0 ;
6414 char *kwnames[] = {
6415 (char *) "self", NULL
6416 };
6417
6418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 resultobj = PyInt_FromLong((long)result);
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj;
6436 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6437 int arg2 ;
6438 PyObject * obj0 = 0 ;
6439 char *kwnames[] = {
6440 (char *) "self",(char *) "max", NULL
6441 };
6442
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6445 {
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 (arg1)->SetMaximumSizeX(arg2);
6448
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 Py_INCREF(Py_None); resultobj = Py_None;
6453 return resultobj;
6454 fail:
6455 return NULL;
6456 }
6457
6458
6459 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj;
6461 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6462 int arg2 ;
6463 PyObject * obj0 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "self",(char *) "max", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 (arg1)->SetMaximumSizeY(arg2);
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 Py_INCREF(Py_None); resultobj = Py_None;
6478 return resultobj;
6479 fail:
6480 return NULL;
6481 }
6482
6483
6484 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj;
6486 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6487 int result;
6488 PyObject * obj0 = 0 ;
6489 char *kwnames[] = {
6490 (char *) "self", NULL
6491 };
6492
6493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6498
6499 wxPyEndAllowThreads(__tstate);
6500 if (PyErr_Occurred()) SWIG_fail;
6501 }
6502 resultobj = PyInt_FromLong((long)result);
6503 return resultobj;
6504 fail:
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6512 int result;
6513 PyObject * obj0 = 0 ;
6514 char *kwnames[] = {
6515 (char *) "self", NULL
6516 };
6517
6518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 resultobj = PyInt_FromLong((long)result);
6528 return resultobj;
6529 fail:
6530 return NULL;
6531 }
6532
6533
6534 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6535 PyObject *resultobj;
6536 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6537 int arg2 ;
6538 int arg3 ;
6539 int arg4 = (int) 2 ;
6540 int result;
6541 PyObject * obj0 = 0 ;
6542 char *kwnames[] = {
6543 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6544 };
6545
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 resultobj = PyInt_FromLong((long)result);
6556 return resultobj;
6557 fail:
6558 return NULL;
6559 }
6560
6561
6562 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6563 PyObject *resultobj;
6564 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6565 PyObject * obj0 = 0 ;
6566 char *kwnames[] = {
6567 (char *) "self", NULL
6568 };
6569
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 (arg1)->SizeWindows();
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 Py_INCREF(Py_None); resultobj = Py_None;
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6587 PyObject *obj;
6588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6589 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6590 Py_INCREF(obj);
6591 return Py_BuildValue((char *)"");
6592 }
6593 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj;
6595 int arg1 = (int) 0 ;
6596 int arg2 = (int) wxSASH_NONE ;
6597 wxSashEvent *result;
6598 char *kwnames[] = {
6599 (char *) "id",(char *) "edge", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6611 return resultobj;
6612 fail:
6613 return NULL;
6614 }
6615
6616
6617 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject *resultobj;
6619 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6620 int arg2 ;
6621 PyObject * obj0 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "self",(char *) "edge", NULL
6624 };
6625
6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6645 int result;
6646 PyObject * obj0 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = PyInt_FromLong((long)result);
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6670 wxRect *arg2 = 0 ;
6671 wxRect temp2 ;
6672 PyObject * obj0 = 0 ;
6673 PyObject * obj1 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self",(char *) "rect", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6680 {
6681 arg2 = &temp2;
6682 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6683 }
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 (arg1)->SetDragRect((wxRect const &)*arg2);
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 Py_INCREF(Py_None); resultobj = Py_None;
6692 return resultobj;
6693 fail:
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6701 wxRect result;
6702 PyObject * obj0 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "self", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = ((wxSashEvent const *)arg1)->GetDragRect();
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 {
6717 wxRect * resultptr;
6718 resultptr = new wxRect((wxRect &) result);
6719 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6720 }
6721 return resultobj;
6722 fail:
6723 return NULL;
6724 }
6725
6726
6727 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6730 int arg2 ;
6731 PyObject * obj0 = 0 ;
6732 char *kwnames[] = {
6733 (char *) "self",(char *) "status", NULL
6734 };
6735
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 Py_INCREF(Py_None); resultobj = Py_None;
6746 return resultobj;
6747 fail:
6748 return NULL;
6749 }
6750
6751
6752 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj;
6754 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6755 int result;
6756 PyObject * obj0 = 0 ;
6757 char *kwnames[] = {
6758 (char *) "self", NULL
6759 };
6760
6761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6766
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 }
6770 resultobj = PyInt_FromLong((long)result);
6771 return resultobj;
6772 fail:
6773 return NULL;
6774 }
6775
6776
6777 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6778 PyObject *obj;
6779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6780 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6781 Py_INCREF(obj);
6782 return Py_BuildValue((char *)"");
6783 }
6784 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj;
6786 wxWindowID arg1 = (wxWindowID) 0 ;
6787 wxQueryLayoutInfoEvent *result;
6788 char *kwnames[] = {
6789 (char *) "id", NULL
6790 };
6791
6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6810 int arg2 ;
6811 PyObject * obj0 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self",(char *) "length", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 (arg1)->SetRequestedLength(arg2);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 Py_INCREF(Py_None); resultobj = Py_None;
6826 return resultobj;
6827 fail:
6828 return NULL;
6829 }
6830
6831
6832 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6835 int result;
6836 PyObject * obj0 = 0 ;
6837 char *kwnames[] = {
6838 (char *) "self", NULL
6839 };
6840
6841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 resultobj = PyInt_FromLong((long)result);
6851 return resultobj;
6852 fail:
6853 return NULL;
6854 }
6855
6856
6857 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj;
6859 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6860 int arg2 ;
6861 PyObject * obj0 = 0 ;
6862 char *kwnames[] = {
6863 (char *) "self",(char *) "flags", NULL
6864 };
6865
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6868 {
6869 PyThreadState* __tstate = wxPyBeginAllowThreads();
6870 (arg1)->SetFlags(arg2);
6871
6872 wxPyEndAllowThreads(__tstate);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 Py_INCREF(Py_None); resultobj = Py_None;
6876 return resultobj;
6877 fail:
6878 return NULL;
6879 }
6880
6881
6882 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj;
6884 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6885 int result;
6886 PyObject * obj0 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = PyInt_FromLong((long)result);
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6910 wxSize *arg2 = 0 ;
6911 wxSize temp2 ;
6912 PyObject * obj0 = 0 ;
6913 PyObject * obj1 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self",(char *) "size", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6920 {
6921 arg2 = &temp2;
6922 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 (arg1)->SetSize((wxSize const &)*arg2);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 Py_INCREF(Py_None); resultobj = Py_None;
6932 return resultobj;
6933 fail:
6934 return NULL;
6935 }
6936
6937
6938 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj;
6940 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6941 wxSize result;
6942 PyObject * obj0 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 {
6957 wxSize * resultptr;
6958 resultptr = new wxSize((wxSize &) result);
6959 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6960 }
6961 return resultobj;
6962 fail:
6963 return NULL;
6964 }
6965
6966
6967 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6968 PyObject *resultobj;
6969 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6970 int arg2 ;
6971 PyObject * obj0 = 0 ;
6972 char *kwnames[] = {
6973 (char *) "self",(char *) "orient", NULL
6974 };
6975
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6981
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 Py_INCREF(Py_None); resultobj = Py_None;
6986 return resultobj;
6987 fail:
6988 return NULL;
6989 }
6990
6991
6992 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6993 PyObject *resultobj;
6994 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6995 int result;
6996 PyObject * obj0 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = PyInt_FromLong((long)result);
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7020 int arg2 ;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self",(char *) "align", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 Py_INCREF(Py_None); resultobj = Py_None;
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7045 int result;
7046 PyObject * obj0 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 resultobj = PyInt_FromLong((long)result);
7061 return resultobj;
7062 fail:
7063 return NULL;
7064 }
7065
7066
7067 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7068 PyObject *obj;
7069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7070 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7071 Py_INCREF(obj);
7072 return Py_BuildValue((char *)"");
7073 }
7074 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxWindowID arg1 = (wxWindowID) 0 ;
7077 wxCalculateLayoutEvent *result;
7078 char *kwnames[] = {
7079 (char *) "id", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7091 return resultobj;
7092 fail:
7093 return NULL;
7094 }
7095
7096
7097 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj;
7099 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7100 int arg2 ;
7101 PyObject * obj0 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self",(char *) "flags", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->SetFlags(arg2);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 Py_INCREF(Py_None); resultobj = Py_None;
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7125 int result;
7126 PyObject * obj0 = 0 ;
7127 char *kwnames[] = {
7128 (char *) "self", NULL
7129 };
7130
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 resultobj = PyInt_FromLong((long)result);
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7150 wxRect *arg2 = 0 ;
7151 wxRect temp2 ;
7152 PyObject * obj0 = 0 ;
7153 PyObject * obj1 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "self",(char *) "rect", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7160 {
7161 arg2 = &temp2;
7162 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7163 }
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 (arg1)->SetRect((wxRect const &)*arg2);
7167
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 Py_INCREF(Py_None); resultobj = Py_None;
7172 return resultobj;
7173 fail:
7174 return NULL;
7175 }
7176
7177
7178 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7181 wxRect result;
7182 PyObject * obj0 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 {
7197 wxRect * resultptr;
7198 resultptr = new wxRect((wxRect &) result);
7199 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7200 }
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7208 PyObject *obj;
7209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7210 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7211 Py_INCREF(obj);
7212 return Py_BuildValue((char *)"");
7213 }
7214 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj;
7216 wxWindow *arg1 = (wxWindow *) 0 ;
7217 wxWindowID arg2 ;
7218 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7219 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7220 wxSize const &arg4_defvalue = wxDefaultSize ;
7221 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7222 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7223 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7224 wxString *arg6 = (wxString *) &arg6_defvalue ;
7225 wxSashLayoutWindow *result;
7226 wxPoint temp3 ;
7227 wxSize temp4 ;
7228 bool temp6 = false ;
7229 PyObject * obj0 = 0 ;
7230 PyObject * obj2 = 0 ;
7231 PyObject * obj3 = 0 ;
7232 PyObject * obj5 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7239 if (obj2) {
7240 {
7241 arg3 = &temp3;
7242 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7243 }
7244 }
7245 if (obj3) {
7246 {
7247 arg4 = &temp4;
7248 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7249 }
7250 }
7251 if (obj5) {
7252 {
7253 arg6 = wxString_in_helper(obj5);
7254 if (arg6 == NULL) SWIG_fail;
7255 temp6 = true;
7256 }
7257 }
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7266 {
7267 if (temp6)
7268 delete arg6;
7269 }
7270 return resultobj;
7271 fail:
7272 {
7273 if (temp6)
7274 delete arg6;
7275 }
7276 return NULL;
7277 }
7278
7279
7280 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 wxSashLayoutWindow *result;
7283 char *kwnames[] = {
7284 NULL
7285 };
7286
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7305 wxWindow *arg2 = (wxWindow *) 0 ;
7306 wxWindowID arg3 ;
7307 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7308 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7309 wxSize const &arg5_defvalue = wxDefaultSize ;
7310 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7311 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7312 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7313 wxString *arg7 = (wxString *) &arg7_defvalue ;
7314 bool result;
7315 wxPoint temp4 ;
7316 wxSize temp5 ;
7317 bool temp7 = false ;
7318 PyObject * obj0 = 0 ;
7319 PyObject * obj1 = 0 ;
7320 PyObject * obj3 = 0 ;
7321 PyObject * obj4 = 0 ;
7322 PyObject * obj6 = 0 ;
7323 char *kwnames[] = {
7324 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7325 };
7326
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7330 if (obj3) {
7331 {
7332 arg4 = &temp4;
7333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7334 }
7335 }
7336 if (obj4) {
7337 {
7338 arg5 = &temp5;
7339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7340 }
7341 }
7342 if (obj6) {
7343 {
7344 arg7 = wxString_in_helper(obj6);
7345 if (arg7 == NULL) SWIG_fail;
7346 temp7 = true;
7347 }
7348 }
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7352
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 resultobj = PyInt_FromLong((long)result);
7357 {
7358 if (temp7)
7359 delete arg7;
7360 }
7361 return resultobj;
7362 fail:
7363 {
7364 if (temp7)
7365 delete arg7;
7366 }
7367 return NULL;
7368 }
7369
7370
7371 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj;
7373 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7374 int result;
7375 PyObject * obj0 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 result = (int)(arg1)->GetAlignment();
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 resultobj = PyInt_FromLong((long)result);
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7399 int result;
7400 PyObject * obj0 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (int)(arg1)->GetOrientation();
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 resultobj = PyInt_FromLong((long)result);
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7424 int arg2 ;
7425 PyObject * obj0 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "self",(char *) "alignment", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 Py_INCREF(Py_None); resultobj = Py_None;
7440 return resultobj;
7441 fail:
7442 return NULL;
7443 }
7444
7445
7446 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj;
7448 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7449 wxSize *arg2 = 0 ;
7450 wxSize temp2 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char *kwnames[] = {
7454 (char *) "self",(char *) "size", NULL
7455 };
7456
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7459 {
7460 arg2 = &temp2;
7461 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7462 }
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 Py_INCREF(Py_None); resultobj = Py_None;
7471 return resultobj;
7472 fail:
7473 return NULL;
7474 }
7475
7476
7477 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7478 PyObject *resultobj;
7479 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7480 int arg2 ;
7481 PyObject * obj0 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "self",(char *) "orientation", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 Py_INCREF(Py_None); resultobj = Py_None;
7496 return resultobj;
7497 fail:
7498 return NULL;
7499 }
7500
7501
7502 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7503 PyObject *obj;
7504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7505 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7506 Py_INCREF(obj);
7507 return Py_BuildValue((char *)"");
7508 }
7509 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj;
7511 wxLayoutAlgorithm *result;
7512 char *kwnames[] = {
7513 NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 delete arg1;
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 Py_INCREF(Py_None); resultobj = Py_None;
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj;
7557 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7558 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7559 wxRect *arg3 = (wxRect *) NULL ;
7560 bool result;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 PyObject * obj2 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self",(char *) "frame",(char *) "rect", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7571 if (obj2) {
7572 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7573 }
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 resultobj = PyInt_FromLong((long)result);
7582 return resultobj;
7583 fail:
7584 return NULL;
7585 }
7586
7587
7588 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7591 wxFrame *arg2 = (wxFrame *) 0 ;
7592 wxWindow *arg3 = (wxWindow *) NULL ;
7593 bool result;
7594 PyObject * obj0 = 0 ;
7595 PyObject * obj1 = 0 ;
7596 PyObject * obj2 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 if (obj2) {
7605 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7606 }
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 resultobj = PyInt_FromLong((long)result);
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7624 wxWindow *arg2 = (wxWindow *) 0 ;
7625 wxWindow *arg3 = (wxWindow *) NULL ;
7626 bool result;
7627 PyObject * obj0 = 0 ;
7628 PyObject * obj1 = 0 ;
7629 PyObject * obj2 = 0 ;
7630 char *kwnames[] = {
7631 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7632 };
7633
7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7637 if (obj2) {
7638 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = PyInt_FromLong((long)result);
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7655 PyObject *obj;
7656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7657 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7658 Py_INCREF(obj);
7659 return Py_BuildValue((char *)"");
7660 }
7661 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxWindow *arg1 = (wxWindow *) 0 ;
7664 int arg2 = (int) wxBORDER_NONE ;
7665 wxPopupWindow *result;
7666 PyObject * obj0 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "parent",(char *) "flags", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxPopupWindow *result;
7690 char *kwnames[] = {
7691 NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (wxPopupWindow *)new wxPopupWindow();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7710 PyObject *obj;
7711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7712 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7713 Py_INCREF(obj);
7714 return Py_BuildValue((char *)"");
7715 }
7716 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxWindow *arg1 = (wxWindow *) 0 ;
7719 int arg2 = (int) wxBORDER_NONE ;
7720 wxPyPopupTransientWindow *result;
7721 PyObject * obj0 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "parent",(char *) "style", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7736 return resultobj;
7737 fail:
7738 return NULL;
7739 }
7740
7741
7742 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxPyPopupTransientWindow *result;
7745 char *kwnames[] = {
7746 NULL
7747 };
7748
7749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7765 PyObject *obj;
7766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7767 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7768 Py_INCREF(obj);
7769 return Py_BuildValue((char *)"");
7770 }
7771 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxWindow *arg1 = (wxWindow *) 0 ;
7774 wxString *arg2 = (wxString *) 0 ;
7775 wxCoord arg3 = (wxCoord) 100 ;
7776 wxRect *arg4 = (wxRect *) NULL ;
7777 wxTipWindow *result;
7778 PyObject * obj0 = 0 ;
7779 PyObject * obj1 = 0 ;
7780 PyObject * obj3 = 0 ;
7781 char *kwnames[] = {
7782 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7783 };
7784
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7788 if (obj3) {
7789 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7790 }
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const *)arg2,arg3,arg4);
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7808 wxRect *arg2 = 0 ;
7809 wxRect temp2 ;
7810 PyObject * obj0 = 0 ;
7811 PyObject * obj1 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "rectBound", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7818 {
7819 arg2 = &temp2;
7820 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7821 }
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 Py_INCREF(Py_None); resultobj = Py_None;
7830 return resultobj;
7831 fail:
7832 return NULL;
7833 }
7834
7835
7836 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7839 PyObject * obj0 = 0 ;
7840 char *kwnames[] = {
7841 (char *) "self", NULL
7842 };
7843
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 (arg1)->Close();
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 Py_INCREF(Py_None); resultobj = Py_None;
7854 return resultobj;
7855 fail:
7856 return NULL;
7857 }
7858
7859
7860 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7861 PyObject *obj;
7862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7863 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7864 Py_INCREF(obj);
7865 return Py_BuildValue((char *)"");
7866 }
7867 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj;
7869 wxWindow *arg1 = (wxWindow *) 0 ;
7870 wxWindowID arg2 = (wxWindowID) wxID_ANY ;
7871 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7872 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7873 wxSize const &arg4_defvalue = wxDefaultSize ;
7874 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7875 long arg5 = (long) 0 ;
7876 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7877 wxString *arg6 = (wxString *) &arg6_defvalue ;
7878 wxPyVScrolledWindow *result;
7879 wxPoint temp3 ;
7880 wxSize temp4 ;
7881 bool temp6 = false ;
7882 PyObject * obj0 = 0 ;
7883 PyObject * obj2 = 0 ;
7884 PyObject * obj3 = 0 ;
7885 PyObject * obj5 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7892 if (obj2) {
7893 {
7894 arg3 = &temp3;
7895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7896 }
7897 }
7898 if (obj3) {
7899 {
7900 arg4 = &temp4;
7901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7902 }
7903 }
7904 if (obj5) {
7905 {
7906 arg6 = wxString_in_helper(obj5);
7907 if (arg6 == NULL) SWIG_fail;
7908 temp6 = true;
7909 }
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7919 {
7920 if (temp6)
7921 delete arg6;
7922 }
7923 return resultobj;
7924 fail:
7925 {
7926 if (temp6)
7927 delete arg6;
7928 }
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxPyVScrolledWindow *result;
7936 char *kwnames[] = {
7937 NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7958 PyObject *arg2 = (PyObject *) 0 ;
7959 PyObject *arg3 = (PyObject *) 0 ;
7960 PyObject * obj0 = 0 ;
7961 PyObject * obj1 = 0 ;
7962 PyObject * obj2 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self",(char *) "self",(char *) "_class", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7969 arg2 = obj1;
7970 arg3 = obj2;
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 (arg1)->_setCallbackInfo(arg2,arg3);
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 Py_INCREF(Py_None); resultobj = Py_None;
7979 return resultobj;
7980 fail:
7981 return NULL;
7982 }
7983
7984
7985 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7988 wxWindow *arg2 = (wxWindow *) 0 ;
7989 wxWindowID arg3 = (wxWindowID) wxID_ANY ;
7990 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7991 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7992 wxSize const &arg5_defvalue = wxDefaultSize ;
7993 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7994 long arg6 = (long) 0 ;
7995 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7996 wxString *arg7 = (wxString *) &arg7_defvalue ;
7997 bool result;
7998 wxPoint temp4 ;
7999 wxSize temp5 ;
8000 bool temp7 = false ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 PyObject * obj3 = 0 ;
8004 PyObject * obj4 = 0 ;
8005 PyObject * obj6 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8013 if (obj3) {
8014 {
8015 arg4 = &temp4;
8016 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8017 }
8018 }
8019 if (obj4) {
8020 {
8021 arg5 = &temp5;
8022 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8023 }
8024 }
8025 if (obj6) {
8026 {
8027 arg7 = wxString_in_helper(obj6);
8028 if (arg7 == NULL) SWIG_fail;
8029 temp7 = true;
8030 }
8031 }
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 resultobj = PyInt_FromLong((long)result);
8040 {
8041 if (temp7)
8042 delete arg7;
8043 }
8044 return resultobj;
8045 fail:
8046 {
8047 if (temp7)
8048 delete arg7;
8049 }
8050 return NULL;
8051 }
8052
8053
8054 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8057 size_t arg2 ;
8058 PyObject * obj0 = 0 ;
8059 PyObject * obj1 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self",(char *) "count", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8066 arg2 = (size_t) PyInt_AsLong(obj1);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 (arg1)->SetLineCount(arg2);
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 }
8075 Py_INCREF(Py_None); resultobj = Py_None;
8076 return resultobj;
8077 fail:
8078 return NULL;
8079 }
8080
8081
8082 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj;
8084 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8085 size_t arg2 ;
8086 bool result;
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "line", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8095 arg2 = (size_t) PyInt_AsLong(obj1);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 result = (bool)(arg1)->ScrollToLine(arg2);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 resultobj = PyInt_FromLong((long)result);
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj;
8113 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8114 int arg2 ;
8115 bool result;
8116 PyObject * obj0 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "self",(char *) "lines", NULL
8119 };
8120
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 result = (bool)(arg1)->ScrollLines(arg2);
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 resultobj = PyInt_FromLong((long)result);
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8140 int arg2 ;
8141 bool result;
8142 PyObject * obj0 = 0 ;
8143 char *kwnames[] = {
8144 (char *) "self",(char *) "pages", NULL
8145 };
8146
8147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (bool)(arg1)->ScrollPages(arg2);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 resultobj = PyInt_FromLong((long)result);
8157 return resultobj;
8158 fail:
8159 return NULL;
8160 }
8161
8162
8163 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8166 size_t arg2 ;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "self",(char *) "line", NULL
8171 };
8172
8173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8175 arg2 = (size_t) PyInt_AsLong(obj1);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 (arg1)->RefreshLine(arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 Py_INCREF(Py_None); resultobj = Py_None;
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8194 size_t arg2 ;
8195 size_t arg3 ;
8196 PyObject * obj0 = 0 ;
8197 PyObject * obj1 = 0 ;
8198 PyObject * obj2 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self",(char *) "from",(char *) "to", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8205 arg2 = (size_t) PyInt_AsLong(obj1);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 arg3 = (size_t) PyInt_AsLong(obj2);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 (arg1)->RefreshLines(arg2,arg3);
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 Py_INCREF(Py_None); resultobj = Py_None;
8217 return resultobj;
8218 fail:
8219 return NULL;
8220 }
8221
8222
8223 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8224 PyObject *resultobj;
8225 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8226 wxCoord arg2 ;
8227 wxCoord arg3 ;
8228 int result;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self",(char *) "x",(char *) "y", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 resultobj = PyInt_FromLong((long)result);
8244 return resultobj;
8245 fail:
8246 return NULL;
8247 }
8248
8249
8250 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8253 wxPoint *arg2 = 0 ;
8254 int result;
8255 wxPoint temp2 ;
8256 PyObject * obj0 = 0 ;
8257 PyObject * obj1 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self",(char *) "pt", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8264 {
8265 arg2 = &temp2;
8266 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8267 }
8268 {
8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
8270 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8271
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 resultobj = PyInt_FromLong((long)result);
8276 return resultobj;
8277 fail:
8278 return NULL;
8279 }
8280
8281
8282 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj;
8284 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8285 PyObject * obj0 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self", NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 (arg1)->RefreshAll();
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 Py_INCREF(Py_None); resultobj = Py_None;
8300 return resultobj;
8301 fail:
8302 return NULL;
8303 }
8304
8305
8306 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8309 size_t result;
8310 PyObject * obj0 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "self", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 resultobj = PyInt_FromLong((long)result);
8325 return resultobj;
8326 fail:
8327 return NULL;
8328 }
8329
8330
8331 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject *resultobj;
8333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8334 size_t result;
8335 PyObject * obj0 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8345
8346 wxPyEndAllowThreads(__tstate);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 resultobj = PyInt_FromLong((long)result);
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8357 PyObject *resultobj;
8358 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8359 size_t result;
8360 PyObject * obj0 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "self", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 resultobj = PyInt_FromLong((long)result);
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj;
8383 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8384 size_t arg2 ;
8385 bool result;
8386 PyObject * obj0 = 0 ;
8387 PyObject * obj1 = 0 ;
8388 char *kwnames[] = {
8389 (char *) "self",(char *) "line", NULL
8390 };
8391
8392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8394 arg2 = (size_t) PyInt_AsLong(obj1);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 {
8397 PyThreadState* __tstate = wxPyBeginAllowThreads();
8398 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8399
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 resultobj = PyInt_FromLong((long)result);
8404 return resultobj;
8405 fail:
8406 return NULL;
8407 }
8408
8409
8410 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8411 PyObject *obj;
8412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8413 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8414 Py_INCREF(obj);
8415 return Py_BuildValue((char *)"");
8416 }
8417 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxWindow *arg1 = (wxWindow *) 0 ;
8420 wxWindowID arg2 = (wxWindowID) wxID_ANY ;
8421 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8422 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8423 wxSize const &arg4_defvalue = wxDefaultSize ;
8424 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8425 long arg5 = (long) 0 ;
8426 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8427 wxString *arg6 = (wxString *) &arg6_defvalue ;
8428 wxPyVListBox *result;
8429 wxPoint temp3 ;
8430 wxSize temp4 ;
8431 bool temp6 = false ;
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj2 = 0 ;
8434 PyObject * obj3 = 0 ;
8435 PyObject * obj5 = 0 ;
8436 char *kwnames[] = {
8437 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8438 };
8439
8440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8442 if (obj2) {
8443 {
8444 arg3 = &temp3;
8445 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8446 }
8447 }
8448 if (obj3) {
8449 {
8450 arg4 = &temp4;
8451 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8452 }
8453 }
8454 if (obj5) {
8455 {
8456 arg6 = wxString_in_helper(obj5);
8457 if (arg6 == NULL) SWIG_fail;
8458 temp6 = true;
8459 }
8460 }
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8469 {
8470 if (temp6)
8471 delete arg6;
8472 }
8473 return resultobj;
8474 fail:
8475 {
8476 if (temp6)
8477 delete arg6;
8478 }
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxPyVListBox *result;
8486 char *kwnames[] = {
8487 NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (wxPyVListBox *)new wxPyVListBox();
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8499 return resultobj;
8500 fail:
8501 return NULL;
8502 }
8503
8504
8505 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj;
8507 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8508 PyObject *arg2 = (PyObject *) 0 ;
8509 PyObject *arg3 = (PyObject *) 0 ;
8510 PyObject * obj0 = 0 ;
8511 PyObject * obj1 = 0 ;
8512 PyObject * obj2 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self",(char *) "self",(char *) "_class", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8519 arg2 = obj1;
8520 arg3 = obj2;
8521 {
8522 PyThreadState* __tstate = wxPyBeginAllowThreads();
8523 (arg1)->_setCallbackInfo(arg2,arg3);
8524
8525 wxPyEndAllowThreads(__tstate);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
8528 Py_INCREF(Py_None); resultobj = Py_None;
8529 return resultobj;
8530 fail:
8531 return NULL;
8532 }
8533
8534
8535 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8536 PyObject *resultobj;
8537 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8538 wxWindow *arg2 = (wxWindow *) 0 ;
8539 wxWindowID arg3 = (wxWindowID) wxID_ANY ;
8540 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8541 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8542 wxSize const &arg5_defvalue = wxDefaultSize ;
8543 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8544 long arg6 = (long) 0 ;
8545 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8546 wxString *arg7 = (wxString *) &arg7_defvalue ;
8547 bool result;
8548 wxPoint temp4 ;
8549 wxSize temp5 ;
8550 bool temp7 = false ;
8551 PyObject * obj0 = 0 ;
8552 PyObject * obj1 = 0 ;
8553 PyObject * obj3 = 0 ;
8554 PyObject * obj4 = 0 ;
8555 PyObject * obj6 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 if (obj3) {
8564 {
8565 arg4 = &temp4;
8566 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8567 }
8568 }
8569 if (obj4) {
8570 {
8571 arg5 = &temp5;
8572 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8573 }
8574 }
8575 if (obj6) {
8576 {
8577 arg7 = wxString_in_helper(obj6);
8578 if (arg7 == NULL) SWIG_fail;
8579 temp7 = true;
8580 }
8581 }
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8585
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 resultobj = PyInt_FromLong((long)result);
8590 {
8591 if (temp7)
8592 delete arg7;
8593 }
8594 return resultobj;
8595 fail:
8596 {
8597 if (temp7)
8598 delete arg7;
8599 }
8600 return NULL;
8601 }
8602
8603
8604 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8605 PyObject *resultobj;
8606 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8607 size_t result;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 resultobj = PyInt_FromLong((long)result);
8623 return resultobj;
8624 fail:
8625 return NULL;
8626 }
8627
8628
8629 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8632 bool result;
8633 PyObject * obj0 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 resultobj = PyInt_FromLong((long)result);
8648 return resultobj;
8649 fail:
8650 return NULL;
8651 }
8652
8653
8654 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj;
8656 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8657 int result;
8658 PyObject * obj0 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "self", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 resultobj = PyInt_FromLong((long)result);
8673 return resultobj;
8674 fail:
8675 return NULL;
8676 }
8677
8678
8679 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8682 size_t arg2 ;
8683 bool result;
8684 PyObject * obj0 = 0 ;
8685 PyObject * obj1 = 0 ;
8686 char *kwnames[] = {
8687 (char *) "self",(char *) "item", NULL
8688 };
8689
8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8692 arg2 = (size_t) PyInt_AsLong(obj1);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 resultobj = PyInt_FromLong((long)result);
8702 return resultobj;
8703 fail:
8704 return NULL;
8705 }
8706
8707
8708 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj;
8710 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8711 size_t arg2 ;
8712 bool result;
8713 PyObject * obj0 = 0 ;
8714 PyObject * obj1 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self",(char *) "item", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8721 arg2 = (size_t) PyInt_AsLong(obj1);
8722 if (PyErr_Occurred()) SWIG_fail;
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = PyInt_FromLong((long)result);
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8740 size_t result;
8741 PyObject * obj0 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8751
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 resultobj = PyInt_FromLong((long)result);
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj;
8764 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8765 unsigned long *arg2 = 0 ;
8766 int result;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self",(char *) "cookie", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8776 if (arg2 == NULL) {
8777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 resultobj = PyInt_FromLong((long)result);
8787 return resultobj;
8788 fail:
8789 return NULL;
8790 }
8791
8792
8793 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8794 PyObject *resultobj;
8795 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8796 unsigned long *arg2 = 0 ;
8797 int result;
8798 PyObject * obj0 = 0 ;
8799 PyObject * obj1 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self",(char *) "cookie", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8807 if (arg2 == NULL) {
8808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8809 }
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 resultobj = PyInt_FromLong((long)result);
8818 return resultobj;
8819 fail:
8820 return NULL;
8821 }
8822
8823
8824 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8825 PyObject *resultobj;
8826 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8827 wxPoint result;
8828 PyObject * obj0 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self", NULL
8831 };
8832
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 result = ((wxPyVListBox const *)arg1)->GetMargins();
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 {
8843 wxPoint * resultptr;
8844 resultptr = new wxPoint((wxPoint &) result);
8845 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8846 }
8847 return resultobj;
8848 fail:
8849 return NULL;
8850 }
8851
8852
8853 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8856 wxColour *result;
8857 PyObject * obj0 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 {
8867 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8868 result = (wxColour *) &_result_ref;
8869 }
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8875 return resultobj;
8876 fail:
8877 return NULL;
8878 }
8879
8880
8881 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj;
8883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8884 size_t arg2 ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self",(char *) "count", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8893 arg2 = (size_t) PyInt_AsLong(obj1);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 (arg1)->SetItemCount(arg2);
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 Py_INCREF(Py_None); resultobj = Py_None;
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8912 PyObject * obj0 = 0 ;
8913 char *kwnames[] = {
8914 (char *) "self", NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->Clear();
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 Py_INCREF(Py_None); resultobj = Py_None;
8927 return resultobj;
8928 fail:
8929 return NULL;
8930 }
8931
8932
8933 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8936 int arg2 ;
8937 PyObject * obj0 = 0 ;
8938 char *kwnames[] = {
8939 (char *) "self",(char *) "selection", NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 (arg1)->SetSelection(arg2);
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 Py_INCREF(Py_None); resultobj = Py_None;
8952 return resultobj;
8953 fail:
8954 return NULL;
8955 }
8956
8957
8958 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject *resultobj;
8960 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8961 size_t arg2 ;
8962 bool arg3 = (bool) true ;
8963 bool result;
8964 PyObject * obj0 = 0 ;
8965 PyObject * obj1 = 0 ;
8966 PyObject * obj2 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self",(char *) "item",(char *) "select", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8973 arg2 = (size_t) PyInt_AsLong(obj1);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 if (obj2) {
8976 arg3 = PyInt_AsLong(obj2) ? true : false;
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 result = (bool)(arg1)->Select(arg2,arg3);
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 resultobj = PyInt_FromLong((long)result);
8987 return resultobj;
8988 fail:
8989 return NULL;
8990 }
8991
8992
8993 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8996 size_t arg2 ;
8997 size_t arg3 ;
8998 bool result;
8999 PyObject * obj0 = 0 ;
9000 PyObject * obj1 = 0 ;
9001 PyObject * obj2 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "self",(char *) "from",(char *) "to", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 arg2 = (size_t) PyInt_AsLong(obj1);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 arg3 = (size_t) PyInt_AsLong(obj2);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 result = (bool)(arg1)->SelectRange(arg2,arg3);
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 resultobj = PyInt_FromLong((long)result);
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9027 PyObject *resultobj;
9028 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9029 size_t arg2 ;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032 char *kwnames[] = {
9033 (char *) "self",(char *) "item", NULL
9034 };
9035
9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9038 arg2 = (size_t) PyInt_AsLong(obj1);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 (arg1)->Toggle(arg2);
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 Py_INCREF(Py_None); resultobj = Py_None;
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9057 bool result;
9058 PyObject * obj0 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "self", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (bool)(arg1)->SelectAll();
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = PyInt_FromLong((long)result);
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9082 bool result;
9083 PyObject * obj0 = 0 ;
9084 char *kwnames[] = {
9085 (char *) "self", NULL
9086 };
9087
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 result = (bool)(arg1)->DeselectAll();
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 resultobj = PyInt_FromLong((long)result);
9098 return resultobj;
9099 fail:
9100 return NULL;
9101 }
9102
9103
9104 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj;
9106 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9107 wxPoint *arg2 = 0 ;
9108 wxPoint temp2 ;
9109 PyObject * obj0 = 0 ;
9110 PyObject * obj1 = 0 ;
9111 char *kwnames[] = {
9112 (char *) "self",(char *) "pt", NULL
9113 };
9114
9115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9117 {
9118 arg2 = &temp2;
9119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 (arg1)->SetMargins((wxPoint const &)*arg2);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 Py_INCREF(Py_None); resultobj = Py_None;
9129 return resultobj;
9130 fail:
9131 return NULL;
9132 }
9133
9134
9135 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj;
9137 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9138 wxCoord arg2 ;
9139 wxCoord arg3 ;
9140 PyObject * obj0 = 0 ;
9141 char *kwnames[] = {
9142 (char *) "self",(char *) "x",(char *) "y", NULL
9143 };
9144
9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 (arg1)->SetMargins(arg2,arg3);
9150
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 Py_INCREF(Py_None); resultobj = Py_None;
9155 return resultobj;
9156 fail:
9157 return NULL;
9158 }
9159
9160
9161 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9162 PyObject *resultobj;
9163 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9164 wxColour *arg2 = 0 ;
9165 wxColour temp2 ;
9166 PyObject * obj0 = 0 ;
9167 PyObject * obj1 = 0 ;
9168 char *kwnames[] = {
9169 (char *) "self",(char *) "col", NULL
9170 };
9171
9172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9174 {
9175 arg2 = &temp2;
9176 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9177 }
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9181
9182 wxPyEndAllowThreads(__tstate);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 }
9185 Py_INCREF(Py_None); resultobj = Py_None;
9186 return resultobj;
9187 fail:
9188 return NULL;
9189 }
9190
9191
9192 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9193 PyObject *obj;
9194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9195 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9196 Py_INCREF(obj);
9197 return Py_BuildValue((char *)"");
9198 }
9199 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxWindow *arg1 = (wxWindow *) 0 ;
9202 wxWindowID arg2 = (wxWindowID) wxID_ANY ;
9203 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9204 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9205 wxSize const &arg4_defvalue = wxDefaultSize ;
9206 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9207 long arg5 = (long) 0 ;
9208 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9209 wxString *arg6 = (wxString *) &arg6_defvalue ;
9210 wxPyHtmlListBox *result;
9211 wxPoint temp3 ;
9212 wxSize temp4 ;
9213 bool temp6 = false ;
9214 PyObject * obj0 = 0 ;
9215 PyObject * obj2 = 0 ;
9216 PyObject * obj3 = 0 ;
9217 PyObject * obj5 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9224 if (obj2) {
9225 {
9226 arg3 = &temp3;
9227 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9228 }
9229 }
9230 if (obj3) {
9231 {
9232 arg4 = &temp4;
9233 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9234 }
9235 }
9236 if (obj5) {
9237 {
9238 arg6 = wxString_in_helper(obj5);
9239 if (arg6 == NULL) SWIG_fail;
9240 temp6 = true;
9241 }
9242 }
9243 {
9244 PyThreadState* __tstate = wxPyBeginAllowThreads();
9245 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9246
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
9250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9251 {
9252 if (temp6)
9253 delete arg6;
9254 }
9255 return resultobj;
9256 fail:
9257 {
9258 if (temp6)
9259 delete arg6;
9260 }
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj;
9267 wxPyHtmlListBox *result;
9268 char *kwnames[] = {
9269 NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9281 return resultobj;
9282 fail:
9283 return NULL;
9284 }
9285
9286
9287 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj;
9289 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9290 PyObject *arg2 = (PyObject *) 0 ;
9291 PyObject *arg3 = (PyObject *) 0 ;
9292 PyObject * obj0 = 0 ;
9293 PyObject * obj1 = 0 ;
9294 PyObject * obj2 = 0 ;
9295 char *kwnames[] = {
9296 (char *) "self",(char *) "self",(char *) "_class", NULL
9297 };
9298
9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9301 arg2 = obj1;
9302 arg3 = obj2;
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 (arg1)->_setCallbackInfo(arg2,arg3);
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 Py_INCREF(Py_None); resultobj = Py_None;
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9320 wxWindow *arg2 = (wxWindow *) 0 ;
9321 wxWindowID arg3 = (wxWindowID) wxID_ANY ;
9322 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9323 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9324 wxSize const &arg5_defvalue = wxDefaultSize ;
9325 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9326 long arg6 = (long) 0 ;
9327 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9328 wxString *arg7 = (wxString *) &arg7_defvalue ;
9329 bool result;
9330 wxPoint temp4 ;
9331 wxSize temp5 ;
9332 bool temp7 = false ;
9333 PyObject * obj0 = 0 ;
9334 PyObject * obj1 = 0 ;
9335 PyObject * obj3 = 0 ;
9336 PyObject * obj4 = 0 ;
9337 PyObject * obj6 = 0 ;
9338 char *kwnames[] = {
9339 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9340 };
9341
9342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9345 if (obj3) {
9346 {
9347 arg4 = &temp4;
9348 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9349 }
9350 }
9351 if (obj4) {
9352 {
9353 arg5 = &temp5;
9354 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9355 }
9356 }
9357 if (obj6) {
9358 {
9359 arg7 = wxString_in_helper(obj6);
9360 if (arg7 == NULL) SWIG_fail;
9361 temp7 = true;
9362 }
9363 }
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9367
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
9371 resultobj = PyInt_FromLong((long)result);
9372 {
9373 if (temp7)
9374 delete arg7;
9375 }
9376 return resultobj;
9377 fail:
9378 {
9379 if (temp7)
9380 delete arg7;
9381 }
9382 return NULL;
9383 }
9384
9385
9386 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9389 PyObject * obj0 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 (arg1)->RefreshAll();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 Py_INCREF(Py_None); resultobj = Py_None;
9404 return resultobj;
9405 fail:
9406 return NULL;
9407 }
9408
9409
9410 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj;
9412 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9413 size_t arg2 ;
9414 PyObject * obj0 = 0 ;
9415 PyObject * obj1 = 0 ;
9416 char *kwnames[] = {
9417 (char *) "self",(char *) "count", NULL
9418 };
9419
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9422 arg2 = (size_t) PyInt_AsLong(obj1);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 (arg1)->SetItemCount(arg2);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 Py_INCREF(Py_None); resultobj = Py_None;
9432 return resultobj;
9433 fail:
9434 return NULL;
9435 }
9436
9437
9438 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9439 PyObject *obj;
9440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9441 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9442 Py_INCREF(obj);
9443 return Py_BuildValue((char *)"");
9444 }
9445 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxTaskBarIcon *result;
9448 char *kwnames[] = {
9449 NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9461 return resultobj;
9462 fail:
9463 return NULL;
9464 }
9465
9466
9467 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9470 PyObject * obj0 = 0 ;
9471 char *kwnames[] = {
9472 (char *) "self", NULL
9473 };
9474
9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 delete arg1;
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 Py_INCREF(Py_None); resultobj = Py_None;
9485 return resultobj;
9486 fail:
9487 return NULL;
9488 }
9489
9490
9491 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9492 PyObject *obj;
9493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9494 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9495 Py_INCREF(obj);
9496 return Py_BuildValue((char *)"");
9497 }
9498 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj;
9500 wxEventType arg1 ;
9501 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9502 wxTaskBarIconEvent *result;
9503 PyObject * obj1 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "evtType",(char *) "tbIcon", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9525 PyObject *obj;
9526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9527 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9528 Py_INCREF(obj);
9529 return Py_BuildValue((char *)"");
9530 }
9531 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxColourData *result;
9534 char *kwnames[] = {
9535 NULL
9536 };
9537
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 result = (wxColourData *)new wxColourData();
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9547 return resultobj;
9548 fail:
9549 return NULL;
9550 }
9551
9552
9553 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9554 PyObject *resultobj;
9555 wxColourData *arg1 = (wxColourData *) 0 ;
9556 PyObject * obj0 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 delete arg1;
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 Py_INCREF(Py_None); resultobj = Py_None;
9571 return resultobj;
9572 fail:
9573 return NULL;
9574 }
9575
9576
9577 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9578 PyObject *resultobj;
9579 wxColourData *arg1 = (wxColourData *) 0 ;
9580 bool result;
9581 PyObject * obj0 = 0 ;
9582 char *kwnames[] = {
9583 (char *) "self", NULL
9584 };
9585
9586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9588 {
9589 PyThreadState* __tstate = wxPyBeginAllowThreads();
9590 result = (bool)(arg1)->GetChooseFull();
9591
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 resultobj = PyInt_FromLong((long)result);
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj;
9604 wxColourData *arg1 = (wxColourData *) 0 ;
9605 wxColour result;
9606 PyObject * obj0 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "self", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (arg1)->GetColour();
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 {
9621 wxColour * resultptr;
9622 resultptr = new wxColour((wxColour &) result);
9623 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9624 }
9625 return resultobj;
9626 fail:
9627 return NULL;
9628 }
9629
9630
9631 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9632 PyObject *resultobj;
9633 wxColourData *arg1 = (wxColourData *) 0 ;
9634 int arg2 ;
9635 wxColour result;
9636 PyObject * obj0 = 0 ;
9637 char *kwnames[] = {
9638 (char *) "self",(char *) "i", NULL
9639 };
9640
9641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 result = (arg1)->GetCustomColour(arg2);
9646
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 {
9651 wxColour * resultptr;
9652 resultptr = new wxColour((wxColour &) result);
9653 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9654 }
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxColourData *arg1 = (wxColourData *) 0 ;
9664 int arg2 ;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self",(char *) "flag", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 (arg1)->SetChooseFull(arg2);
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 Py_INCREF(Py_None); resultobj = Py_None;
9680 return resultobj;
9681 fail:
9682 return NULL;
9683 }
9684
9685
9686 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxColourData *arg1 = (wxColourData *) 0 ;
9689 wxColour *arg2 = 0 ;
9690 wxColour temp2 ;
9691 PyObject * obj0 = 0 ;
9692 PyObject * obj1 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self",(char *) "colour", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9699 {
9700 arg2 = &temp2;
9701 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9702 }
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 (arg1)->SetColour((wxColour const &)*arg2);
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 Py_INCREF(Py_None); resultobj = Py_None;
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxColourData *arg1 = (wxColourData *) 0 ;
9720 int arg2 ;
9721 wxColour *arg3 = 0 ;
9722 wxColour temp3 ;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj2 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self",(char *) "i",(char *) "colour", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9731 {
9732 arg3 = &temp3;
9733 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9734 }
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 Py_INCREF(Py_None); resultobj = Py_None;
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9750 PyObject *obj;
9751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9752 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9753 Py_INCREF(obj);
9754 return Py_BuildValue((char *)"");
9755 }
9756 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj;
9758 wxWindow *arg1 = (wxWindow *) 0 ;
9759 wxColourData *arg2 = (wxColourData *) NULL ;
9760 wxColourDialog *result;
9761 PyObject * obj0 = 0 ;
9762 PyObject * obj1 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "parent",(char *) "data", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9769 if (obj1) {
9770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9771 }
9772 {
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
9774 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9780 return resultobj;
9781 fail:
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9789 wxColourData *result;
9790 PyObject * obj0 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 {
9800 wxColourData &_result_ref = (arg1)->GetColourData();
9801 result = (wxColourData *) &_result_ref;
9802 }
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9808 return resultobj;
9809 fail:
9810 return NULL;
9811 }
9812
9813
9814 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj;
9816 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9817 int result;
9818 PyObject * obj0 = 0 ;
9819 char *kwnames[] = {
9820 (char *) "self", NULL
9821 };
9822
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 result = (int)(arg1)->ShowModal();
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = PyInt_FromLong((long)result);
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9840 PyObject *obj;
9841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9842 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9843 Py_INCREF(obj);
9844 return Py_BuildValue((char *)"");
9845 }
9846 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxWindow *arg1 = (wxWindow *) 0 ;
9849 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9850 wxString *arg2 = (wxString *) &arg2_defvalue ;
9851 wxString const &arg3_defvalue = wxPyEmptyString ;
9852 wxString *arg3 = (wxString *) &arg3_defvalue ;
9853 long arg4 = (long) 0 ;
9854 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9855 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9856 wxSize const &arg6_defvalue = wxDefaultSize ;
9857 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9858 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9859 wxString *arg7 = (wxString *) &arg7_defvalue ;
9860 wxDirDialog *result;
9861 bool temp2 = false ;
9862 bool temp3 = false ;
9863 wxPoint temp5 ;
9864 wxSize temp6 ;
9865 bool temp7 = false ;
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 PyObject * obj2 = 0 ;
9869 PyObject * obj4 = 0 ;
9870 PyObject * obj5 = 0 ;
9871 PyObject * obj6 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9878 if (obj1) {
9879 {
9880 arg2 = wxString_in_helper(obj1);
9881 if (arg2 == NULL) SWIG_fail;
9882 temp2 = true;
9883 }
9884 }
9885 if (obj2) {
9886 {
9887 arg3 = wxString_in_helper(obj2);
9888 if (arg3 == NULL) SWIG_fail;
9889 temp3 = true;
9890 }
9891 }
9892 if (obj4) {
9893 {
9894 arg5 = &temp5;
9895 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9896 }
9897 }
9898 if (obj5) {
9899 {
9900 arg6 = &temp6;
9901 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9902 }
9903 }
9904 if (obj6) {
9905 {
9906 arg7 = wxString_in_helper(obj6);
9907 if (arg7 == NULL) SWIG_fail;
9908 temp7 = true;
9909 }
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9919 {
9920 if (temp2)
9921 delete arg2;
9922 }
9923 {
9924 if (temp3)
9925 delete arg3;
9926 }
9927 {
9928 if (temp7)
9929 delete arg7;
9930 }
9931 return resultobj;
9932 fail:
9933 {
9934 if (temp2)
9935 delete arg2;
9936 }
9937 {
9938 if (temp3)
9939 delete arg3;
9940 }
9941 {
9942 if (temp7)
9943 delete arg7;
9944 }
9945 return NULL;
9946 }
9947
9948
9949 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj;
9951 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9952 wxString result;
9953 PyObject * obj0 = 0 ;
9954 char *kwnames[] = {
9955 (char *) "self", NULL
9956 };
9957
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (arg1)->GetPath();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 {
9968 #if wxUSE_UNICODE
9969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9970 #else
9971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9972 #endif
9973 }
9974 return resultobj;
9975 fail:
9976 return NULL;
9977 }
9978
9979
9980 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9981 PyObject *resultobj;
9982 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9983 wxString result;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (arg1)->GetMessage();
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 {
9999 #if wxUSE_UNICODE
10000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10001 #else
10002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10003 #endif
10004 }
10005 return resultobj;
10006 fail:
10007 return NULL;
10008 }
10009
10010
10011 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj;
10013 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10014 long result;
10015 PyObject * obj0 = 0 ;
10016 char *kwnames[] = {
10017 (char *) "self", NULL
10018 };
10019
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 result = (long)(arg1)->GetStyle();
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 resultobj = PyInt_FromLong((long)result);
10030 return resultobj;
10031 fail:
10032 return NULL;
10033 }
10034
10035
10036 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10039 wxString *arg2 = 0 ;
10040 bool temp2 = false ;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self",(char *) "message", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10049 {
10050 arg2 = wxString_in_helper(obj1);
10051 if (arg2 == NULL) SWIG_fail;
10052 temp2 = true;
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 (arg1)->SetMessage((wxString const &)*arg2);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 Py_INCREF(Py_None); resultobj = Py_None;
10062 {
10063 if (temp2)
10064 delete arg2;
10065 }
10066 return resultobj;
10067 fail:
10068 {
10069 if (temp2)
10070 delete arg2;
10071 }
10072 return NULL;
10073 }
10074
10075
10076 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj;
10078 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10079 wxString *arg2 = 0 ;
10080 bool temp2 = false ;
10081 PyObject * obj0 = 0 ;
10082 PyObject * obj1 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self",(char *) "path", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10089 {
10090 arg2 = wxString_in_helper(obj1);
10091 if (arg2 == NULL) SWIG_fail;
10092 temp2 = true;
10093 }
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 (arg1)->SetPath((wxString const &)*arg2);
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 Py_INCREF(Py_None); resultobj = Py_None;
10102 {
10103 if (temp2)
10104 delete arg2;
10105 }
10106 return resultobj;
10107 fail:
10108 {
10109 if (temp2)
10110 delete arg2;
10111 }
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10119 int result;
10120 PyObject * obj0 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = (int)(arg1)->ShowModal();
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 resultobj = PyInt_FromLong((long)result);
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10142 PyObject *obj;
10143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10144 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10145 Py_INCREF(obj);
10146 return Py_BuildValue((char *)"");
10147 }
10148 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj;
10150 wxWindow *arg1 = (wxWindow *) 0 ;
10151 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10152 wxString *arg2 = (wxString *) &arg2_defvalue ;
10153 wxString const &arg3_defvalue = wxPyEmptyString ;
10154 wxString *arg3 = (wxString *) &arg3_defvalue ;
10155 wxString const &arg4_defvalue = wxPyEmptyString ;
10156 wxString *arg4 = (wxString *) &arg4_defvalue ;
10157 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10158 wxString *arg5 = (wxString *) &arg5_defvalue ;
10159 long arg6 = (long) 0 ;
10160 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10161 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10162 wxFileDialog *result;
10163 bool temp2 = false ;
10164 bool temp3 = false ;
10165 bool temp4 = false ;
10166 bool temp5 = false ;
10167 wxPoint temp7 ;
10168 PyObject * obj0 = 0 ;
10169 PyObject * obj1 = 0 ;
10170 PyObject * obj2 = 0 ;
10171 PyObject * obj3 = 0 ;
10172 PyObject * obj4 = 0 ;
10173 PyObject * obj6 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10180 if (obj1) {
10181 {
10182 arg2 = wxString_in_helper(obj1);
10183 if (arg2 == NULL) SWIG_fail;
10184 temp2 = true;
10185 }
10186 }
10187 if (obj2) {
10188 {
10189 arg3 = wxString_in_helper(obj2);
10190 if (arg3 == NULL) SWIG_fail;
10191 temp3 = true;
10192 }
10193 }
10194 if (obj3) {
10195 {
10196 arg4 = wxString_in_helper(obj3);
10197 if (arg4 == NULL) SWIG_fail;
10198 temp4 = true;
10199 }
10200 }
10201 if (obj4) {
10202 {
10203 arg5 = wxString_in_helper(obj4);
10204 if (arg5 == NULL) SWIG_fail;
10205 temp5 = true;
10206 }
10207 }
10208 if (obj6) {
10209 {
10210 arg7 = &temp7;
10211 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10212 }
10213 }
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10222 {
10223 if (temp2)
10224 delete arg2;
10225 }
10226 {
10227 if (temp3)
10228 delete arg3;
10229 }
10230 {
10231 if (temp4)
10232 delete arg4;
10233 }
10234 {
10235 if (temp5)
10236 delete arg5;
10237 }
10238 return resultobj;
10239 fail:
10240 {
10241 if (temp2)
10242 delete arg2;
10243 }
10244 {
10245 if (temp3)
10246 delete arg3;
10247 }
10248 {
10249 if (temp4)
10250 delete arg4;
10251 }
10252 {
10253 if (temp5)
10254 delete arg5;
10255 }
10256 return NULL;
10257 }
10258
10259
10260 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10263 wxString *arg2 = 0 ;
10264 bool temp2 = false ;
10265 PyObject * obj0 = 0 ;
10266 PyObject * obj1 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self",(char *) "message", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10273 {
10274 arg2 = wxString_in_helper(obj1);
10275 if (arg2 == NULL) SWIG_fail;
10276 temp2 = true;
10277 }
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 (arg1)->SetMessage((wxString const &)*arg2);
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 Py_INCREF(Py_None); resultobj = Py_None;
10286 {
10287 if (temp2)
10288 delete arg2;
10289 }
10290 return resultobj;
10291 fail:
10292 {
10293 if (temp2)
10294 delete arg2;
10295 }
10296 return NULL;
10297 }
10298
10299
10300 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj;
10302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10303 wxString *arg2 = 0 ;
10304 bool temp2 = false ;
10305 PyObject * obj0 = 0 ;
10306 PyObject * obj1 = 0 ;
10307 char *kwnames[] = {
10308 (char *) "self",(char *) "path", NULL
10309 };
10310
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10313 {
10314 arg2 = wxString_in_helper(obj1);
10315 if (arg2 == NULL) SWIG_fail;
10316 temp2 = true;
10317 }
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 (arg1)->SetPath((wxString const &)*arg2);
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 Py_INCREF(Py_None); resultobj = Py_None;
10326 {
10327 if (temp2)
10328 delete arg2;
10329 }
10330 return resultobj;
10331 fail:
10332 {
10333 if (temp2)
10334 delete arg2;
10335 }
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10343 wxString *arg2 = 0 ;
10344 bool temp2 = false ;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "self",(char *) "dir", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10353 {
10354 arg2 = wxString_in_helper(obj1);
10355 if (arg2 == NULL) SWIG_fail;
10356 temp2 = true;
10357 }
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 (arg1)->SetDirectory((wxString const &)*arg2);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 Py_INCREF(Py_None); resultobj = Py_None;
10366 {
10367 if (temp2)
10368 delete arg2;
10369 }
10370 return resultobj;
10371 fail:
10372 {
10373 if (temp2)
10374 delete arg2;
10375 }
10376 return NULL;
10377 }
10378
10379
10380 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10381 PyObject *resultobj;
10382 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10383 wxString *arg2 = 0 ;
10384 bool temp2 = false ;
10385 PyObject * obj0 = 0 ;
10386 PyObject * obj1 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self",(char *) "name", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10393 {
10394 arg2 = wxString_in_helper(obj1);
10395 if (arg2 == NULL) SWIG_fail;
10396 temp2 = true;
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 (arg1)->SetFilename((wxString const &)*arg2);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 Py_INCREF(Py_None); resultobj = Py_None;
10406 {
10407 if (temp2)
10408 delete arg2;
10409 }
10410 return resultobj;
10411 fail:
10412 {
10413 if (temp2)
10414 delete arg2;
10415 }
10416 return NULL;
10417 }
10418
10419
10420 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10423 wxString *arg2 = 0 ;
10424 bool temp2 = false ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj1 = 0 ;
10427 char *kwnames[] = {
10428 (char *) "self",(char *) "wildCard", NULL
10429 };
10430
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10433 {
10434 arg2 = wxString_in_helper(obj1);
10435 if (arg2 == NULL) SWIG_fail;
10436 temp2 = true;
10437 }
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 (arg1)->SetWildcard((wxString const &)*arg2);
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 Py_INCREF(Py_None); resultobj = Py_None;
10446 {
10447 if (temp2)
10448 delete arg2;
10449 }
10450 return resultobj;
10451 fail:
10452 {
10453 if (temp2)
10454 delete arg2;
10455 }
10456 return NULL;
10457 }
10458
10459
10460 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10461 PyObject *resultobj;
10462 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10463 long arg2 ;
10464 PyObject * obj0 = 0 ;
10465 char *kwnames[] = {
10466 (char *) "self",(char *) "style", NULL
10467 };
10468
10469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 (arg1)->SetStyle(arg2);
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10486 PyObject *resultobj;
10487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10488 int arg2 ;
10489 PyObject * obj0 = 0 ;
10490 char *kwnames[] = {
10491 (char *) "self",(char *) "filterIndex", NULL
10492 };
10493
10494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 (arg1)->SetFilterIndex(arg2);
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 Py_INCREF(Py_None); resultobj = Py_None;
10504 return resultobj;
10505 fail:
10506 return NULL;
10507 }
10508
10509
10510 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10511 PyObject *resultobj;
10512 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10513 wxString result;
10514 PyObject * obj0 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = ((wxFileDialog const *)arg1)->GetMessage();
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 {
10529 #if wxUSE_UNICODE
10530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10531 #else
10532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10533 #endif
10534 }
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10544 wxString result;
10545 PyObject * obj0 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 result = ((wxFileDialog const *)arg1)->GetPath();
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 {
10560 #if wxUSE_UNICODE
10561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10562 #else
10563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10564 #endif
10565 }
10566 return resultobj;
10567 fail:
10568 return NULL;
10569 }
10570
10571
10572 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj;
10574 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10575 wxString result;
10576 PyObject * obj0 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "self", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 result = ((wxFileDialog const *)arg1)->GetDirectory();
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 {
10591 #if wxUSE_UNICODE
10592 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10593 #else
10594 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10595 #endif
10596 }
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj;
10605 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10606 wxString result;
10607 PyObject * obj0 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 result = ((wxFileDialog const *)arg1)->GetFilename();
10617
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 {
10622 #if wxUSE_UNICODE
10623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10624 #else
10625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10626 #endif
10627 }
10628 return resultobj;
10629 fail:
10630 return NULL;
10631 }
10632
10633
10634 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10637 wxString result;
10638 PyObject * obj0 = 0 ;
10639 char *kwnames[] = {
10640 (char *) "self", NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = ((wxFileDialog const *)arg1)->GetWildcard();
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 {
10653 #if wxUSE_UNICODE
10654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10655 #else
10656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10657 #endif
10658 }
10659 return resultobj;
10660 fail:
10661 return NULL;
10662 }
10663
10664
10665 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10666 PyObject *resultobj;
10667 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10668 long result;
10669 PyObject * obj0 = 0 ;
10670 char *kwnames[] = {
10671 (char *) "self", NULL
10672 };
10673
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 resultobj = PyInt_FromLong((long)result);
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj;
10692 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10693 int result;
10694 PyObject * obj0 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 resultobj = PyInt_FromLong((long)result);
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10718 PyObject *result;
10719 PyObject * obj0 = 0 ;
10720 char *kwnames[] = {
10721 (char *) "self", NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 resultobj = result;
10734 return resultobj;
10735 fail:
10736 return NULL;
10737 }
10738
10739
10740 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10743 PyObject *result;
10744 PyObject * obj0 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 resultobj = result;
10759 return resultobj;
10760 fail:
10761 return NULL;
10762 }
10763
10764
10765 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10766 PyObject *obj;
10767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10768 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10769 Py_INCREF(obj);
10770 return Py_BuildValue((char *)"");
10771 }
10772 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10773 PyObject *resultobj;
10774 wxWindow *arg1 = (wxWindow *) 0 ;
10775 wxString *arg2 = 0 ;
10776 wxString *arg3 = 0 ;
10777 int arg4 ;
10778 wxString *arg5 = (wxString *) 0 ;
10779 long arg6 = (long) wxCHOICEDLG_STYLE ;
10780 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10781 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10782 wxMultiChoiceDialog *result;
10783 bool temp2 = false ;
10784 bool temp3 = false ;
10785 wxPoint temp7 ;
10786 PyObject * obj0 = 0 ;
10787 PyObject * obj1 = 0 ;
10788 PyObject * obj2 = 0 ;
10789 PyObject * obj4 = 0 ;
10790 PyObject * obj6 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10797 {
10798 arg2 = wxString_in_helper(obj1);
10799 if (arg2 == NULL) SWIG_fail;
10800 temp2 = true;
10801 }
10802 {
10803 arg3 = wxString_in_helper(obj2);
10804 if (arg3 == NULL) SWIG_fail;
10805 temp3 = true;
10806 }
10807 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10808 if (obj6) {
10809 {
10810 arg7 = &temp7;
10811 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10812 }
10813 }
10814 {
10815 PyThreadState* __tstate = wxPyBeginAllowThreads();
10816 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10817
10818 wxPyEndAllowThreads(__tstate);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 }
10821 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10822 {
10823 if (temp2)
10824 delete arg2;
10825 }
10826 {
10827 if (temp3)
10828 delete arg3;
10829 }
10830 return resultobj;
10831 fail:
10832 {
10833 if (temp2)
10834 delete arg2;
10835 }
10836 {
10837 if (temp3)
10838 delete arg3;
10839 }
10840 return NULL;
10841 }
10842
10843
10844 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10847 wxArrayInt *arg2 = 0 ;
10848 PyObject * obj0 = 0 ;
10849 PyObject * obj1 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self",(char *) "selections", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10856 {
10857 if (! PySequence_Check(obj1)) {
10858 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10859 SWIG_fail;
10860 }
10861 arg2 = new wxArrayInt;
10862 int i, len=PySequence_Length(obj1);
10863 for (i=0; i<len; i++) {
10864 PyObject* item = PySequence_GetItem(obj1, i);
10865 PyObject* number = PyNumber_Int(item);
10866 arg2->Add(PyInt_AS_LONG(number));
10867 Py_DECREF(item);
10868 Py_DECREF(number);
10869 }
10870 }
10871 {
10872 PyThreadState* __tstate = wxPyBeginAllowThreads();
10873 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10874
10875 wxPyEndAllowThreads(__tstate);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 }
10878 Py_INCREF(Py_None); resultobj = Py_None;
10879 {
10880 if (arg2) delete arg2;
10881 }
10882 return resultobj;
10883 fail:
10884 {
10885 if (arg2) delete arg2;
10886 }
10887 return NULL;
10888 }
10889
10890
10891 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10892 PyObject *resultobj;
10893 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10894 PyObject *result;
10895 PyObject * obj0 = 0 ;
10896 char *kwnames[] = {
10897 (char *) "self", NULL
10898 };
10899
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10902 {
10903 PyThreadState* __tstate = wxPyBeginAllowThreads();
10904 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10905
10906 wxPyEndAllowThreads(__tstate);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 }
10909 resultobj = result;
10910 return resultobj;
10911 fail:
10912 return NULL;
10913 }
10914
10915
10916 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10917 PyObject *obj;
10918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10919 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10920 Py_INCREF(obj);
10921 return Py_BuildValue((char *)"");
10922 }
10923 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10924 PyObject *resultobj;
10925 wxWindow *arg1 = (wxWindow *) 0 ;
10926 wxString *arg2 = 0 ;
10927 wxString *arg3 = 0 ;
10928 int arg4 ;
10929 wxString *arg5 = (wxString *) 0 ;
10930 long arg6 = (long) wxCHOICEDLG_STYLE ;
10931 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10932 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10933 wxSingleChoiceDialog *result;
10934 bool temp2 = false ;
10935 bool temp3 = false ;
10936 wxPoint temp6 ;
10937 PyObject * obj0 = 0 ;
10938 PyObject * obj1 = 0 ;
10939 PyObject * obj2 = 0 ;
10940 PyObject * obj3 = 0 ;
10941 PyObject * obj5 = 0 ;
10942 char *kwnames[] = {
10943 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10944 };
10945
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10948 {
10949 arg2 = wxString_in_helper(obj1);
10950 if (arg2 == NULL) SWIG_fail;
10951 temp2 = true;
10952 }
10953 {
10954 arg3 = wxString_in_helper(obj2);
10955 if (arg3 == NULL) SWIG_fail;
10956 temp3 = true;
10957 }
10958 {
10959 arg4 = PyList_Size(obj3);
10960 arg5 = wxString_LIST_helper(obj3);
10961 if (arg5 == NULL) SWIG_fail;
10962 }
10963 if (obj5) {
10964 {
10965 arg7 = &temp6;
10966 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10967 }
10968 }
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10977 {
10978 if (temp2)
10979 delete arg2;
10980 }
10981 {
10982 if (temp3)
10983 delete arg3;
10984 }
10985 {
10986 if (arg5) delete [] arg5;
10987 }
10988 return resultobj;
10989 fail:
10990 {
10991 if (temp2)
10992 delete arg2;
10993 }
10994 {
10995 if (temp3)
10996 delete arg3;
10997 }
10998 {
10999 if (arg5) delete [] arg5;
11000 }
11001 return NULL;
11002 }
11003
11004
11005 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11006 PyObject *resultobj;
11007 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11008 int result;
11009 PyObject * obj0 = 0 ;
11010 char *kwnames[] = {
11011 (char *) "self", NULL
11012 };
11013
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (int)(arg1)->GetSelection();
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 resultobj = PyInt_FromLong((long)result);
11024 return resultobj;
11025 fail:
11026 return NULL;
11027 }
11028
11029
11030 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11031 PyObject *resultobj;
11032 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11033 wxString result;
11034 PyObject * obj0 = 0 ;
11035 char *kwnames[] = {
11036 (char *) "self", NULL
11037 };
11038
11039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (arg1)->GetStringSelection();
11044
11045 wxPyEndAllowThreads(__tstate);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 {
11049 #if wxUSE_UNICODE
11050 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11051 #else
11052 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11053 #endif
11054 }
11055 return resultobj;
11056 fail:
11057 return NULL;
11058 }
11059
11060
11061 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj;
11063 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11064 int arg2 ;
11065 PyObject * obj0 = 0 ;
11066 char *kwnames[] = {
11067 (char *) "self",(char *) "sel", NULL
11068 };
11069
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 (arg1)->SetSelection(arg2);
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 Py_INCREF(Py_None); resultobj = Py_None;
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11089 int result;
11090 PyObject * obj0 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 result = (int)(arg1)->ShowModal();
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 resultobj = PyInt_FromLong((long)result);
11105 return resultobj;
11106 fail:
11107 return NULL;
11108 }
11109
11110
11111 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11112 PyObject *obj;
11113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11114 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11115 Py_INCREF(obj);
11116 return Py_BuildValue((char *)"");
11117 }
11118 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11119 PyObject *resultobj;
11120 wxWindow *arg1 = (wxWindow *) 0 ;
11121 wxString *arg2 = 0 ;
11122 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11123 wxString *arg3 = (wxString *) &arg3_defvalue ;
11124 wxString const &arg4_defvalue = wxPyEmptyString ;
11125 wxString *arg4 = (wxString *) &arg4_defvalue ;
11126 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11127 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11128 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11129 wxTextEntryDialog *result;
11130 bool temp2 = false ;
11131 bool temp3 = false ;
11132 bool temp4 = false ;
11133 wxPoint temp6 ;
11134 PyObject * obj0 = 0 ;
11135 PyObject * obj1 = 0 ;
11136 PyObject * obj2 = 0 ;
11137 PyObject * obj3 = 0 ;
11138 PyObject * obj5 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11145 {
11146 arg2 = wxString_in_helper(obj1);
11147 if (arg2 == NULL) SWIG_fail;
11148 temp2 = true;
11149 }
11150 if (obj2) {
11151 {
11152 arg3 = wxString_in_helper(obj2);
11153 if (arg3 == NULL) SWIG_fail;
11154 temp3 = true;
11155 }
11156 }
11157 if (obj3) {
11158 {
11159 arg4 = wxString_in_helper(obj3);
11160 if (arg4 == NULL) SWIG_fail;
11161 temp4 = true;
11162 }
11163 }
11164 if (obj5) {
11165 {
11166 arg6 = &temp6;
11167 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11168 }
11169 }
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11178 {
11179 if (temp2)
11180 delete arg2;
11181 }
11182 {
11183 if (temp3)
11184 delete arg3;
11185 }
11186 {
11187 if (temp4)
11188 delete arg4;
11189 }
11190 return resultobj;
11191 fail:
11192 {
11193 if (temp2)
11194 delete arg2;
11195 }
11196 {
11197 if (temp3)
11198 delete arg3;
11199 }
11200 {
11201 if (temp4)
11202 delete arg4;
11203 }
11204 return NULL;
11205 }
11206
11207
11208 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11209 PyObject *resultobj;
11210 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11211 wxString result;
11212 PyObject * obj0 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 result = (arg1)->GetValue();
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 {
11227 #if wxUSE_UNICODE
11228 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11229 #else
11230 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11231 #endif
11232 }
11233 return resultobj;
11234 fail:
11235 return NULL;
11236 }
11237
11238
11239 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11242 wxString *arg2 = 0 ;
11243 bool temp2 = false ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char *kwnames[] = {
11247 (char *) "self",(char *) "value", NULL
11248 };
11249
11250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11252 {
11253 arg2 = wxString_in_helper(obj1);
11254 if (arg2 == NULL) SWIG_fail;
11255 temp2 = true;
11256 }
11257 {
11258 PyThreadState* __tstate = wxPyBeginAllowThreads();
11259 (arg1)->SetValue((wxString const &)*arg2);
11260
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
11264 Py_INCREF(Py_None); resultobj = Py_None;
11265 {
11266 if (temp2)
11267 delete arg2;
11268 }
11269 return resultobj;
11270 fail:
11271 {
11272 if (temp2)
11273 delete arg2;
11274 }
11275 return NULL;
11276 }
11277
11278
11279 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj;
11281 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11282 int result;
11283 PyObject * obj0 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 result = (int)(arg1)->ShowModal();
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 resultobj = PyInt_FromLong((long)result);
11298 return resultobj;
11299 fail:
11300 return NULL;
11301 }
11302
11303
11304 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11305 PyObject *obj;
11306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11307 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11308 Py_INCREF(obj);
11309 return Py_BuildValue((char *)"");
11310 }
11311 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11312 PyObject *resultobj;
11313 wxFontData *result;
11314 char *kwnames[] = {
11315 NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 result = (wxFontData *)new wxFontData();
11322
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxFontData *arg1 = (wxFontData *) 0 ;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 delete arg1;
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 Py_INCREF(Py_None); resultobj = Py_None;
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxFontData *arg1 = (wxFontData *) 0 ;
11360 bool arg2 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self",(char *) "enable", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11369 arg2 = PyInt_AsLong(obj1) ? true : false;
11370 if (PyErr_Occurred()) SWIG_fail;
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 (arg1)->EnableEffects(arg2);
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 Py_INCREF(Py_None); resultobj = Py_None;
11379 return resultobj;
11380 fail:
11381 return NULL;
11382 }
11383
11384
11385 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11386 PyObject *resultobj;
11387 wxFontData *arg1 = (wxFontData *) 0 ;
11388 bool result;
11389 PyObject * obj0 = 0 ;
11390 char *kwnames[] = {
11391 (char *) "self", NULL
11392 };
11393
11394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 result = (bool)(arg1)->GetAllowSymbols();
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 resultobj = PyInt_FromLong((long)result);
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxFontData *arg1 = (wxFontData *) 0 ;
11413 wxColour result;
11414 PyObject * obj0 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 result = (arg1)->GetColour();
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 {
11429 wxColour * resultptr;
11430 resultptr = new wxColour((wxColour &) result);
11431 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11432 }
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxFontData *arg1 = (wxFontData *) 0 ;
11442 wxFont result;
11443 PyObject * obj0 = 0 ;
11444 char *kwnames[] = {
11445 (char *) "self", NULL
11446 };
11447
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 result = (arg1)->GetChosenFont();
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 {
11458 wxFont * resultptr;
11459 resultptr = new wxFont((wxFont &) result);
11460 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11461 }
11462 return resultobj;
11463 fail:
11464 return NULL;
11465 }
11466
11467
11468 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj;
11470 wxFontData *arg1 = (wxFontData *) 0 ;
11471 bool result;
11472 PyObject * obj0 = 0 ;
11473 char *kwnames[] = {
11474 (char *) "self", NULL
11475 };
11476
11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 result = (bool)(arg1)->GetEnableEffects();
11482
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
11486 resultobj = PyInt_FromLong((long)result);
11487 return resultobj;
11488 fail:
11489 return NULL;
11490 }
11491
11492
11493 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj;
11495 wxFontData *arg1 = (wxFontData *) 0 ;
11496 wxFont result;
11497 PyObject * obj0 = 0 ;
11498 char *kwnames[] = {
11499 (char *) "self", NULL
11500 };
11501
11502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 result = (arg1)->GetInitialFont();
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 }
11511 {
11512 wxFont * resultptr;
11513 resultptr = new wxFont((wxFont &) result);
11514 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11515 }
11516 return resultobj;
11517 fail:
11518 return NULL;
11519 }
11520
11521
11522 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxFontData *arg1 = (wxFontData *) 0 ;
11525 bool result;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (bool)(arg1)->GetShowHelp();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 resultobj = PyInt_FromLong((long)result);
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxFontData *arg1 = (wxFontData *) 0 ;
11550 bool arg2 ;
11551 PyObject * obj0 = 0 ;
11552 PyObject * obj1 = 0 ;
11553 char *kwnames[] = {
11554 (char *) "self",(char *) "allowSymbols", NULL
11555 };
11556
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11559 arg2 = PyInt_AsLong(obj1) ? true : false;
11560 if (PyErr_Occurred()) SWIG_fail;
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 (arg1)->SetAllowSymbols(arg2);
11564
11565 wxPyEndAllowThreads(__tstate);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
11568 Py_INCREF(Py_None); resultobj = Py_None;
11569 return resultobj;
11570 fail:
11571 return NULL;
11572 }
11573
11574
11575 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11576 PyObject *resultobj;
11577 wxFontData *arg1 = (wxFontData *) 0 ;
11578 wxFont *arg2 = 0 ;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 char *kwnames[] = {
11582 (char *) "self",(char *) "font", NULL
11583 };
11584
11585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11588 if (arg2 == NULL) {
11589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11590 }
11591 {
11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
11593 (arg1)->SetChosenFont((wxFont const &)*arg2);
11594
11595 wxPyEndAllowThreads(__tstate);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 }
11598 Py_INCREF(Py_None); resultobj = Py_None;
11599 return resultobj;
11600 fail:
11601 return NULL;
11602 }
11603
11604
11605 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11606 PyObject *resultobj;
11607 wxFontData *arg1 = (wxFontData *) 0 ;
11608 wxColour *arg2 = 0 ;
11609 wxColour temp2 ;
11610 PyObject * obj0 = 0 ;
11611 PyObject * obj1 = 0 ;
11612 char *kwnames[] = {
11613 (char *) "self",(char *) "colour", NULL
11614 };
11615
11616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11618 {
11619 arg2 = &temp2;
11620 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11621 }
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 (arg1)->SetColour((wxColour const &)*arg2);
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 Py_INCREF(Py_None); resultobj = Py_None;
11630 return resultobj;
11631 fail:
11632 return NULL;
11633 }
11634
11635
11636 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11637 PyObject *resultobj;
11638 wxFontData *arg1 = (wxFontData *) 0 ;
11639 wxFont *arg2 = 0 ;
11640 PyObject * obj0 = 0 ;
11641 PyObject * obj1 = 0 ;
11642 char *kwnames[] = {
11643 (char *) "self",(char *) "font", NULL
11644 };
11645
11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11649 if (arg2 == NULL) {
11650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11651 }
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 (arg1)->SetInitialFont((wxFont const &)*arg2);
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 Py_INCREF(Py_None); resultobj = Py_None;
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj;
11668 wxFontData *arg1 = (wxFontData *) 0 ;
11669 int arg2 ;
11670 int arg3 ;
11671 PyObject * obj0 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "self",(char *) "min",(char *) "max", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 (arg1)->SetRange(arg2,arg3);
11681
11682 wxPyEndAllowThreads(__tstate);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 }
11685 Py_INCREF(Py_None); resultobj = Py_None;
11686 return resultobj;
11687 fail:
11688 return NULL;
11689 }
11690
11691
11692 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11693 PyObject *resultobj;
11694 wxFontData *arg1 = (wxFontData *) 0 ;
11695 bool arg2 ;
11696 PyObject * obj0 = 0 ;
11697 PyObject * obj1 = 0 ;
11698 char *kwnames[] = {
11699 (char *) "self",(char *) "showHelp", NULL
11700 };
11701
11702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11704 arg2 = PyInt_AsLong(obj1) ? true : false;
11705 if (PyErr_Occurred()) SWIG_fail;
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 (arg1)->SetShowHelp(arg2);
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 Py_INCREF(Py_None); resultobj = Py_None;
11714 return resultobj;
11715 fail:
11716 return NULL;
11717 }
11718
11719
11720 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11721 PyObject *obj;
11722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11723 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11724 Py_INCREF(obj);
11725 return Py_BuildValue((char *)"");
11726 }
11727 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11728 PyObject *resultobj;
11729 wxWindow *arg1 = (wxWindow *) 0 ;
11730 wxFontData *arg2 = 0 ;
11731 wxFontDialog *result;
11732 PyObject * obj0 = 0 ;
11733 PyObject * obj1 = 0 ;
11734 char *kwnames[] = {
11735 (char *) "parent",(char *) "data", NULL
11736 };
11737
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11741 if (arg2 == NULL) {
11742 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11743 }
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11752 return resultobj;
11753 fail:
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11761 wxFontData *result;
11762 PyObject * obj0 = 0 ;
11763 char *kwnames[] = {
11764 (char *) "self", NULL
11765 };
11766
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 {
11772 wxFontData &_result_ref = (arg1)->GetFontData();
11773 result = (wxFontData *) &_result_ref;
11774 }
11775
11776 wxPyEndAllowThreads(__tstate);
11777 if (PyErr_Occurred()) SWIG_fail;
11778 }
11779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11780 return resultobj;
11781 fail:
11782 return NULL;
11783 }
11784
11785
11786 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11789 int result;
11790 PyObject * obj0 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (int)(arg1)->ShowModal();
11800
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 resultobj = PyInt_FromLong((long)result);
11805 return resultobj;
11806 fail:
11807 return NULL;
11808 }
11809
11810
11811 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11812 PyObject *obj;
11813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11814 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11815 Py_INCREF(obj);
11816 return Py_BuildValue((char *)"");
11817 }
11818 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11819 PyObject *resultobj;
11820 wxWindow *arg1 = (wxWindow *) 0 ;
11821 wxString *arg2 = 0 ;
11822 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11823 wxString *arg3 = (wxString *) &arg3_defvalue ;
11824 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11825 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11826 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11827 wxMessageDialog *result;
11828 bool temp2 = false ;
11829 bool temp3 = false ;
11830 wxPoint temp5 ;
11831 PyObject * obj0 = 0 ;
11832 PyObject * obj1 = 0 ;
11833 PyObject * obj2 = 0 ;
11834 PyObject * obj4 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11841 {
11842 arg2 = wxString_in_helper(obj1);
11843 if (arg2 == NULL) SWIG_fail;
11844 temp2 = true;
11845 }
11846 if (obj2) {
11847 {
11848 arg3 = wxString_in_helper(obj2);
11849 if (arg3 == NULL) SWIG_fail;
11850 temp3 = true;
11851 }
11852 }
11853 if (obj4) {
11854 {
11855 arg5 = &temp5;
11856 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11857 }
11858 }
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11867 {
11868 if (temp2)
11869 delete arg2;
11870 }
11871 {
11872 if (temp3)
11873 delete arg3;
11874 }
11875 return resultobj;
11876 fail:
11877 {
11878 if (temp2)
11879 delete arg2;
11880 }
11881 {
11882 if (temp3)
11883 delete arg3;
11884 }
11885 return NULL;
11886 }
11887
11888
11889 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj;
11891 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11892 int result;
11893 PyObject * obj0 = 0 ;
11894 char *kwnames[] = {
11895 (char *) "self", NULL
11896 };
11897
11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 result = (int)(arg1)->ShowModal();
11903
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 resultobj = PyInt_FromLong((long)result);
11908 return resultobj;
11909 fail:
11910 return NULL;
11911 }
11912
11913
11914 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11915 PyObject *obj;
11916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11917 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11918 Py_INCREF(obj);
11919 return Py_BuildValue((char *)"");
11920 }
11921 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj;
11923 wxString *arg1 = 0 ;
11924 wxString *arg2 = 0 ;
11925 int arg3 = (int) 100 ;
11926 wxWindow *arg4 = (wxWindow *) NULL ;
11927 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11928 wxProgressDialog *result;
11929 bool temp1 = false ;
11930 bool temp2 = false ;
11931 PyObject * obj0 = 0 ;
11932 PyObject * obj1 = 0 ;
11933 PyObject * obj3 = 0 ;
11934 char *kwnames[] = {
11935 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11936 };
11937
11938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11939 {
11940 arg1 = wxString_in_helper(obj0);
11941 if (arg1 == NULL) SWIG_fail;
11942 temp1 = true;
11943 }
11944 {
11945 arg2 = wxString_in_helper(obj1);
11946 if (arg2 == NULL) SWIG_fail;
11947 temp2 = true;
11948 }
11949 if (obj3) {
11950 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11951 }
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11960 {
11961 if (temp1)
11962 delete arg1;
11963 }
11964 {
11965 if (temp2)
11966 delete arg2;
11967 }
11968 return resultobj;
11969 fail:
11970 {
11971 if (temp1)
11972 delete arg1;
11973 }
11974 {
11975 if (temp2)
11976 delete arg2;
11977 }
11978 return NULL;
11979 }
11980
11981
11982 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11983 PyObject *resultobj;
11984 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11985 int arg2 ;
11986 wxString const &arg3_defvalue = wxPyEmptyString ;
11987 wxString *arg3 = (wxString *) &arg3_defvalue ;
11988 bool result;
11989 bool temp3 = false ;
11990 PyObject * obj0 = 0 ;
11991 PyObject * obj2 = 0 ;
11992 char *kwnames[] = {
11993 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11994 };
11995
11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11998 if (obj2) {
11999 {
12000 arg3 = wxString_in_helper(obj2);
12001 if (arg3 == NULL) SWIG_fail;
12002 temp3 = true;
12003 }
12004 }
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 resultobj = PyInt_FromLong((long)result);
12013 {
12014 if (temp3)
12015 delete arg3;
12016 }
12017 return resultobj;
12018 fail:
12019 {
12020 if (temp3)
12021 delete arg3;
12022 }
12023 return NULL;
12024 }
12025
12026
12027 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj;
12029 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12030 PyObject * obj0 = 0 ;
12031 char *kwnames[] = {
12032 (char *) "self", NULL
12033 };
12034
12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 (arg1)->Resume();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 Py_INCREF(Py_None); resultobj = Py_None;
12045 return resultobj;
12046 fail:
12047 return NULL;
12048 }
12049
12050
12051 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12052 PyObject *obj;
12053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12054 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12055 Py_INCREF(obj);
12056 return Py_BuildValue((char *)"");
12057 }
12058 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12061 int arg2 = (int) 0 ;
12062 wxFindDialogEvent *result;
12063 char *kwnames[] = {
12064 (char *) "commandType",(char *) "id", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12068 {
12069 PyThreadState* __tstate = wxPyBeginAllowThreads();
12070 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12071
12072 wxPyEndAllowThreads(__tstate);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
12075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12076 return resultobj;
12077 fail:
12078 return NULL;
12079 }
12080
12081
12082 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12085 int result;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)(arg1)->GetFlags();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 resultobj = PyInt_FromLong((long)result);
12101 return resultobj;
12102 fail:
12103 return NULL;
12104 }
12105
12106
12107 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj;
12109 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12110 wxString result;
12111 PyObject * obj0 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 result = (arg1)->GetFindString();
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 {
12126 #if wxUSE_UNICODE
12127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12128 #else
12129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12130 #endif
12131 }
12132 return resultobj;
12133 fail:
12134 return NULL;
12135 }
12136
12137
12138 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj;
12140 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12141 wxString *result;
12142 PyObject * obj0 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 {
12152 wxString const &_result_ref = (arg1)->GetReplaceString();
12153 result = (wxString *) &_result_ref;
12154 }
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj;
12168 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12169 wxFindReplaceDialog *result;
12170 PyObject * obj0 = 0 ;
12171 char *kwnames[] = {
12172 (char *) "self", NULL
12173 };
12174
12175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12185 return resultobj;
12186 fail:
12187 return NULL;
12188 }
12189
12190
12191 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12194 int arg2 ;
12195 PyObject * obj0 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self",(char *) "flags", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 (arg1)->SetFlags(arg2);
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 Py_INCREF(Py_None); resultobj = Py_None;
12210 return resultobj;
12211 fail:
12212 return NULL;
12213 }
12214
12215
12216 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12219 wxString *arg2 = 0 ;
12220 bool temp2 = false ;
12221 PyObject * obj0 = 0 ;
12222 PyObject * obj1 = 0 ;
12223 char *kwnames[] = {
12224 (char *) "self",(char *) "str", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12229 {
12230 arg2 = wxString_in_helper(obj1);
12231 if (arg2 == NULL) SWIG_fail;
12232 temp2 = true;
12233 }
12234 {
12235 PyThreadState* __tstate = wxPyBeginAllowThreads();
12236 (arg1)->SetFindString((wxString const &)*arg2);
12237
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 Py_INCREF(Py_None); resultobj = Py_None;
12242 {
12243 if (temp2)
12244 delete arg2;
12245 }
12246 return resultobj;
12247 fail:
12248 {
12249 if (temp2)
12250 delete arg2;
12251 }
12252 return NULL;
12253 }
12254
12255
12256 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12257 PyObject *resultobj;
12258 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12259 wxString *arg2 = 0 ;
12260 bool temp2 = false ;
12261 PyObject * obj0 = 0 ;
12262 PyObject * obj1 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self",(char *) "str", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12269 {
12270 arg2 = wxString_in_helper(obj1);
12271 if (arg2 == NULL) SWIG_fail;
12272 temp2 = true;
12273 }
12274 {
12275 PyThreadState* __tstate = wxPyBeginAllowThreads();
12276 (arg1)->SetReplaceString((wxString const &)*arg2);
12277
12278 wxPyEndAllowThreads(__tstate);
12279 if (PyErr_Occurred()) SWIG_fail;
12280 }
12281 Py_INCREF(Py_None); resultobj = Py_None;
12282 {
12283 if (temp2)
12284 delete arg2;
12285 }
12286 return resultobj;
12287 fail:
12288 {
12289 if (temp2)
12290 delete arg2;
12291 }
12292 return NULL;
12293 }
12294
12295
12296 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12297 PyObject *obj;
12298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12299 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12300 Py_INCREF(obj);
12301 return Py_BuildValue((char *)"");
12302 }
12303 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject *resultobj;
12305 int arg1 = (int) 0 ;
12306 wxFindReplaceData *result;
12307 char *kwnames[] = {
12308 (char *) "flags", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12329 PyObject * obj0 = 0 ;
12330 char *kwnames[] = {
12331 (char *) "self", NULL
12332 };
12333
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 delete arg1;
12339
12340 wxPyEndAllowThreads(__tstate);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 }
12343 Py_INCREF(Py_None); resultobj = Py_None;
12344 return resultobj;
12345 fail:
12346 return NULL;
12347 }
12348
12349
12350 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12353 wxString *result;
12354 PyObject * obj0 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 {
12364 wxString const &_result_ref = (arg1)->GetFindString();
12365 result = (wxString *) &_result_ref;
12366 }
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12381 wxString *result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 {
12392 wxString const &_result_ref = (arg1)->GetReplaceString();
12393 result = (wxString *) &_result_ref;
12394 }
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj;
12408 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12409 int result;
12410 PyObject * obj0 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "self", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12417 {
12418 PyThreadState* __tstate = wxPyBeginAllowThreads();
12419 result = (int)(arg1)->GetFlags();
12420
12421 wxPyEndAllowThreads(__tstate);
12422 if (PyErr_Occurred()) SWIG_fail;
12423 }
12424 resultobj = PyInt_FromLong((long)result);
12425 return resultobj;
12426 fail:
12427 return NULL;
12428 }
12429
12430
12431 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12432 PyObject *resultobj;
12433 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12434 int arg2 ;
12435 PyObject * obj0 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self",(char *) "flags", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 (arg1)->SetFlags(arg2);
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 Py_INCREF(Py_None); resultobj = Py_None;
12450 return resultobj;
12451 fail:
12452 return NULL;
12453 }
12454
12455
12456 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12457 PyObject *resultobj;
12458 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12459 wxString *arg2 = 0 ;
12460 bool temp2 = false ;
12461 PyObject * obj0 = 0 ;
12462 PyObject * obj1 = 0 ;
12463 char *kwnames[] = {
12464 (char *) "self",(char *) "str", NULL
12465 };
12466
12467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12469 {
12470 arg2 = wxString_in_helper(obj1);
12471 if (arg2 == NULL) SWIG_fail;
12472 temp2 = true;
12473 }
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 (arg1)->SetFindString((wxString const &)*arg2);
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 Py_INCREF(Py_None); resultobj = Py_None;
12482 {
12483 if (temp2)
12484 delete arg2;
12485 }
12486 return resultobj;
12487 fail:
12488 {
12489 if (temp2)
12490 delete arg2;
12491 }
12492 return NULL;
12493 }
12494
12495
12496 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12499 wxString *arg2 = 0 ;
12500 bool temp2 = false ;
12501 PyObject * obj0 = 0 ;
12502 PyObject * obj1 = 0 ;
12503 char *kwnames[] = {
12504 (char *) "self",(char *) "str", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12509 {
12510 arg2 = wxString_in_helper(obj1);
12511 if (arg2 == NULL) SWIG_fail;
12512 temp2 = true;
12513 }
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 (arg1)->SetReplaceString((wxString const &)*arg2);
12517
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 Py_INCREF(Py_None); resultobj = Py_None;
12522 {
12523 if (temp2)
12524 delete arg2;
12525 }
12526 return resultobj;
12527 fail:
12528 {
12529 if (temp2)
12530 delete arg2;
12531 }
12532 return NULL;
12533 }
12534
12535
12536 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12537 PyObject *obj;
12538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12539 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12540 Py_INCREF(obj);
12541 return Py_BuildValue((char *)"");
12542 }
12543 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj;
12545 wxWindow *arg1 = (wxWindow *) 0 ;
12546 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12547 wxString *arg3 = 0 ;
12548 int arg4 = (int) 0 ;
12549 wxFindReplaceDialog *result;
12550 bool temp3 = false ;
12551 PyObject * obj0 = 0 ;
12552 PyObject * obj1 = 0 ;
12553 PyObject * obj2 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12561 {
12562 arg3 = wxString_in_helper(obj2);
12563 if (arg3 == NULL) SWIG_fail;
12564 temp3 = true;
12565 }
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12569
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12574 {
12575 if (temp3)
12576 delete arg3;
12577 }
12578 return resultobj;
12579 fail:
12580 {
12581 if (temp3)
12582 delete arg3;
12583 }
12584 return NULL;
12585 }
12586
12587
12588 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12589 PyObject *resultobj;
12590 wxFindReplaceDialog *result;
12591 char *kwnames[] = {
12592 NULL
12593 };
12594
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12613 wxWindow *arg2 = (wxWindow *) 0 ;
12614 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12615 wxString *arg4 = 0 ;
12616 int arg5 = (int) 0 ;
12617 bool result;
12618 bool temp4 = false ;
12619 PyObject * obj0 = 0 ;
12620 PyObject * obj1 = 0 ;
12621 PyObject * obj2 = 0 ;
12622 PyObject * obj3 = 0 ;
12623 char *kwnames[] = {
12624 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12625 };
12626
12627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12630 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12631 {
12632 arg4 = wxString_in_helper(obj3);
12633 if (arg4 == NULL) SWIG_fail;
12634 temp4 = true;
12635 }
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 resultobj = PyInt_FromLong((long)result);
12644 {
12645 if (temp4)
12646 delete arg4;
12647 }
12648 return resultobj;
12649 fail:
12650 {
12651 if (temp4)
12652 delete arg4;
12653 }
12654 return NULL;
12655 }
12656
12657
12658 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12661 wxFindReplaceData *result;
12662 PyObject * obj0 = 0 ;
12663 char *kwnames[] = {
12664 (char *) "self", NULL
12665 };
12666
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 result = (wxFindReplaceData *)(arg1)->GetData();
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12686 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12687 PyObject * obj0 = 0 ;
12688 PyObject * obj1 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self",(char *) "data", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 (arg1)->SetData(arg2);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 Py_INCREF(Py_None); resultobj = Py_None;
12704 return resultobj;
12705 fail:
12706 return NULL;
12707 }
12708
12709
12710 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12711 PyObject *obj;
12712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12714 Py_INCREF(obj);
12715 return Py_BuildValue((char *)"");
12716 }
12717 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12718 PyObject *resultobj;
12719 wxWindow *arg1 = (wxWindow *) 0 ;
12720 wxWindowID arg2 ;
12721 wxString *arg3 = 0 ;
12722 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12723 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12724 wxSize const &arg5_defvalue = wxDefaultSize ;
12725 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12726 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12727 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12728 wxString *arg7 = (wxString *) &arg7_defvalue ;
12729 wxMDIParentFrame *result;
12730 bool temp3 = false ;
12731 wxPoint temp4 ;
12732 wxSize temp5 ;
12733 bool temp7 = false ;
12734 PyObject * obj0 = 0 ;
12735 PyObject * obj2 = 0 ;
12736 PyObject * obj3 = 0 ;
12737 PyObject * obj4 = 0 ;
12738 PyObject * obj6 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12745 {
12746 arg3 = wxString_in_helper(obj2);
12747 if (arg3 == NULL) SWIG_fail;
12748 temp3 = true;
12749 }
12750 if (obj3) {
12751 {
12752 arg4 = &temp4;
12753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12754 }
12755 }
12756 if (obj4) {
12757 {
12758 arg5 = &temp5;
12759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12760 }
12761 }
12762 if (obj6) {
12763 {
12764 arg7 = wxString_in_helper(obj6);
12765 if (arg7 == NULL) SWIG_fail;
12766 temp7 = true;
12767 }
12768 }
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12772
12773 wxPyEndAllowThreads(__tstate);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
12776 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12777 {
12778 if (temp3)
12779 delete arg3;
12780 }
12781 {
12782 if (temp7)
12783 delete arg7;
12784 }
12785 return resultobj;
12786 fail:
12787 {
12788 if (temp3)
12789 delete arg3;
12790 }
12791 {
12792 if (temp7)
12793 delete arg7;
12794 }
12795 return NULL;
12796 }
12797
12798
12799 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12800 PyObject *resultobj;
12801 wxMDIParentFrame *result;
12802 char *kwnames[] = {
12803 NULL
12804 };
12805
12806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12810
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
12814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12815 return resultobj;
12816 fail:
12817 return NULL;
12818 }
12819
12820
12821 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12822 PyObject *resultobj;
12823 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12824 wxWindow *arg2 = (wxWindow *) 0 ;
12825 wxWindowID arg3 ;
12826 wxString *arg4 = 0 ;
12827 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12828 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12829 wxSize const &arg6_defvalue = wxDefaultSize ;
12830 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12831 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12832 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12833 wxString *arg8 = (wxString *) &arg8_defvalue ;
12834 bool result;
12835 bool temp4 = false ;
12836 wxPoint temp5 ;
12837 wxSize temp6 ;
12838 bool temp8 = false ;
12839 PyObject * obj0 = 0 ;
12840 PyObject * obj1 = 0 ;
12841 PyObject * obj3 = 0 ;
12842 PyObject * obj4 = 0 ;
12843 PyObject * obj5 = 0 ;
12844 PyObject * obj7 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12851 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12852 {
12853 arg4 = wxString_in_helper(obj3);
12854 if (arg4 == NULL) SWIG_fail;
12855 temp4 = true;
12856 }
12857 if (obj4) {
12858 {
12859 arg5 = &temp5;
12860 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12861 }
12862 }
12863 if (obj5) {
12864 {
12865 arg6 = &temp6;
12866 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12867 }
12868 }
12869 if (obj7) {
12870 {
12871 arg8 = wxString_in_helper(obj7);
12872 if (arg8 == NULL) SWIG_fail;
12873 temp8 = true;
12874 }
12875 }
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12879
12880 wxPyEndAllowThreads(__tstate);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 resultobj = PyInt_FromLong((long)result);
12884 {
12885 if (temp4)
12886 delete arg4;
12887 }
12888 {
12889 if (temp8)
12890 delete arg8;
12891 }
12892 return resultobj;
12893 fail:
12894 {
12895 if (temp4)
12896 delete arg4;
12897 }
12898 {
12899 if (temp8)
12900 delete arg8;
12901 }
12902 return NULL;
12903 }
12904
12905
12906 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12909 PyObject * obj0 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->ActivateNext();
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 Py_INCREF(Py_None); resultobj = Py_None;
12924 return resultobj;
12925 fail:
12926 return NULL;
12927 }
12928
12929
12930 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12933 PyObject * obj0 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 (arg1)->ActivatePrevious();
12943
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 Py_INCREF(Py_None); resultobj = Py_None;
12948 return resultobj;
12949 fail:
12950 return NULL;
12951 }
12952
12953
12954 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12955 PyObject *resultobj;
12956 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12957 PyObject * obj0 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "self", NULL
12960 };
12961
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 (arg1)->ArrangeIcons();
12967
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 Py_INCREF(Py_None); resultobj = Py_None;
12972 return resultobj;
12973 fail:
12974 return NULL;
12975 }
12976
12977
12978 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12979 PyObject *resultobj;
12980 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12981 PyObject * obj0 = 0 ;
12982 char *kwnames[] = {
12983 (char *) "self", NULL
12984 };
12985
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 (arg1)->Cascade();
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 Py_INCREF(Py_None); resultobj = Py_None;
12996 return resultobj;
12997 fail:
12998 return NULL;
12999 }
13000
13001
13002 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13003 PyObject *resultobj;
13004 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13005 wxMDIChildFrame *result;
13006 PyObject * obj0 = 0 ;
13007 char *kwnames[] = {
13008 (char *) "self", NULL
13009 };
13010
13011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13016
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 {
13021 resultobj = wxPyMake_wxObject(result);
13022 }
13023 return resultobj;
13024 fail:
13025 return NULL;
13026 }
13027
13028
13029 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj;
13031 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13032 wxMDIClientWindow *result;
13033 PyObject * obj0 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13043
13044 wxPyEndAllowThreads(__tstate);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 {
13048 resultobj = wxPyMake_wxObject(result);
13049 }
13050 return resultobj;
13051 fail:
13052 return NULL;
13053 }
13054
13055
13056 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13057 PyObject *resultobj;
13058 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13059 wxWindow *result;
13060 PyObject * obj0 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "self", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 result = (wxWindow *)(arg1)->GetToolBar();
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 {
13075 resultobj = wxPyMake_wxObject(result);
13076 }
13077 return resultobj;
13078 fail:
13079 return NULL;
13080 }
13081
13082
13083 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj;
13085 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13086 PyObject * obj0 = 0 ;
13087 char *kwnames[] = {
13088 (char *) "self", NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 (arg1)->Tile();
13096
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 Py_INCREF(Py_None); resultobj = Py_None;
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13108 PyObject *obj;
13109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13110 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13111 Py_INCREF(obj);
13112 return Py_BuildValue((char *)"");
13113 }
13114 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13117 wxWindowID arg2 ;
13118 wxString *arg3 = 0 ;
13119 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13120 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13121 wxSize const &arg5_defvalue = wxDefaultSize ;
13122 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13123 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13124 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13125 wxString *arg7 = (wxString *) &arg7_defvalue ;
13126 wxMDIChildFrame *result;
13127 bool temp3 = false ;
13128 wxPoint temp4 ;
13129 wxSize temp5 ;
13130 bool temp7 = false ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj2 = 0 ;
13133 PyObject * obj3 = 0 ;
13134 PyObject * obj4 = 0 ;
13135 PyObject * obj6 = 0 ;
13136 char *kwnames[] = {
13137 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13138 };
13139
13140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13142 {
13143 arg3 = wxString_in_helper(obj2);
13144 if (arg3 == NULL) SWIG_fail;
13145 temp3 = true;
13146 }
13147 if (obj3) {
13148 {
13149 arg4 = &temp4;
13150 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13151 }
13152 }
13153 if (obj4) {
13154 {
13155 arg5 = &temp5;
13156 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13157 }
13158 }
13159 if (obj6) {
13160 {
13161 arg7 = wxString_in_helper(obj6);
13162 if (arg7 == NULL) SWIG_fail;
13163 temp7 = true;
13164 }
13165 }
13166 {
13167 PyThreadState* __tstate = wxPyBeginAllowThreads();
13168 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13169
13170 wxPyEndAllowThreads(__tstate);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 }
13173 {
13174 resultobj = wxPyMake_wxObject(result);
13175 }
13176 {
13177 if (temp3)
13178 delete arg3;
13179 }
13180 {
13181 if (temp7)
13182 delete arg7;
13183 }
13184 return resultobj;
13185 fail:
13186 {
13187 if (temp3)
13188 delete arg3;
13189 }
13190 {
13191 if (temp7)
13192 delete arg7;
13193 }
13194 return NULL;
13195 }
13196
13197
13198 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj;
13200 wxMDIChildFrame *result;
13201 char *kwnames[] = {
13202 NULL
13203 };
13204
13205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 {
13214 resultobj = wxPyMake_wxObject(result);
13215 }
13216 return resultobj;
13217 fail:
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13225 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13226 wxWindowID arg3 ;
13227 wxString *arg4 = 0 ;
13228 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13229 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13230 wxSize const &arg6_defvalue = wxDefaultSize ;
13231 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13232 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13233 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13234 wxString *arg8 = (wxString *) &arg8_defvalue ;
13235 bool result;
13236 bool temp4 = false ;
13237 wxPoint temp5 ;
13238 wxSize temp6 ;
13239 bool temp8 = false ;
13240 PyObject * obj0 = 0 ;
13241 PyObject * obj1 = 0 ;
13242 PyObject * obj3 = 0 ;
13243 PyObject * obj4 = 0 ;
13244 PyObject * obj5 = 0 ;
13245 PyObject * obj7 = 0 ;
13246 char *kwnames[] = {
13247 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13248 };
13249
13250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13253 {
13254 arg4 = wxString_in_helper(obj3);
13255 if (arg4 == NULL) SWIG_fail;
13256 temp4 = true;
13257 }
13258 if (obj4) {
13259 {
13260 arg5 = &temp5;
13261 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13262 }
13263 }
13264 if (obj5) {
13265 {
13266 arg6 = &temp6;
13267 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13268 }
13269 }
13270 if (obj7) {
13271 {
13272 arg8 = wxString_in_helper(obj7);
13273 if (arg8 == NULL) SWIG_fail;
13274 temp8 = true;
13275 }
13276 }
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 resultobj = PyInt_FromLong((long)result);
13285 {
13286 if (temp4)
13287 delete arg4;
13288 }
13289 {
13290 if (temp8)
13291 delete arg8;
13292 }
13293 return resultobj;
13294 fail:
13295 {
13296 if (temp4)
13297 delete arg4;
13298 }
13299 {
13300 if (temp8)
13301 delete arg8;
13302 }
13303 return NULL;
13304 }
13305
13306
13307 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13308 PyObject *resultobj;
13309 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13310 PyObject * obj0 = 0 ;
13311 char *kwnames[] = {
13312 (char *) "self", NULL
13313 };
13314
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13317 {
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
13319 (arg1)->Activate();
13320
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
13324 Py_INCREF(Py_None); resultobj = Py_None;
13325 return resultobj;
13326 fail:
13327 return NULL;
13328 }
13329
13330
13331 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj;
13333 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13334 bool arg2 ;
13335 PyObject * obj0 = 0 ;
13336 PyObject * obj1 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self",(char *) "maximize", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13343 arg2 = PyInt_AsLong(obj1) ? true : false;
13344 if (PyErr_Occurred()) SWIG_fail;
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->Maximize(arg2);
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 Py_INCREF(Py_None); resultobj = Py_None;
13353 return resultobj;
13354 fail:
13355 return NULL;
13356 }
13357
13358
13359 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13362 PyObject * obj0 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 (arg1)->Restore();
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 Py_INCREF(Py_None); resultobj = Py_None;
13377 return resultobj;
13378 fail:
13379 return NULL;
13380 }
13381
13382
13383 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13384 PyObject *obj;
13385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13386 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13387 Py_INCREF(obj);
13388 return Py_BuildValue((char *)"");
13389 }
13390 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj;
13392 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13393 long arg2 = (long) 0 ;
13394 wxMDIClientWindow *result;
13395 PyObject * obj0 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "parent",(char *) "style", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 {
13410 resultobj = wxPyMake_wxObject(result);
13411 }
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxMDIClientWindow *result;
13421 char *kwnames[] = {
13422 NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 {
13434 resultobj = wxPyMake_wxObject(result);
13435 }
13436 return resultobj;
13437 fail:
13438 return NULL;
13439 }
13440
13441
13442 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13443 PyObject *resultobj;
13444 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13445 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13446 long arg3 = (long) 0 ;
13447 bool result;
13448 PyObject * obj0 = 0 ;
13449 PyObject * obj1 = 0 ;
13450 char *kwnames[] = {
13451 (char *) "self",(char *) "parent",(char *) "style", NULL
13452 };
13453
13454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13457 {
13458 PyThreadState* __tstate = wxPyBeginAllowThreads();
13459 result = (bool)(arg1)->Create(arg2,arg3);
13460
13461 wxPyEndAllowThreads(__tstate);
13462 if (PyErr_Occurred()) SWIG_fail;
13463 }
13464 resultobj = PyInt_FromLong((long)result);
13465 return resultobj;
13466 fail:
13467 return NULL;
13468 }
13469
13470
13471 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13472 PyObject *obj;
13473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13474 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13475 Py_INCREF(obj);
13476 return Py_BuildValue((char *)"");
13477 }
13478 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13479 PyObject *resultobj;
13480 wxWindow *arg1 = (wxWindow *) 0 ;
13481 wxWindowID arg2 ;
13482 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13483 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13484 wxSize const &arg4_defvalue = wxDefaultSize ;
13485 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13486 long arg5 = (long) 0 ;
13487 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13488 wxString *arg6 = (wxString *) &arg6_defvalue ;
13489 wxPyWindow *result;
13490 wxPoint temp3 ;
13491 wxSize temp4 ;
13492 bool temp6 = false ;
13493 PyObject * obj0 = 0 ;
13494 PyObject * obj2 = 0 ;
13495 PyObject * obj3 = 0 ;
13496 PyObject * obj5 = 0 ;
13497 char *kwnames[] = {
13498 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13499 };
13500
13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13503 if (obj2) {
13504 {
13505 arg3 = &temp3;
13506 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13507 }
13508 }
13509 if (obj3) {
13510 {
13511 arg4 = &temp4;
13512 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13513 }
13514 }
13515 if (obj5) {
13516 {
13517 arg6 = wxString_in_helper(obj5);
13518 if (arg6 == NULL) SWIG_fail;
13519 temp6 = true;
13520 }
13521 }
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13530 {
13531 if (temp6)
13532 delete arg6;
13533 }
13534 return resultobj;
13535 fail:
13536 {
13537 if (temp6)
13538 delete arg6;
13539 }
13540 return NULL;
13541 }
13542
13543
13544 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13545 PyObject *resultobj;
13546 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13547 PyObject *arg2 = (PyObject *) 0 ;
13548 PyObject *arg3 = (PyObject *) 0 ;
13549 PyObject * obj0 = 0 ;
13550 PyObject * obj1 = 0 ;
13551 PyObject * obj2 = 0 ;
13552 char *kwnames[] = {
13553 (char *) "self",(char *) "self",(char *) "_class", NULL
13554 };
13555
13556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13558 arg2 = obj1;
13559 arg3 = obj2;
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 (arg1)->_setCallbackInfo(arg2,arg3);
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 Py_INCREF(Py_None); resultobj = Py_None;
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13577 int arg2 ;
13578 int arg3 ;
13579 int arg4 ;
13580 int arg5 ;
13581 PyObject * obj0 = 0 ;
13582 char *kwnames[] = {
13583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13584 };
13585
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13591
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 Py_INCREF(Py_None); resultobj = Py_None;
13596 return resultobj;
13597 fail:
13598 return NULL;
13599 }
13600
13601
13602 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj;
13604 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13605 int arg2 ;
13606 int arg3 ;
13607 int arg4 ;
13608 int arg5 ;
13609 int arg6 = (int) wxSIZE_AUTO ;
13610 PyObject * obj0 = 0 ;
13611 char *kwnames[] = {
13612 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13613 };
13614
13615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 Py_INCREF(Py_None); resultobj = Py_None;
13625 return resultobj;
13626 fail:
13627 return NULL;
13628 }
13629
13630
13631 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject *resultobj;
13633 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13634 int arg2 ;
13635 int arg3 ;
13636 PyObject * obj0 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self",(char *) "width",(char *) "height", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->base_DoSetClientSize(arg2,arg3);
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 Py_INCREF(Py_None); resultobj = Py_None;
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13660 int arg2 ;
13661 int arg3 ;
13662 PyObject * obj0 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self",(char *) "x",(char *) "y", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 Py_INCREF(Py_None); resultobj = Py_None;
13677 return resultobj;
13678 fail:
13679 return NULL;
13680 }
13681
13682
13683 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13684 PyObject *resultobj;
13685 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13686 int *arg2 = (int *) 0 ;
13687 int *arg3 = (int *) 0 ;
13688 int temp2 ;
13689 int temp3 ;
13690 PyObject * obj0 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self", NULL
13693 };
13694
13695 arg2 = &temp2;
13696 arg3 = &temp3;
13697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 Py_INCREF(Py_None); resultobj = Py_None;
13707 {
13708 PyObject *o = PyInt_FromLong((long) (*arg2));
13709 resultobj = t_output_helper(resultobj,o);
13710 }
13711 {
13712 PyObject *o = PyInt_FromLong((long) (*arg3));
13713 resultobj = t_output_helper(resultobj,o);
13714 }
13715 return resultobj;
13716 fail:
13717 return NULL;
13718 }
13719
13720
13721 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13722 PyObject *resultobj;
13723 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13724 int *arg2 = (int *) 0 ;
13725 int *arg3 = (int *) 0 ;
13726 int temp2 ;
13727 int temp3 ;
13728 PyObject * obj0 = 0 ;
13729 char *kwnames[] = {
13730 (char *) "self", NULL
13731 };
13732
13733 arg2 = &temp2;
13734 arg3 = &temp3;
13735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13740
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 Py_INCREF(Py_None); resultobj = Py_None;
13745 {
13746 PyObject *o = PyInt_FromLong((long) (*arg2));
13747 resultobj = t_output_helper(resultobj,o);
13748 }
13749 {
13750 PyObject *o = PyInt_FromLong((long) (*arg3));
13751 resultobj = t_output_helper(resultobj,o);
13752 }
13753 return resultobj;
13754 fail:
13755 return NULL;
13756 }
13757
13758
13759 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj;
13761 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13762 int *arg2 = (int *) 0 ;
13763 int *arg3 = (int *) 0 ;
13764 int temp2 ;
13765 int temp3 ;
13766 PyObject * obj0 = 0 ;
13767 char *kwnames[] = {
13768 (char *) "self", NULL
13769 };
13770
13771 arg2 = &temp2;
13772 arg3 = &temp3;
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 Py_INCREF(Py_None); resultobj = Py_None;
13783 {
13784 PyObject *o = PyInt_FromLong((long) (*arg2));
13785 resultobj = t_output_helper(resultobj,o);
13786 }
13787 {
13788 PyObject *o = PyInt_FromLong((long) (*arg3));
13789 resultobj = t_output_helper(resultobj,o);
13790 }
13791 return resultobj;
13792 fail:
13793 return NULL;
13794 }
13795
13796
13797 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj;
13799 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13800 wxSize result;
13801 PyObject * obj0 = 0 ;
13802 char *kwnames[] = {
13803 (char *) "self", NULL
13804 };
13805
13806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 {
13816 wxSize * resultptr;
13817 resultptr = new wxSize((wxSize &) result);
13818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13819 }
13820 return resultobj;
13821 fail:
13822 return NULL;
13823 }
13824
13825
13826 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13827 PyObject *resultobj;
13828 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13829 wxSize result;
13830 PyObject * obj0 = 0 ;
13831 char *kwnames[] = {
13832 (char *) "self", NULL
13833 };
13834
13835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13837 {
13838 PyThreadState* __tstate = wxPyBeginAllowThreads();
13839 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13840
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 {
13845 wxSize * resultptr;
13846 resultptr = new wxSize((wxSize &) result);
13847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13848 }
13849 return resultobj;
13850 fail:
13851 return NULL;
13852 }
13853
13854
13855 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13856 PyObject *resultobj;
13857 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13858 PyObject * obj0 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 (arg1)->base_InitDialog();
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 Py_INCREF(Py_None); resultobj = Py_None;
13873 return resultobj;
13874 fail:
13875 return NULL;
13876 }
13877
13878
13879 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13880 PyObject *resultobj;
13881 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13882 bool result;
13883 PyObject * obj0 = 0 ;
13884 char *kwnames[] = {
13885 (char *) "self", NULL
13886 };
13887
13888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 result = (bool)(arg1)->base_TransferDataToWindow();
13893
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 resultobj = PyInt_FromLong((long)result);
13898 return resultobj;
13899 fail:
13900 return NULL;
13901 }
13902
13903
13904 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13907 bool result;
13908 PyObject * obj0 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "self", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 result = (bool)(arg1)->base_TransferDataFromWindow();
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 resultobj = PyInt_FromLong((long)result);
13923 return resultobj;
13924 fail:
13925 return NULL;
13926 }
13927
13928
13929 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13932 bool result;
13933 PyObject * obj0 = 0 ;
13934 char *kwnames[] = {
13935 (char *) "self", NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = (bool)(arg1)->base_Validate();
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
13947 resultobj = PyInt_FromLong((long)result);
13948 return resultobj;
13949 fail:
13950 return NULL;
13951 }
13952
13953
13954 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj;
13956 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13957 bool result;
13958 PyObject * obj0 = 0 ;
13959 char *kwnames[] = {
13960 (char *) "self", NULL
13961 };
13962
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13965 {
13966 PyThreadState* __tstate = wxPyBeginAllowThreads();
13967 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13968
13969 wxPyEndAllowThreads(__tstate);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
13972 resultobj = PyInt_FromLong((long)result);
13973 return resultobj;
13974 fail:
13975 return NULL;
13976 }
13977
13978
13979 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13980 PyObject *resultobj;
13981 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13982 bool result;
13983 PyObject * obj0 = 0 ;
13984 char *kwnames[] = {
13985 (char *) "self", NULL
13986 };
13987
13988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
13993
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 resultobj = PyInt_FromLong((long)result);
13998 return resultobj;
13999 fail:
14000 return NULL;
14001 }
14002
14003
14004 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj;
14006 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14007 wxSize result;
14008 PyObject * obj0 = 0 ;
14009 char *kwnames[] = {
14010 (char *) "self", NULL
14011 };
14012
14013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14018
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 {
14023 wxSize * resultptr;
14024 resultptr = new wxSize((wxSize &) result);
14025 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14026 }
14027 return resultobj;
14028 fail:
14029 return NULL;
14030 }
14031
14032
14033 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14034 PyObject *resultobj;
14035 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14036 wxWindow *arg2 = (wxWindow *) 0 ;
14037 PyObject * obj0 = 0 ;
14038 PyObject * obj1 = 0 ;
14039 char *kwnames[] = {
14040 (char *) "self",(char *) "child", NULL
14041 };
14042
14043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 (arg1)->base_AddChild(arg2);
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 Py_INCREF(Py_None); resultobj = Py_None;
14054 return resultobj;
14055 fail:
14056 return NULL;
14057 }
14058
14059
14060 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14061 PyObject *resultobj;
14062 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14063 wxWindow *arg2 = (wxWindow *) 0 ;
14064 PyObject * obj0 = 0 ;
14065 PyObject * obj1 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self",(char *) "child", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 (arg1)->base_RemoveChild(arg2);
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 Py_INCREF(Py_None); resultobj = Py_None;
14081 return resultobj;
14082 fail:
14083 return NULL;
14084 }
14085
14086
14087 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14088 PyObject *obj;
14089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14090 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14091 Py_INCREF(obj);
14092 return Py_BuildValue((char *)"");
14093 }
14094 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxWindow *arg1 = (wxWindow *) 0 ;
14097 wxWindowID arg2 ;
14098 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14099 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14100 wxSize const &arg4_defvalue = wxDefaultSize ;
14101 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14102 long arg5 = (long) 0 ;
14103 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14104 wxString *arg6 = (wxString *) &arg6_defvalue ;
14105 wxPyPanel *result;
14106 wxPoint temp3 ;
14107 wxSize temp4 ;
14108 bool temp6 = false ;
14109 PyObject * obj0 = 0 ;
14110 PyObject * obj2 = 0 ;
14111 PyObject * obj3 = 0 ;
14112 PyObject * obj5 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14119 if (obj2) {
14120 {
14121 arg3 = &temp3;
14122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14123 }
14124 }
14125 if (obj3) {
14126 {
14127 arg4 = &temp4;
14128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14129 }
14130 }
14131 if (obj5) {
14132 {
14133 arg6 = wxString_in_helper(obj5);
14134 if (arg6 == NULL) SWIG_fail;
14135 temp6 = true;
14136 }
14137 }
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14141
14142 wxPyEndAllowThreads(__tstate);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
14145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14146 {
14147 if (temp6)
14148 delete arg6;
14149 }
14150 return resultobj;
14151 fail:
14152 {
14153 if (temp6)
14154 delete arg6;
14155 }
14156 return NULL;
14157 }
14158
14159
14160 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj;
14162 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14163 PyObject *arg2 = (PyObject *) 0 ;
14164 PyObject *arg3 = (PyObject *) 0 ;
14165 PyObject * obj0 = 0 ;
14166 PyObject * obj1 = 0 ;
14167 PyObject * obj2 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self",(char *) "self",(char *) "_class", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14174 arg2 = obj1;
14175 arg3 = obj2;
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 (arg1)->_setCallbackInfo(arg2,arg3);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 Py_INCREF(Py_None); resultobj = Py_None;
14184 return resultobj;
14185 fail:
14186 return NULL;
14187 }
14188
14189
14190 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14191 PyObject *resultobj;
14192 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14193 int arg2 ;
14194 int arg3 ;
14195 int arg4 ;
14196 int arg5 ;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 Py_INCREF(Py_None); resultobj = Py_None;
14212 return resultobj;
14213 fail:
14214 return NULL;
14215 }
14216
14217
14218 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14221 int arg2 ;
14222 int arg3 ;
14223 int arg4 ;
14224 int arg5 ;
14225 int arg6 = (int) wxSIZE_AUTO ;
14226 PyObject * obj0 = 0 ;
14227 char *kwnames[] = {
14228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14229 };
14230
14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 Py_INCREF(Py_None); resultobj = Py_None;
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14248 PyObject *resultobj;
14249 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14250 int arg2 ;
14251 int arg3 ;
14252 PyObject * obj0 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "self",(char *) "width",(char *) "height", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->base_DoSetClientSize(arg2,arg3);
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 Py_INCREF(Py_None); resultobj = Py_None;
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj;
14275 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14276 int arg2 ;
14277 int arg3 ;
14278 PyObject * obj0 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self",(char *) "x",(char *) "y", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14285 {
14286 PyThreadState* __tstate = wxPyBeginAllowThreads();
14287 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14288
14289 wxPyEndAllowThreads(__tstate);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 }
14292 Py_INCREF(Py_None); resultobj = Py_None;
14293 return resultobj;
14294 fail:
14295 return NULL;
14296 }
14297
14298
14299 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14300 PyObject *resultobj;
14301 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14302 int *arg2 = (int *) 0 ;
14303 int *arg3 = (int *) 0 ;
14304 int temp2 ;
14305 int temp3 ;
14306 PyObject * obj0 = 0 ;
14307 char *kwnames[] = {
14308 (char *) "self", NULL
14309 };
14310
14311 arg2 = &temp2;
14312 arg3 = &temp3;
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 {
14324 PyObject *o = PyInt_FromLong((long) (*arg2));
14325 resultobj = t_output_helper(resultobj,o);
14326 }
14327 {
14328 PyObject *o = PyInt_FromLong((long) (*arg3));
14329 resultobj = t_output_helper(resultobj,o);
14330 }
14331 return resultobj;
14332 fail:
14333 return NULL;
14334 }
14335
14336
14337 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj;
14339 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14340 int *arg2 = (int *) 0 ;
14341 int *arg3 = (int *) 0 ;
14342 int temp2 ;
14343 int temp3 ;
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self", NULL
14347 };
14348
14349 arg2 = &temp2;
14350 arg3 = &temp3;
14351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14356
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 Py_INCREF(Py_None); resultobj = Py_None;
14361 {
14362 PyObject *o = PyInt_FromLong((long) (*arg2));
14363 resultobj = t_output_helper(resultobj,o);
14364 }
14365 {
14366 PyObject *o = PyInt_FromLong((long) (*arg3));
14367 resultobj = t_output_helper(resultobj,o);
14368 }
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14378 int *arg2 = (int *) 0 ;
14379 int *arg3 = (int *) 0 ;
14380 int temp2 ;
14381 int temp3 ;
14382 PyObject * obj0 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self", NULL
14385 };
14386
14387 arg2 = &temp2;
14388 arg3 = &temp3;
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14394
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 Py_INCREF(Py_None); resultobj = Py_None;
14399 {
14400 PyObject *o = PyInt_FromLong((long) (*arg2));
14401 resultobj = t_output_helper(resultobj,o);
14402 }
14403 {
14404 PyObject *o = PyInt_FromLong((long) (*arg3));
14405 resultobj = t_output_helper(resultobj,o);
14406 }
14407 return resultobj;
14408 fail:
14409 return NULL;
14410 }
14411
14412
14413 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14414 PyObject *resultobj;
14415 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14416 wxSize result;
14417 PyObject * obj0 = 0 ;
14418 char *kwnames[] = {
14419 (char *) "self", NULL
14420 };
14421
14422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 {
14432 wxSize * resultptr;
14433 resultptr = new wxSize((wxSize &) result);
14434 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14435 }
14436 return resultobj;
14437 fail:
14438 return NULL;
14439 }
14440
14441
14442 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14443 PyObject *resultobj;
14444 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14445 wxSize result;
14446 PyObject * obj0 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "self", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14456
14457 wxPyEndAllowThreads(__tstate);
14458 if (PyErr_Occurred()) SWIG_fail;
14459 }
14460 {
14461 wxSize * resultptr;
14462 resultptr = new wxSize((wxSize &) result);
14463 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14464 }
14465 return resultobj;
14466 fail:
14467 return NULL;
14468 }
14469
14470
14471 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14472 PyObject *resultobj;
14473 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14474 PyObject * obj0 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 (arg1)->base_InitDialog();
14484
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
14488 Py_INCREF(Py_None); resultobj = Py_None;
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14498 bool result;
14499 PyObject * obj0 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (bool)(arg1)->base_TransferDataToWindow();
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 resultobj = PyInt_FromLong((long)result);
14514 return resultobj;
14515 fail:
14516 return NULL;
14517 }
14518
14519
14520 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14523 bool result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = (bool)(arg1)->base_TransferDataFromWindow();
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 resultobj = PyInt_FromLong((long)result);
14539 return resultobj;
14540 fail:
14541 return NULL;
14542 }
14543
14544
14545 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14546 PyObject *resultobj;
14547 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14548 bool result;
14549 PyObject * obj0 = 0 ;
14550 char *kwnames[] = {
14551 (char *) "self", NULL
14552 };
14553
14554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 result = (bool)(arg1)->base_Validate();
14559
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 resultobj = PyInt_FromLong((long)result);
14564 return resultobj;
14565 fail:
14566 return NULL;
14567 }
14568
14569
14570 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14571 PyObject *resultobj;
14572 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14573 bool result;
14574 PyObject * obj0 = 0 ;
14575 char *kwnames[] = {
14576 (char *) "self", NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14584
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
14588 resultobj = PyInt_FromLong((long)result);
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14598 bool result;
14599 PyObject * obj0 = 0 ;
14600 char *kwnames[] = {
14601 (char *) "self", NULL
14602 };
14603
14604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 resultobj = PyInt_FromLong((long)result);
14614 return resultobj;
14615 fail:
14616 return NULL;
14617 }
14618
14619
14620 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14621 PyObject *resultobj;
14622 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14623 wxSize result;
14624 PyObject * obj0 = 0 ;
14625 char *kwnames[] = {
14626 (char *) "self", NULL
14627 };
14628
14629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14631 {
14632 PyThreadState* __tstate = wxPyBeginAllowThreads();
14633 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14634
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 {
14639 wxSize * resultptr;
14640 resultptr = new wxSize((wxSize &) result);
14641 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14642 }
14643 return resultobj;
14644 fail:
14645 return NULL;
14646 }
14647
14648
14649 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14650 PyObject *resultobj;
14651 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14652 wxWindow *arg2 = (wxWindow *) 0 ;
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 char *kwnames[] = {
14656 (char *) "self",(char *) "child", NULL
14657 };
14658
14659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 (arg1)->base_AddChild(arg2);
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 Py_INCREF(Py_None); resultobj = Py_None;
14670 return resultobj;
14671 fail:
14672 return NULL;
14673 }
14674
14675
14676 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14677 PyObject *resultobj;
14678 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14679 wxWindow *arg2 = (wxWindow *) 0 ;
14680 PyObject * obj0 = 0 ;
14681 PyObject * obj1 = 0 ;
14682 char *kwnames[] = {
14683 (char *) "self",(char *) "child", NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 (arg1)->base_RemoveChild(arg2);
14692
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 Py_INCREF(Py_None); resultobj = Py_None;
14697 return resultobj;
14698 fail:
14699 return NULL;
14700 }
14701
14702
14703 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14704 PyObject *obj;
14705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14706 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14707 Py_INCREF(obj);
14708 return Py_BuildValue((char *)"");
14709 }
14710 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14711 PyObject *resultobj;
14712 wxPrintData *result;
14713 char *kwnames[] = {
14714 NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14718 {
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 result = (wxPrintData *)new wxPrintData();
14721
14722 wxPyEndAllowThreads(__tstate);
14723 if (PyErr_Occurred()) SWIG_fail;
14724 }
14725 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14726 return resultobj;
14727 fail:
14728 return NULL;
14729 }
14730
14731
14732 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14733 PyObject *resultobj;
14734 wxPrintData *arg1 = (wxPrintData *) 0 ;
14735 PyObject * obj0 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 delete arg1;
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 Py_INCREF(Py_None); resultobj = Py_None;
14750 return resultobj;
14751 fail:
14752 return NULL;
14753 }
14754
14755
14756 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxPrintData *arg1 = (wxPrintData *) 0 ;
14759 int result;
14760 PyObject * obj0 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "self", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14767 {
14768 PyThreadState* __tstate = wxPyBeginAllowThreads();
14769 result = (int)(arg1)->GetNoCopies();
14770
14771 wxPyEndAllowThreads(__tstate);
14772 if (PyErr_Occurred()) SWIG_fail;
14773 }
14774 resultobj = PyInt_FromLong((long)result);
14775 return resultobj;
14776 fail:
14777 return NULL;
14778 }
14779
14780
14781 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14782 PyObject *resultobj;
14783 wxPrintData *arg1 = (wxPrintData *) 0 ;
14784 bool result;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (bool)(arg1)->GetCollate();
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 resultobj = PyInt_FromLong((long)result);
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxPrintData *arg1 = (wxPrintData *) 0 ;
14809 int result;
14810 PyObject * obj0 = 0 ;
14811 char *kwnames[] = {
14812 (char *) "self", NULL
14813 };
14814
14815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14817 {
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (int)(arg1)->GetOrientation();
14820
14821 wxPyEndAllowThreads(__tstate);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 resultobj = PyInt_FromLong((long)result);
14825 return resultobj;
14826 fail:
14827 return NULL;
14828 }
14829
14830
14831 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14832 PyObject *resultobj;
14833 wxPrintData *arg1 = (wxPrintData *) 0 ;
14834 bool result;
14835 PyObject * obj0 = 0 ;
14836 char *kwnames[] = {
14837 (char *) "self", NULL
14838 };
14839
14840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = (bool)(arg1)->Ok();
14845
14846 wxPyEndAllowThreads(__tstate);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 resultobj = PyInt_FromLong((long)result);
14850 return resultobj;
14851 fail:
14852 return NULL;
14853 }
14854
14855
14856 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14857 PyObject *resultobj;
14858 wxPrintData *arg1 = (wxPrintData *) 0 ;
14859 wxString *result;
14860 PyObject * obj0 = 0 ;
14861 char *kwnames[] = {
14862 (char *) "self", NULL
14863 };
14864
14865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 {
14870 wxString const &_result_ref = (arg1)->GetPrinterName();
14871 result = (wxString *) &_result_ref;
14872 }
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14878 return resultobj;
14879 fail:
14880 return NULL;
14881 }
14882
14883
14884 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxPrintData *arg1 = (wxPrintData *) 0 ;
14887 bool result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (bool)(arg1)->GetColour();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = PyInt_FromLong((long)result);
14903 return resultobj;
14904 fail:
14905 return NULL;
14906 }
14907
14908
14909 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxPrintData *arg1 = (wxPrintData *) 0 ;
14912 int result;
14913 PyObject * obj0 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "self", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14920 {
14921 PyThreadState* __tstate = wxPyBeginAllowThreads();
14922 result = (int)(arg1)->GetDuplex();
14923
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 resultobj = PyInt_FromLong((long)result);
14928 return resultobj;
14929 fail:
14930 return NULL;
14931 }
14932
14933
14934 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj;
14936 wxPrintData *arg1 = (wxPrintData *) 0 ;
14937 int result;
14938 PyObject * obj0 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (int)(arg1)->GetPaperId();
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 resultobj = PyInt_FromLong((long)result);
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxPrintData *arg1 = (wxPrintData *) 0 ;
14962 wxSize *result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 {
14973 wxSize const &_result_ref = (arg1)->GetPaperSize();
14974 result = (wxSize *) &_result_ref;
14975 }
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxPrintData *arg1 = (wxPrintData *) 0 ;
14990 wxPrintQuality result;
14991 PyObject * obj0 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
14997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 result = (arg1)->GetQuality();
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 {
15006 wxPrintQuality * resultptr;
15007 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15008 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15009 }
15010 return resultobj;
15011 fail:
15012 return NULL;
15013 }
15014
15015
15016 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15017 PyObject *resultobj;
15018 wxPrintData *arg1 = (wxPrintData *) 0 ;
15019 int arg2 ;
15020 PyObject * obj0 = 0 ;
15021 char *kwnames[] = {
15022 (char *) "self",(char *) "v", NULL
15023 };
15024
15025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 (arg1)->SetNoCopies(arg2);
15030
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 Py_INCREF(Py_None); resultobj = Py_None;
15035 return resultobj;
15036 fail:
15037 return NULL;
15038 }
15039
15040
15041 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj;
15043 wxPrintData *arg1 = (wxPrintData *) 0 ;
15044 bool arg2 ;
15045 PyObject * obj0 = 0 ;
15046 PyObject * obj1 = 0 ;
15047 char *kwnames[] = {
15048 (char *) "self",(char *) "flag", NULL
15049 };
15050
15051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15053 arg2 = PyInt_AsLong(obj1) ? true : false;
15054 if (PyErr_Occurred()) SWIG_fail;
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 (arg1)->SetCollate(arg2);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 Py_INCREF(Py_None); resultobj = Py_None;
15063 return resultobj;
15064 fail:
15065 return NULL;
15066 }
15067
15068
15069 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxPrintData *arg1 = (wxPrintData *) 0 ;
15072 int arg2 ;
15073 PyObject * obj0 = 0 ;
15074 char *kwnames[] = {
15075 (char *) "self",(char *) "orient", NULL
15076 };
15077
15078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 (arg1)->SetOrientation(arg2);
15083
15084 wxPyEndAllowThreads(__tstate);
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 Py_INCREF(Py_None); resultobj = Py_None;
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxPrintData *arg1 = (wxPrintData *) 0 ;
15097 wxString *arg2 = 0 ;
15098 bool temp2 = false ;
15099 PyObject * obj0 = 0 ;
15100 PyObject * obj1 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self",(char *) "name", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15107 {
15108 arg2 = wxString_in_helper(obj1);
15109 if (arg2 == NULL) SWIG_fail;
15110 temp2 = true;
15111 }
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 (arg1)->SetPrinterName((wxString const &)*arg2);
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 Py_INCREF(Py_None); resultobj = Py_None;
15120 {
15121 if (temp2)
15122 delete arg2;
15123 }
15124 return resultobj;
15125 fail:
15126 {
15127 if (temp2)
15128 delete arg2;
15129 }
15130 return NULL;
15131 }
15132
15133
15134 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj;
15136 wxPrintData *arg1 = (wxPrintData *) 0 ;
15137 bool arg2 ;
15138 PyObject * obj0 = 0 ;
15139 PyObject * obj1 = 0 ;
15140 char *kwnames[] = {
15141 (char *) "self",(char *) "colour", NULL
15142 };
15143
15144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15146 arg2 = PyInt_AsLong(obj1) ? true : false;
15147 if (PyErr_Occurred()) SWIG_fail;
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 (arg1)->SetColour(arg2);
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 Py_INCREF(Py_None); resultobj = Py_None;
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxPrintData *arg1 = (wxPrintData *) 0 ;
15165 int arg2 ;
15166 PyObject * obj0 = 0 ;
15167 char *kwnames[] = {
15168 (char *) "self",(char *) "duplex", NULL
15169 };
15170
15171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 (arg1)->SetDuplex((wxDuplexMode )arg2);
15176
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 Py_INCREF(Py_None); resultobj = Py_None;
15181 return resultobj;
15182 fail:
15183 return NULL;
15184 }
15185
15186
15187 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15188 PyObject *resultobj;
15189 wxPrintData *arg1 = (wxPrintData *) 0 ;
15190 int arg2 ;
15191 PyObject * obj0 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "self",(char *) "sizeId", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15198 {
15199 PyThreadState* __tstate = wxPyBeginAllowThreads();
15200 (arg1)->SetPaperId((wxPaperSize )arg2);
15201
15202 wxPyEndAllowThreads(__tstate);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15205 Py_INCREF(Py_None); resultobj = Py_None;
15206 return resultobj;
15207 fail:
15208 return NULL;
15209 }
15210
15211
15212 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15213 PyObject *resultobj;
15214 wxPrintData *arg1 = (wxPrintData *) 0 ;
15215 wxSize *arg2 = 0 ;
15216 wxSize temp2 ;
15217 PyObject * obj0 = 0 ;
15218 PyObject * obj1 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "self",(char *) "sz", NULL
15221 };
15222
15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15225 {
15226 arg2 = &temp2;
15227 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15228 }
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 (arg1)->SetPaperSize((wxSize const &)*arg2);
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 Py_INCREF(Py_None); resultobj = Py_None;
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxPrintData *arg1 = (wxPrintData *) 0 ;
15246 wxPrintQuality arg2 ;
15247 wxPrintQuality *argp2 ;
15248 PyObject * obj0 = 0 ;
15249 PyObject * obj1 = 0 ;
15250 char *kwnames[] = {
15251 (char *) "self",(char *) "quality", NULL
15252 };
15253
15254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15256 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15257 arg2 = *argp2;
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 (arg1)->SetQuality(arg2);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 Py_INCREF(Py_None); resultobj = Py_None;
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxPrintData *arg1 = (wxPrintData *) 0 ;
15275 wxString *result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 {
15286 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15287 result = (wxString *) &_result_ref;
15288 }
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxPrintData *arg1 = (wxPrintData *) 0 ;
15303 wxString *result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 {
15314 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15315 result = (wxString *) &_result_ref;
15316 }
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxPrintData *arg1 = (wxPrintData *) 0 ;
15331 wxString *result;
15332 PyObject * obj0 = 0 ;
15333 char *kwnames[] = {
15334 (char *) "self", NULL
15335 };
15336
15337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 {
15342 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15343 result = (wxString *) &_result_ref;
15344 }
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15350 return resultobj;
15351 fail:
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxPrintData *arg1 = (wxPrintData *) 0 ;
15359 wxString *result;
15360 PyObject * obj0 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 {
15370 wxString const &_result_ref = (arg1)->GetFilename();
15371 result = (wxString *) &_result_ref;
15372 }
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15378 return resultobj;
15379 fail:
15380 return NULL;
15381 }
15382
15383
15384 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxPrintData *arg1 = (wxPrintData *) 0 ;
15387 wxString *result;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 {
15398 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15399 result = (wxString *) &_result_ref;
15400 }
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15406 return resultobj;
15407 fail:
15408 return NULL;
15409 }
15410
15411
15412 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj;
15414 wxPrintData *arg1 = (wxPrintData *) 0 ;
15415 double result;
15416 PyObject * obj0 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15423 {
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 result = (double)(arg1)->GetPrinterScaleX();
15426
15427 wxPyEndAllowThreads(__tstate);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 resultobj = PyFloat_FromDouble(result);
15431 return resultobj;
15432 fail:
15433 return NULL;
15434 }
15435
15436
15437 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15438 PyObject *resultobj;
15439 wxPrintData *arg1 = (wxPrintData *) 0 ;
15440 double result;
15441 PyObject * obj0 = 0 ;
15442 char *kwnames[] = {
15443 (char *) "self", NULL
15444 };
15445
15446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15448 {
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 result = (double)(arg1)->GetPrinterScaleY();
15451
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 resultobj = PyFloat_FromDouble(result);
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxPrintData *arg1 = (wxPrintData *) 0 ;
15465 long result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
15475 result = (long)(arg1)->GetPrinterTranslateX();
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 resultobj = PyInt_FromLong((long)result);
15481 return resultobj;
15482 fail:
15483 return NULL;
15484 }
15485
15486
15487 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj;
15489 wxPrintData *arg1 = (wxPrintData *) 0 ;
15490 long result;
15491 PyObject * obj0 = 0 ;
15492 char *kwnames[] = {
15493 (char *) "self", NULL
15494 };
15495
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15498 {
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
15500 result = (long)(arg1)->GetPrinterTranslateY();
15501
15502 wxPyEndAllowThreads(__tstate);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 resultobj = PyInt_FromLong((long)result);
15506 return resultobj;
15507 fail:
15508 return NULL;
15509 }
15510
15511
15512 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15513 PyObject *resultobj;
15514 wxPrintData *arg1 = (wxPrintData *) 0 ;
15515 int result;
15516 PyObject * obj0 = 0 ;
15517 char *kwnames[] = {
15518 (char *) "self", NULL
15519 };
15520
15521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 result = (int)(arg1)->GetPrintMode();
15526
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 resultobj = PyInt_FromLong((long)result);
15531 return resultobj;
15532 fail:
15533 return NULL;
15534 }
15535
15536
15537 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15538 PyObject *resultobj;
15539 wxPrintData *arg1 = (wxPrintData *) 0 ;
15540 wxString *arg2 = 0 ;
15541 bool temp2 = false ;
15542 PyObject * obj0 = 0 ;
15543 PyObject * obj1 = 0 ;
15544 char *kwnames[] = {
15545 (char *) "self",(char *) "command", NULL
15546 };
15547
15548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15550 {
15551 arg2 = wxString_in_helper(obj1);
15552 if (arg2 == NULL) SWIG_fail;
15553 temp2 = true;
15554 }
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 Py_INCREF(Py_None); resultobj = Py_None;
15563 {
15564 if (temp2)
15565 delete arg2;
15566 }
15567 return resultobj;
15568 fail:
15569 {
15570 if (temp2)
15571 delete arg2;
15572 }
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxPrintData *arg1 = (wxPrintData *) 0 ;
15580 wxString *arg2 = 0 ;
15581 bool temp2 = false ;
15582 PyObject * obj0 = 0 ;
15583 PyObject * obj1 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self",(char *) "options", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15590 {
15591 arg2 = wxString_in_helper(obj1);
15592 if (arg2 == NULL) SWIG_fail;
15593 temp2 = true;
15594 }
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
15597 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15598
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 Py_INCREF(Py_None); resultobj = Py_None;
15603 {
15604 if (temp2)
15605 delete arg2;
15606 }
15607 return resultobj;
15608 fail:
15609 {
15610 if (temp2)
15611 delete arg2;
15612 }
15613 return NULL;
15614 }
15615
15616
15617 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15618 PyObject *resultobj;
15619 wxPrintData *arg1 = (wxPrintData *) 0 ;
15620 wxString *arg2 = 0 ;
15621 bool temp2 = false ;
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self",(char *) "command", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15630 {
15631 arg2 = wxString_in_helper(obj1);
15632 if (arg2 == NULL) SWIG_fail;
15633 temp2 = true;
15634 }
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 Py_INCREF(Py_None); resultobj = Py_None;
15643 {
15644 if (temp2)
15645 delete arg2;
15646 }
15647 return resultobj;
15648 fail:
15649 {
15650 if (temp2)
15651 delete arg2;
15652 }
15653 return NULL;
15654 }
15655
15656
15657 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxPrintData *arg1 = (wxPrintData *) 0 ;
15660 wxString *arg2 = 0 ;
15661 bool temp2 = false ;
15662 PyObject * obj0 = 0 ;
15663 PyObject * obj1 = 0 ;
15664 char *kwnames[] = {
15665 (char *) "self",(char *) "filename", NULL
15666 };
15667
15668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15670 {
15671 arg2 = wxString_in_helper(obj1);
15672 if (arg2 == NULL) SWIG_fail;
15673 temp2 = true;
15674 }
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 (arg1)->SetFilename((wxString const &)*arg2);
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 Py_INCREF(Py_None); resultobj = Py_None;
15683 {
15684 if (temp2)
15685 delete arg2;
15686 }
15687 return resultobj;
15688 fail:
15689 {
15690 if (temp2)
15691 delete arg2;
15692 }
15693 return NULL;
15694 }
15695
15696
15697 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj;
15699 wxPrintData *arg1 = (wxPrintData *) 0 ;
15700 wxString *arg2 = 0 ;
15701 bool temp2 = false ;
15702 PyObject * obj0 = 0 ;
15703 PyObject * obj1 = 0 ;
15704 char *kwnames[] = {
15705 (char *) "self",(char *) "path", NULL
15706 };
15707
15708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15710 {
15711 arg2 = wxString_in_helper(obj1);
15712 if (arg2 == NULL) SWIG_fail;
15713 temp2 = true;
15714 }
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 Py_INCREF(Py_None); resultobj = Py_None;
15723 {
15724 if (temp2)
15725 delete arg2;
15726 }
15727 return resultobj;
15728 fail:
15729 {
15730 if (temp2)
15731 delete arg2;
15732 }
15733 return NULL;
15734 }
15735
15736
15737 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15738 PyObject *resultobj;
15739 wxPrintData *arg1 = (wxPrintData *) 0 ;
15740 double arg2 ;
15741 PyObject * obj0 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self",(char *) "x", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 (arg1)->SetPrinterScaleX(arg2);
15751
15752 wxPyEndAllowThreads(__tstate);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 Py_INCREF(Py_None); resultobj = Py_None;
15756 return resultobj;
15757 fail:
15758 return NULL;
15759 }
15760
15761
15762 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj;
15764 wxPrintData *arg1 = (wxPrintData *) 0 ;
15765 double arg2 ;
15766 PyObject * obj0 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "self",(char *) "y", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 (arg1)->SetPrinterScaleY(arg2);
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 Py_INCREF(Py_None); resultobj = Py_None;
15781 return resultobj;
15782 fail:
15783 return NULL;
15784 }
15785
15786
15787 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15788 PyObject *resultobj;
15789 wxPrintData *arg1 = (wxPrintData *) 0 ;
15790 double arg2 ;
15791 double arg3 ;
15792 PyObject * obj0 = 0 ;
15793 char *kwnames[] = {
15794 (char *) "self",(char *) "x",(char *) "y", NULL
15795 };
15796
15797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->SetPrinterScaling(arg2,arg3);
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxPrintData *arg1 = (wxPrintData *) 0 ;
15816 long arg2 ;
15817 PyObject * obj0 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self",(char *) "x", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 (arg1)->SetPrinterTranslateX(arg2);
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 Py_INCREF(Py_None); resultobj = Py_None;
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxPrintData *arg1 = (wxPrintData *) 0 ;
15841 long arg2 ;
15842 PyObject * obj0 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self",(char *) "y", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 (arg1)->SetPrinterTranslateY(arg2);
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 Py_INCREF(Py_None); resultobj = Py_None;
15857 return resultobj;
15858 fail:
15859 return NULL;
15860 }
15861
15862
15863 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxPrintData *arg1 = (wxPrintData *) 0 ;
15866 long arg2 ;
15867 long arg3 ;
15868 PyObject * obj0 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self",(char *) "x",(char *) "y", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 (arg1)->SetPrinterTranslation(arg2,arg3);
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 Py_INCREF(Py_None); resultobj = Py_None;
15883 return resultobj;
15884 fail:
15885 return NULL;
15886 }
15887
15888
15889 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15890 PyObject *resultobj;
15891 wxPrintData *arg1 = (wxPrintData *) 0 ;
15892 int arg2 ;
15893 PyObject * obj0 = 0 ;
15894 char *kwnames[] = {
15895 (char *) "self",(char *) "printMode", NULL
15896 };
15897
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 (arg1)->SetPrintMode((wxPrintMode )arg2);
15903
15904 wxPyEndAllowThreads(__tstate);
15905 if (PyErr_Occurred()) SWIG_fail;
15906 }
15907 Py_INCREF(Py_None); resultobj = Py_None;
15908 return resultobj;
15909 fail:
15910 return NULL;
15911 }
15912
15913
15914 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15915 PyObject *obj;
15916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15917 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15918 Py_INCREF(obj);
15919 return Py_BuildValue((char *)"");
15920 }
15921 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxPageSetupDialogData *result;
15924 char *kwnames[] = {
15925 NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15929 {
15930 PyThreadState* __tstate = wxPyBeginAllowThreads();
15931 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15932
15933 wxPyEndAllowThreads(__tstate);
15934 if (PyErr_Occurred()) SWIG_fail;
15935 }
15936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15937 return resultobj;
15938 fail:
15939 return NULL;
15940 }
15941
15942
15943 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15944 PyObject *resultobj;
15945 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15946 PyObject * obj0 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 delete arg1;
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 return resultobj;
15962 fail:
15963 return NULL;
15964 }
15965
15966
15967 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj;
15969 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15970 bool arg2 ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "flag", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15979 arg2 = PyInt_AsLong(obj1) ? true : false;
15980 if (PyErr_Occurred()) SWIG_fail;
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 (arg1)->EnableHelp(arg2);
15984
15985 wxPyEndAllowThreads(__tstate);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 }
15988 Py_INCREF(Py_None); resultobj = Py_None;
15989 return resultobj;
15990 fail:
15991 return NULL;
15992 }
15993
15994
15995 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15998 bool arg2 ;
15999 PyObject * obj0 = 0 ;
16000 PyObject * obj1 = 0 ;
16001 char *kwnames[] = {
16002 (char *) "self",(char *) "flag", NULL
16003 };
16004
16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16007 arg2 = PyInt_AsLong(obj1) ? true : false;
16008 if (PyErr_Occurred()) SWIG_fail;
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 (arg1)->EnableMargins(arg2);
16012
16013 wxPyEndAllowThreads(__tstate);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 Py_INCREF(Py_None); resultobj = Py_None;
16017 return resultobj;
16018 fail:
16019 return NULL;
16020 }
16021
16022
16023 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16024 PyObject *resultobj;
16025 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16026 bool arg2 ;
16027 PyObject * obj0 = 0 ;
16028 PyObject * obj1 = 0 ;
16029 char *kwnames[] = {
16030 (char *) "self",(char *) "flag", NULL
16031 };
16032
16033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16035 arg2 = PyInt_AsLong(obj1) ? true : false;
16036 if (PyErr_Occurred()) SWIG_fail;
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 (arg1)->EnableOrientation(arg2);
16040
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 Py_INCREF(Py_None); resultobj = Py_None;
16045 return resultobj;
16046 fail:
16047 return NULL;
16048 }
16049
16050
16051 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16054 bool arg2 ;
16055 PyObject * obj0 = 0 ;
16056 PyObject * obj1 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self",(char *) "flag", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16063 arg2 = PyInt_AsLong(obj1) ? true : false;
16064 if (PyErr_Occurred()) SWIG_fail;
16065 {
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 (arg1)->EnablePaper(arg2);
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 Py_INCREF(Py_None); resultobj = Py_None;
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16082 bool arg2 ;
16083 PyObject * obj0 = 0 ;
16084 PyObject * obj1 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "flag", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16091 arg2 = PyInt_AsLong(obj1) ? true : false;
16092 if (PyErr_Occurred()) SWIG_fail;
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 (arg1)->EnablePrinter(arg2);
16096
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 Py_INCREF(Py_None); resultobj = Py_None;
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16110 bool result;
16111 PyObject * obj0 = 0 ;
16112 char *kwnames[] = {
16113 (char *) "self", NULL
16114 };
16115
16116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 result = (bool)(arg1)->GetDefaultMinMargins();
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 resultobj = PyInt_FromLong((long)result);
16126 return resultobj;
16127 fail:
16128 return NULL;
16129 }
16130
16131
16132 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16133 PyObject *resultobj;
16134 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16135 bool result;
16136 PyObject * obj0 = 0 ;
16137 char *kwnames[] = {
16138 (char *) "self", NULL
16139 };
16140
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (bool)(arg1)->GetEnableMargins();
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 resultobj = PyInt_FromLong((long)result);
16151 return resultobj;
16152 fail:
16153 return NULL;
16154 }
16155
16156
16157 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16158 PyObject *resultobj;
16159 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16160 bool result;
16161 PyObject * obj0 = 0 ;
16162 char *kwnames[] = {
16163 (char *) "self", NULL
16164 };
16165
16166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16168 {
16169 PyThreadState* __tstate = wxPyBeginAllowThreads();
16170 result = (bool)(arg1)->GetEnableOrientation();
16171
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = PyInt_FromLong((long)result);
16176 return resultobj;
16177 fail:
16178 return NULL;
16179 }
16180
16181
16182 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16183 PyObject *resultobj;
16184 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16185 bool result;
16186 PyObject * obj0 = 0 ;
16187 char *kwnames[] = {
16188 (char *) "self", NULL
16189 };
16190
16191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 result = (bool)(arg1)->GetEnablePaper();
16196
16197 wxPyEndAllowThreads(__tstate);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 resultobj = PyInt_FromLong((long)result);
16201 return resultobj;
16202 fail:
16203 return NULL;
16204 }
16205
16206
16207 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16208 PyObject *resultobj;
16209 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16210 bool result;
16211 PyObject * obj0 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16218 {
16219 PyThreadState* __tstate = wxPyBeginAllowThreads();
16220 result = (bool)(arg1)->GetEnablePrinter();
16221
16222 wxPyEndAllowThreads(__tstate);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 resultobj = PyInt_FromLong((long)result);
16226 return resultobj;
16227 fail:
16228 return NULL;
16229 }
16230
16231
16232 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16233 PyObject *resultobj;
16234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16235 bool result;
16236 PyObject * obj0 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "self", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 result = (bool)(arg1)->GetEnableHelp();
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 resultobj = PyInt_FromLong((long)result);
16251 return resultobj;
16252 fail:
16253 return NULL;
16254 }
16255
16256
16257 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16258 PyObject *resultobj;
16259 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16260 bool result;
16261 PyObject * obj0 = 0 ;
16262 char *kwnames[] = {
16263 (char *) "self", NULL
16264 };
16265
16266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16268 {
16269 PyThreadState* __tstate = wxPyBeginAllowThreads();
16270 result = (bool)(arg1)->GetDefaultInfo();
16271
16272 wxPyEndAllowThreads(__tstate);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 resultobj = PyInt_FromLong((long)result);
16276 return resultobj;
16277 fail:
16278 return NULL;
16279 }
16280
16281
16282 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16283 PyObject *resultobj;
16284 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16285 wxPoint result;
16286 PyObject * obj0 = 0 ;
16287 char *kwnames[] = {
16288 (char *) "self", NULL
16289 };
16290
16291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (arg1)->GetMarginTopLeft();
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 {
16301 wxPoint * resultptr;
16302 resultptr = new wxPoint((wxPoint &) result);
16303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16304 }
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16314 wxPoint result;
16315 PyObject * obj0 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 result = (arg1)->GetMarginBottomRight();
16325
16326 wxPyEndAllowThreads(__tstate);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 }
16329 {
16330 wxPoint * resultptr;
16331 resultptr = new wxPoint((wxPoint &) result);
16332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16333 }
16334 return resultobj;
16335 fail:
16336 return NULL;
16337 }
16338
16339
16340 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16341 PyObject *resultobj;
16342 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16343 wxPoint result;
16344 PyObject * obj0 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "self", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 result = (arg1)->GetMinMarginTopLeft();
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 {
16359 wxPoint * resultptr;
16360 resultptr = new wxPoint((wxPoint &) result);
16361 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16362 }
16363 return resultobj;
16364 fail:
16365 return NULL;
16366 }
16367
16368
16369 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16370 PyObject *resultobj;
16371 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16372 wxPoint result;
16373 PyObject * obj0 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self", NULL
16376 };
16377
16378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 result = (arg1)->GetMinMarginBottomRight();
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 {
16388 wxPoint * resultptr;
16389 resultptr = new wxPoint((wxPoint &) result);
16390 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16391 }
16392 return resultobj;
16393 fail:
16394 return NULL;
16395 }
16396
16397
16398 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16399 PyObject *resultobj;
16400 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16401 int result;
16402 PyObject * obj0 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16409 {
16410 PyThreadState* __tstate = wxPyBeginAllowThreads();
16411 result = (int)(arg1)->GetPaperId();
16412
16413 wxPyEndAllowThreads(__tstate);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
16416 resultobj = PyInt_FromLong((long)result);
16417 return resultobj;
16418 fail:
16419 return NULL;
16420 }
16421
16422
16423 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16424 PyObject *resultobj;
16425 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16426 wxSize result;
16427 PyObject * obj0 = 0 ;
16428 char *kwnames[] = {
16429 (char *) "self", NULL
16430 };
16431
16432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16434 {
16435 PyThreadState* __tstate = wxPyBeginAllowThreads();
16436 result = (arg1)->GetPaperSize();
16437
16438 wxPyEndAllowThreads(__tstate);
16439 if (PyErr_Occurred()) SWIG_fail;
16440 }
16441 {
16442 wxSize * resultptr;
16443 resultptr = new wxSize((wxSize &) result);
16444 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16445 }
16446 return resultobj;
16447 fail:
16448 return NULL;
16449 }
16450
16451
16452 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj;
16454 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16455 wxPrintData *result;
16456 PyObject * obj0 = 0 ;
16457 char *kwnames[] = {
16458 (char *) "self", NULL
16459 };
16460
16461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 {
16466 wxPrintData &_result_ref = (arg1)->GetPrintData();
16467 result = (wxPrintData *) &_result_ref;
16468 }
16469
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16474 return resultobj;
16475 fail:
16476 return NULL;
16477 }
16478
16479
16480 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj;
16482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16483 bool result;
16484 PyObject * obj0 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 result = (bool)(arg1)->Ok();
16494
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 resultobj = PyInt_FromLong((long)result);
16499 return resultobj;
16500 fail:
16501 return NULL;
16502 }
16503
16504
16505 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16506 PyObject *resultobj;
16507 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16508 bool arg2 ;
16509 PyObject * obj0 = 0 ;
16510 PyObject * obj1 = 0 ;
16511 char *kwnames[] = {
16512 (char *) "self",(char *) "flag", NULL
16513 };
16514
16515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16517 arg2 = PyInt_AsLong(obj1) ? true : false;
16518 if (PyErr_Occurred()) SWIG_fail;
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 (arg1)->SetDefaultInfo(arg2);
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 Py_INCREF(Py_None); resultobj = Py_None;
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16536 bool arg2 ;
16537 PyObject * obj0 = 0 ;
16538 PyObject * obj1 = 0 ;
16539 char *kwnames[] = {
16540 (char *) "self",(char *) "flag", NULL
16541 };
16542
16543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16545 arg2 = PyInt_AsLong(obj1) ? true : false;
16546 if (PyErr_Occurred()) SWIG_fail;
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 (arg1)->SetDefaultMinMargins(arg2);
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 Py_INCREF(Py_None); resultobj = Py_None;
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16564 wxPoint *arg2 = 0 ;
16565 wxPoint temp2 ;
16566 PyObject * obj0 = 0 ;
16567 PyObject * obj1 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self",(char *) "pt", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16574 {
16575 arg2 = &temp2;
16576 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16577 }
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16581
16582 wxPyEndAllowThreads(__tstate);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
16585 Py_INCREF(Py_None); resultobj = Py_None;
16586 return resultobj;
16587 fail:
16588 return NULL;
16589 }
16590
16591
16592 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj;
16594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16595 wxPoint *arg2 = 0 ;
16596 wxPoint temp2 ;
16597 PyObject * obj0 = 0 ;
16598 PyObject * obj1 = 0 ;
16599 char *kwnames[] = {
16600 (char *) "self",(char *) "pt", NULL
16601 };
16602
16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16605 {
16606 arg2 = &temp2;
16607 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16608 }
16609 {
16610 PyThreadState* __tstate = wxPyBeginAllowThreads();
16611 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16612
16613 wxPyEndAllowThreads(__tstate);
16614 if (PyErr_Occurred()) SWIG_fail;
16615 }
16616 Py_INCREF(Py_None); resultobj = Py_None;
16617 return resultobj;
16618 fail:
16619 return NULL;
16620 }
16621
16622
16623 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16624 PyObject *resultobj;
16625 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16626 wxPoint *arg2 = 0 ;
16627 wxPoint temp2 ;
16628 PyObject * obj0 = 0 ;
16629 PyObject * obj1 = 0 ;
16630 char *kwnames[] = {
16631 (char *) "self",(char *) "pt", NULL
16632 };
16633
16634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16636 {
16637 arg2 = &temp2;
16638 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16639 }
16640 {
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 Py_INCREF(Py_None); resultobj = Py_None;
16648 return resultobj;
16649 fail:
16650 return NULL;
16651 }
16652
16653
16654 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16655 PyObject *resultobj;
16656 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16657 wxPoint *arg2 = 0 ;
16658 wxPoint temp2 ;
16659 PyObject * obj0 = 0 ;
16660 PyObject * obj1 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self",(char *) "pt", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16667 {
16668 arg2 = &temp2;
16669 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16670 }
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 Py_INCREF(Py_None); resultobj = Py_None;
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16688 int arg2 ;
16689 PyObject * obj0 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self",(char *) "id", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16696 {
16697 PyThreadState* __tstate = wxPyBeginAllowThreads();
16698 (arg1)->SetPaperId((wxPaperSize )arg2);
16699
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 Py_INCREF(Py_None); resultobj = Py_None;
16704 return resultobj;
16705 fail:
16706 return NULL;
16707 }
16708
16709
16710 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj;
16712 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16713 wxSize *arg2 = 0 ;
16714 wxSize temp2 ;
16715 PyObject * obj0 = 0 ;
16716 PyObject * obj1 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "self",(char *) "size", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16723 {
16724 arg2 = &temp2;
16725 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16726 }
16727 {
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
16729 (arg1)->SetPaperSize((wxSize const &)*arg2);
16730
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 Py_INCREF(Py_None); resultobj = Py_None;
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj;
16743 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16744 wxPrintData *arg2 = 0 ;
16745 PyObject * obj0 = 0 ;
16746 PyObject * obj1 = 0 ;
16747 char *kwnames[] = {
16748 (char *) "self",(char *) "printData", NULL
16749 };
16750
16751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16754 if (arg2 == NULL) {
16755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16756 }
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16760
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 Py_INCREF(Py_None); resultobj = Py_None;
16765 return resultobj;
16766 fail:
16767 return NULL;
16768 }
16769
16770
16771 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16772 PyObject *obj;
16773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16774 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16775 Py_INCREF(obj);
16776 return Py_BuildValue((char *)"");
16777 }
16778 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxWindow *arg1 = (wxWindow *) 0 ;
16781 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16782 wxPageSetupDialog *result;
16783 PyObject * obj0 = 0 ;
16784 PyObject * obj1 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "parent",(char *) "data", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16791 if (obj1) {
16792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16793 }
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16797
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16802 return resultobj;
16803 fail:
16804 return NULL;
16805 }
16806
16807
16808 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16809 PyObject *resultobj;
16810 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16811 wxPageSetupDialogData *result;
16812 PyObject * obj0 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "self", NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 {
16822 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16823 result = (wxPageSetupDialogData *) &_result_ref;
16824 }
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16839 int result;
16840 PyObject * obj0 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (int)(arg1)->ShowModal();
16850
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
16854 resultobj = PyInt_FromLong((long)result);
16855 return resultobj;
16856 fail:
16857 return NULL;
16858 }
16859
16860
16861 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16862 PyObject *obj;
16863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16864 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16865 Py_INCREF(obj);
16866 return Py_BuildValue((char *)"");
16867 }
16868 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj;
16870 wxPrintDialogData *result;
16871 char *kwnames[] = {
16872 NULL
16873 };
16874
16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 result = (wxPrintDialogData *)new wxPrintDialogData();
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16893 PyObject * obj0 = 0 ;
16894 char *kwnames[] = {
16895 (char *) "self", NULL
16896 };
16897
16898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 delete arg1;
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 Py_INCREF(Py_None); resultobj = Py_None;
16908 return resultobj;
16909 fail:
16910 return NULL;
16911 }
16912
16913
16914 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16917 int result;
16918 PyObject * obj0 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "self", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 resultobj = PyInt_FromLong((long)result);
16933 return resultobj;
16934 fail:
16935 return NULL;
16936 }
16937
16938
16939 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16940 PyObject *resultobj;
16941 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16942 int result;
16943 PyObject * obj0 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16953
16954 wxPyEndAllowThreads(__tstate);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 resultobj = PyInt_FromLong((long)result);
16958 return resultobj;
16959 fail:
16960 return NULL;
16961 }
16962
16963
16964 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16965 PyObject *resultobj;
16966 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16967 int result;
16968 PyObject * obj0 = 0 ;
16969 char *kwnames[] = {
16970 (char *) "self", NULL
16971 };
16972
16973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 resultobj = PyInt_FromLong((long)result);
16983 return resultobj;
16984 fail:
16985 return NULL;
16986 }
16987
16988
16989 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16990 PyObject *resultobj;
16991 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16992 int result;
16993 PyObject * obj0 = 0 ;
16994 char *kwnames[] = {
16995 (char *) "self", NULL
16996 };
16997
16998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
16999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17003
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 resultobj = PyInt_FromLong((long)result);
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17017 int result;
17018 PyObject * obj0 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "self", NULL
17021 };
17022
17023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17025 {
17026 PyThreadState* __tstate = wxPyBeginAllowThreads();
17027 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17028
17029 wxPyEndAllowThreads(__tstate);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
17032 resultobj = PyInt_FromLong((long)result);
17033 return resultobj;
17034 fail:
17035 return NULL;
17036 }
17037
17038
17039 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17040 PyObject *resultobj;
17041 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17042 bool result;
17043 PyObject * obj0 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 resultobj = PyInt_FromLong((long)result);
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17067 bool result;
17068 PyObject * obj0 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "self", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17078
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 resultobj = PyInt_FromLong((long)result);
17083 return resultobj;
17084 fail:
17085 return NULL;
17086 }
17087
17088
17089 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17090 PyObject *resultobj;
17091 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17092 bool result;
17093 PyObject * obj0 = 0 ;
17094 char *kwnames[] = {
17095 (char *) "self", NULL
17096 };
17097
17098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17103
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 resultobj = PyInt_FromLong((long)result);
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17117 bool result;
17118 PyObject * obj0 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17128
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 resultobj = PyInt_FromLong((long)result);
17133 return resultobj;
17134 fail:
17135 return NULL;
17136 }
17137
17138
17139 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17142 bool result;
17143 PyObject * obj0 = 0 ;
17144 char *kwnames[] = {
17145 (char *) "self", NULL
17146 };
17147
17148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17150 {
17151 PyThreadState* __tstate = wxPyBeginAllowThreads();
17152 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17153
17154 wxPyEndAllowThreads(__tstate);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 }
17157 resultobj = PyInt_FromLong((long)result);
17158 return resultobj;
17159 fail:
17160 return NULL;
17161 }
17162
17163
17164 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj;
17166 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17167 int arg2 ;
17168 PyObject * obj0 = 0 ;
17169 char *kwnames[] = {
17170 (char *) "self",(char *) "v", NULL
17171 };
17172
17173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17175 {
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 (arg1)->SetFromPage(arg2);
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 Py_INCREF(Py_None); resultobj = Py_None;
17183 return resultobj;
17184 fail:
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17192 int arg2 ;
17193 PyObject * obj0 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "self",(char *) "v", NULL
17196 };
17197
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 (arg1)->SetToPage(arg2);
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 Py_INCREF(Py_None); resultobj = Py_None;
17208 return resultobj;
17209 fail:
17210 return NULL;
17211 }
17212
17213
17214 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17215 PyObject *resultobj;
17216 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17217 int arg2 ;
17218 PyObject * obj0 = 0 ;
17219 char *kwnames[] = {
17220 (char *) "self",(char *) "v", NULL
17221 };
17222
17223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17225 {
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 (arg1)->SetMinPage(arg2);
17228
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 Py_INCREF(Py_None); resultobj = Py_None;
17233 return resultobj;
17234 fail:
17235 return NULL;
17236 }
17237
17238
17239 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17240 PyObject *resultobj;
17241 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17242 int arg2 ;
17243 PyObject * obj0 = 0 ;
17244 char *kwnames[] = {
17245 (char *) "self",(char *) "v", NULL
17246 };
17247
17248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 (arg1)->SetMaxPage(arg2);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 Py_INCREF(Py_None); resultobj = Py_None;
17258 return resultobj;
17259 fail:
17260 return NULL;
17261 }
17262
17263
17264 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17265 PyObject *resultobj;
17266 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17267 int arg2 ;
17268 PyObject * obj0 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "self",(char *) "v", NULL
17271 };
17272
17273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 (arg1)->SetNoCopies(arg2);
17278
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 Py_INCREF(Py_None); resultobj = Py_None;
17283 return resultobj;
17284 fail:
17285 return NULL;
17286 }
17287
17288
17289 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17290 PyObject *resultobj;
17291 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17292 bool arg2 ;
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
17295 char *kwnames[] = {
17296 (char *) "self",(char *) "flag", NULL
17297 };
17298
17299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17301 arg2 = PyInt_AsLong(obj1) ? true : false;
17302 if (PyErr_Occurred()) SWIG_fail;
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 (arg1)->SetAllPages(arg2);
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 Py_INCREF(Py_None); resultobj = Py_None;
17311 return resultobj;
17312 fail:
17313 return NULL;
17314 }
17315
17316
17317 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17318 PyObject *resultobj;
17319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17320 bool arg2 ;
17321 PyObject * obj0 = 0 ;
17322 PyObject * obj1 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self",(char *) "flag", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17329 arg2 = PyInt_AsLong(obj1) ? true : false;
17330 if (PyErr_Occurred()) SWIG_fail;
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 (arg1)->SetSelection(arg2);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 Py_INCREF(Py_None); resultobj = Py_None;
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17348 bool arg2 ;
17349 PyObject * obj0 = 0 ;
17350 PyObject * obj1 = 0 ;
17351 char *kwnames[] = {
17352 (char *) "self",(char *) "flag", NULL
17353 };
17354
17355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17357 arg2 = PyInt_AsLong(obj1) ? true : false;
17358 if (PyErr_Occurred()) SWIG_fail;
17359 {
17360 PyThreadState* __tstate = wxPyBeginAllowThreads();
17361 (arg1)->SetCollate(arg2);
17362
17363 wxPyEndAllowThreads(__tstate);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 }
17366 Py_INCREF(Py_None); resultobj = Py_None;
17367 return resultobj;
17368 fail:
17369 return NULL;
17370 }
17371
17372
17373 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17374 PyObject *resultobj;
17375 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17376 bool arg2 ;
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "flag", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 arg2 = PyInt_AsLong(obj1) ? true : false;
17386 if (PyErr_Occurred()) SWIG_fail;
17387 {
17388 PyThreadState* __tstate = wxPyBeginAllowThreads();
17389 (arg1)->SetPrintToFile(arg2);
17390
17391 wxPyEndAllowThreads(__tstate);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 Py_INCREF(Py_None); resultobj = Py_None;
17395 return resultobj;
17396 fail:
17397 return NULL;
17398 }
17399
17400
17401 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17402 PyObject *resultobj;
17403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17404 bool arg2 ;
17405 PyObject * obj0 = 0 ;
17406 PyObject * obj1 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self",(char *) "flag", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17413 arg2 = PyInt_AsLong(obj1) ? true : false;
17414 if (PyErr_Occurred()) SWIG_fail;
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 (arg1)->SetSetupDialog(arg2);
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 Py_INCREF(Py_None); resultobj = Py_None;
17423 return resultobj;
17424 fail:
17425 return NULL;
17426 }
17427
17428
17429 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17432 bool arg2 ;
17433 PyObject * obj0 = 0 ;
17434 PyObject * obj1 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self",(char *) "flag", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17441 arg2 = PyInt_AsLong(obj1) ? true : false;
17442 if (PyErr_Occurred()) SWIG_fail;
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 (arg1)->EnablePrintToFile(arg2);
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 Py_INCREF(Py_None); resultobj = Py_None;
17451 return resultobj;
17452 fail:
17453 return NULL;
17454 }
17455
17456
17457 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17460 bool arg2 ;
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self",(char *) "flag", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17469 arg2 = PyInt_AsLong(obj1) ? true : false;
17470 if (PyErr_Occurred()) SWIG_fail;
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 (arg1)->EnableSelection(arg2);
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 Py_INCREF(Py_None); resultobj = Py_None;
17479 return resultobj;
17480 fail:
17481 return NULL;
17482 }
17483
17484
17485 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj;
17487 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17488 bool arg2 ;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj1 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self",(char *) "flag", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17497 arg2 = PyInt_AsLong(obj1) ? true : false;
17498 if (PyErr_Occurred()) SWIG_fail;
17499 {
17500 PyThreadState* __tstate = wxPyBeginAllowThreads();
17501 (arg1)->EnablePageNumbers(arg2);
17502
17503 wxPyEndAllowThreads(__tstate);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 Py_INCREF(Py_None); resultobj = Py_None;
17507 return resultobj;
17508 fail:
17509 return NULL;
17510 }
17511
17512
17513 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17514 PyObject *resultobj;
17515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17516 bool arg2 ;
17517 PyObject * obj0 = 0 ;
17518 PyObject * obj1 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self",(char *) "flag", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17525 arg2 = PyInt_AsLong(obj1) ? true : false;
17526 if (PyErr_Occurred()) SWIG_fail;
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 (arg1)->EnableHelp(arg2);
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 Py_INCREF(Py_None); resultobj = Py_None;
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17542 PyObject *resultobj;
17543 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17544 bool result;
17545 PyObject * obj0 = 0 ;
17546 char *kwnames[] = {
17547 (char *) "self", NULL
17548 };
17549
17550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 resultobj = PyInt_FromLong((long)result);
17560 return resultobj;
17561 fail:
17562 return NULL;
17563 }
17564
17565
17566 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17567 PyObject *resultobj;
17568 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17569 bool result;
17570 PyObject * obj0 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 resultobj = PyInt_FromLong((long)result);
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17594 bool result;
17595 PyObject * obj0 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 resultobj = PyInt_FromLong((long)result);
17610 return resultobj;
17611 fail:
17612 return NULL;
17613 }
17614
17615
17616 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17619 bool result;
17620 PyObject * obj0 = 0 ;
17621 char *kwnames[] = {
17622 (char *) "self", NULL
17623 };
17624
17625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 resultobj = PyInt_FromLong((long)result);
17635 return resultobj;
17636 fail:
17637 return NULL;
17638 }
17639
17640
17641 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17644 bool result;
17645 PyObject * obj0 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "self", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17652 {
17653 PyThreadState* __tstate = wxPyBeginAllowThreads();
17654 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17655
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 resultobj = PyInt_FromLong((long)result);
17660 return resultobj;
17661 fail:
17662 return NULL;
17663 }
17664
17665
17666 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17667 PyObject *resultobj;
17668 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17669 wxPrintData *result;
17670 PyObject * obj0 = 0 ;
17671 char *kwnames[] = {
17672 (char *) "self", NULL
17673 };
17674
17675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 {
17680 wxPrintData &_result_ref = (arg1)->GetPrintData();
17681 result = (wxPrintData *) &_result_ref;
17682 }
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17688 return resultobj;
17689 fail:
17690 return NULL;
17691 }
17692
17693
17694 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17695 PyObject *resultobj;
17696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17697 wxPrintData *arg2 = 0 ;
17698 PyObject * obj0 = 0 ;
17699 PyObject * obj1 = 0 ;
17700 char *kwnames[] = {
17701 (char *) "self",(char *) "printData", NULL
17702 };
17703
17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17707 if (arg2 == NULL) {
17708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17709 }
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 Py_INCREF(Py_None); resultobj = Py_None;
17718 return resultobj;
17719 fail:
17720 return NULL;
17721 }
17722
17723
17724 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17725 PyObject *obj;
17726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17727 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17728 Py_INCREF(obj);
17729 return Py_BuildValue((char *)"");
17730 }
17731 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17732 PyObject *resultobj;
17733 wxWindow *arg1 = (wxWindow *) 0 ;
17734 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17735 wxPrintDialog *result;
17736 PyObject * obj0 = 0 ;
17737 PyObject * obj1 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "parent",(char *) "data", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17744 if (obj1) {
17745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17746 }
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17755 return resultobj;
17756 fail:
17757 return NULL;
17758 }
17759
17760
17761 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17764 wxPrintDialogData *result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 {
17775 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17776 result = (wxPrintDialogData *) &_result_ref;
17777 }
17778
17779 wxPyEndAllowThreads(__tstate);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 }
17782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17790 PyObject *resultobj;
17791 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17792 wxDC *result;
17793 PyObject * obj0 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 result = (wxDC *)(arg1)->GetPrintDC();
17803
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 {
17808 resultobj = wxPyMake_wxObject(result);
17809 }
17810 return resultobj;
17811 fail:
17812 return NULL;
17813 }
17814
17815
17816 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17819 int result;
17820 PyObject * obj0 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17827 {
17828 PyThreadState* __tstate = wxPyBeginAllowThreads();
17829 result = (int)(arg1)->ShowModal();
17830
17831 wxPyEndAllowThreads(__tstate);
17832 if (PyErr_Occurred()) SWIG_fail;
17833 }
17834 resultobj = PyInt_FromLong((long)result);
17835 return resultobj;
17836 fail:
17837 return NULL;
17838 }
17839
17840
17841 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17842 PyObject *obj;
17843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17844 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17845 Py_INCREF(obj);
17846 return Py_BuildValue((char *)"");
17847 }
17848 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17849 PyObject *resultobj;
17850 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17851 wxPrinter *result;
17852 PyObject * obj0 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "data", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17858 if (obj0) {
17859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17860 }
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (wxPrinter *)new wxPrinter(arg1);
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17869 return resultobj;
17870 fail:
17871 return NULL;
17872 }
17873
17874
17875 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17876 PyObject *resultobj;
17877 wxPrinter *arg1 = (wxPrinter *) 0 ;
17878 PyObject * obj0 = 0 ;
17879 char *kwnames[] = {
17880 (char *) "self", NULL
17881 };
17882
17883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17885 {
17886 PyThreadState* __tstate = wxPyBeginAllowThreads();
17887 delete arg1;
17888
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 Py_INCREF(Py_None); resultobj = Py_None;
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj;
17901 wxPrinter *arg1 = (wxPrinter *) 0 ;
17902 wxWindow *arg2 = (wxWindow *) 0 ;
17903 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17904 PyObject * obj0 = 0 ;
17905 PyObject * obj1 = 0 ;
17906 PyObject * obj2 = 0 ;
17907 char *kwnames[] = {
17908 (char *) "self",(char *) "parent",(char *) "printout", NULL
17909 };
17910
17911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17913 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17914 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 (arg1)->CreateAbortWindow(arg2,arg3);
17918
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 Py_INCREF(Py_None); resultobj = Py_None;
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxPrinter *arg1 = (wxPrinter *) 0 ;
17932 wxPrintDialogData *result;
17933 PyObject * obj0 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 {
17943 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17944 result = (wxPrintDialogData *) &_result_ref;
17945 }
17946
17947 wxPyEndAllowThreads(__tstate);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 }
17950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17951 return resultobj;
17952 fail:
17953 return NULL;
17954 }
17955
17956
17957 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxPrinter *arg1 = (wxPrinter *) 0 ;
17960 wxWindow *arg2 = (wxWindow *) 0 ;
17961 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17962 int arg4 = (int) TRUE ;
17963 bool result;
17964 PyObject * obj0 = 0 ;
17965 PyObject * obj1 = 0 ;
17966 PyObject * obj2 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17974 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 resultobj = PyInt_FromLong((long)result);
17983 return resultobj;
17984 fail:
17985 return NULL;
17986 }
17987
17988
17989 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17990 PyObject *resultobj;
17991 wxPrinter *arg1 = (wxPrinter *) 0 ;
17992 wxWindow *arg2 = (wxWindow *) 0 ;
17993 wxDC *result;
17994 PyObject * obj0 = 0 ;
17995 PyObject * obj1 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self",(char *) "parent", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 result = (wxDC *)(arg1)->PrintDialog(arg2);
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 {
18011 resultobj = wxPyMake_wxObject(result);
18012 }
18013 return resultobj;
18014 fail:
18015 return NULL;
18016 }
18017
18018
18019 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18020 PyObject *resultobj;
18021 wxPrinter *arg1 = (wxPrinter *) 0 ;
18022 wxWindow *arg2 = (wxWindow *) 0 ;
18023 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18024 wxString *arg4 = 0 ;
18025 bool temp4 = false ;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028 PyObject * obj2 = 0 ;
18029 PyObject * obj3 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18037 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18038 {
18039 arg4 = wxString_in_helper(obj3);
18040 if (arg4 == NULL) SWIG_fail;
18041 temp4 = true;
18042 }
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 Py_INCREF(Py_None); resultobj = Py_None;
18051 {
18052 if (temp4)
18053 delete arg4;
18054 }
18055 return resultobj;
18056 fail:
18057 {
18058 if (temp4)
18059 delete arg4;
18060 }
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxPrinter *arg1 = (wxPrinter *) 0 ;
18068 wxWindow *arg2 = (wxWindow *) 0 ;
18069 bool result;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "parent", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18079 {
18080 PyThreadState* __tstate = wxPyBeginAllowThreads();
18081 result = (bool)(arg1)->Setup(arg2);
18082
18083 wxPyEndAllowThreads(__tstate);
18084 if (PyErr_Occurred()) SWIG_fail;
18085 }
18086 resultobj = PyInt_FromLong((long)result);
18087 return resultobj;
18088 fail:
18089 return NULL;
18090 }
18091
18092
18093 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxPrinter *arg1 = (wxPrinter *) 0 ;
18096 bool result;
18097 PyObject * obj0 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (bool)(arg1)->GetAbort();
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 resultobj = PyInt_FromLong((long)result);
18112 return resultobj;
18113 fail:
18114 return NULL;
18115 }
18116
18117
18118 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 int result;
18121 char *kwnames[] = {
18122 NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 result = (int)wxPrinter::GetLastError();
18129
18130 wxPyEndAllowThreads(__tstate);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 resultobj = PyInt_FromLong((long)result);
18134 return resultobj;
18135 fail:
18136 return NULL;
18137 }
18138
18139
18140 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18141 PyObject *obj;
18142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18143 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18144 Py_INCREF(obj);
18145 return Py_BuildValue((char *)"");
18146 }
18147 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18148 PyObject *resultobj;
18149 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18150 wxString *arg1 = (wxString *) &arg1_defvalue ;
18151 wxPyPrintout *result;
18152 bool temp1 = false ;
18153 PyObject * obj0 = 0 ;
18154 char *kwnames[] = {
18155 (char *) "title", NULL
18156 };
18157
18158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18159 if (obj0) {
18160 {
18161 arg1 = wxString_in_helper(obj0);
18162 if (arg1 == NULL) SWIG_fail;
18163 temp1 = true;
18164 }
18165 }
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
18168 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18169
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 {
18174 resultobj = wxPyMake_wxObject(result);
18175 }
18176 {
18177 if (temp1)
18178 delete arg1;
18179 }
18180 return resultobj;
18181 fail:
18182 {
18183 if (temp1)
18184 delete arg1;
18185 }
18186 return NULL;
18187 }
18188
18189
18190 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj;
18192 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18193 PyObject *arg2 = (PyObject *) 0 ;
18194 PyObject *arg3 = (PyObject *) 0 ;
18195 PyObject * obj0 = 0 ;
18196 PyObject * obj1 = 0 ;
18197 PyObject * obj2 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self",(char *) "self",(char *) "_class", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18204 arg2 = obj1;
18205 arg3 = obj2;
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 (arg1)->_setCallbackInfo(arg2,arg3);
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 Py_INCREF(Py_None); resultobj = Py_None;
18214 return resultobj;
18215 fail:
18216 return NULL;
18217 }
18218
18219
18220 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18221 PyObject *resultobj;
18222 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18223 wxString result;
18224 PyObject * obj0 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "self", NULL
18227 };
18228
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 result = ((wxPyPrintout const *)arg1)->GetTitle();
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 {
18239 #if wxUSE_UNICODE
18240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18241 #else
18242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18243 #endif
18244 }
18245 return resultobj;
18246 fail:
18247 return NULL;
18248 }
18249
18250
18251 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj;
18253 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18254 wxDC *result;
18255 PyObject * obj0 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 result = (wxDC *)(arg1)->GetDC();
18265
18266 wxPyEndAllowThreads(__tstate);
18267 if (PyErr_Occurred()) SWIG_fail;
18268 }
18269 {
18270 resultobj = wxPyMake_wxObject(result);
18271 }
18272 return resultobj;
18273 fail:
18274 return NULL;
18275 }
18276
18277
18278 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18279 PyObject *resultobj;
18280 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18281 wxDC *arg2 = (wxDC *) 0 ;
18282 PyObject * obj0 = 0 ;
18283 PyObject * obj1 = 0 ;
18284 char *kwnames[] = {
18285 (char *) "self",(char *) "dc", NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18290 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18291 {
18292 PyThreadState* __tstate = wxPyBeginAllowThreads();
18293 (arg1)->SetDC(arg2);
18294
18295 wxPyEndAllowThreads(__tstate);
18296 if (PyErr_Occurred()) SWIG_fail;
18297 }
18298 Py_INCREF(Py_None); resultobj = Py_None;
18299 return resultobj;
18300 fail:
18301 return NULL;
18302 }
18303
18304
18305 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18306 PyObject *resultobj;
18307 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18308 int *arg2 = (int *) 0 ;
18309 int *arg3 = (int *) 0 ;
18310 int temp2 ;
18311 int temp3 ;
18312 PyObject * obj0 = 0 ;
18313 char *kwnames[] = {
18314 (char *) "self", NULL
18315 };
18316
18317 arg2 = &temp2;
18318 arg3 = &temp3;
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18321 {
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 (arg1)->GetPageSizePixels(arg2,arg3);
18324
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 Py_INCREF(Py_None); resultobj = Py_None;
18329 {
18330 PyObject *o = PyInt_FromLong((long) (*arg2));
18331 resultobj = t_output_helper(resultobj,o);
18332 }
18333 {
18334 PyObject *o = PyInt_FromLong((long) (*arg3));
18335 resultobj = t_output_helper(resultobj,o);
18336 }
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18344 PyObject *resultobj;
18345 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18346 int arg2 ;
18347 int arg3 ;
18348 PyObject * obj0 = 0 ;
18349 char *kwnames[] = {
18350 (char *) "self",(char *) "w",(char *) "h", NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18355 {
18356 PyThreadState* __tstate = wxPyBeginAllowThreads();
18357 (arg1)->SetPageSizePixels(arg2,arg3);
18358
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 Py_INCREF(Py_None); resultobj = Py_None;
18363 return resultobj;
18364 fail:
18365 return NULL;
18366 }
18367
18368
18369 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18370 PyObject *resultobj;
18371 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18372 int arg2 ;
18373 int arg3 ;
18374 PyObject * obj0 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self",(char *) "w",(char *) "h", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 (arg1)->SetPageSizeMM(arg2,arg3);
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 Py_INCREF(Py_None); resultobj = Py_None;
18389 return resultobj;
18390 fail:
18391 return NULL;
18392 }
18393
18394
18395 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18398 int *arg2 = (int *) 0 ;
18399 int *arg3 = (int *) 0 ;
18400 int temp2 ;
18401 int temp3 ;
18402 PyObject * obj0 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self", NULL
18405 };
18406
18407 arg2 = &temp2;
18408 arg3 = &temp3;
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 (arg1)->GetPageSizeMM(arg2,arg3);
18414
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 Py_INCREF(Py_None); resultobj = Py_None;
18419 {
18420 PyObject *o = PyInt_FromLong((long) (*arg2));
18421 resultobj = t_output_helper(resultobj,o);
18422 }
18423 {
18424 PyObject *o = PyInt_FromLong((long) (*arg3));
18425 resultobj = t_output_helper(resultobj,o);
18426 }
18427 return resultobj;
18428 fail:
18429 return NULL;
18430 }
18431
18432
18433 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18434 PyObject *resultobj;
18435 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18436 int arg2 ;
18437 int arg3 ;
18438 PyObject * obj0 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self",(char *) "x",(char *) "y", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 (arg1)->SetPPIScreen(arg2,arg3);
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 Py_INCREF(Py_None); resultobj = Py_None;
18453 return resultobj;
18454 fail:
18455 return NULL;
18456 }
18457
18458
18459 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18462 int *arg2 = (int *) 0 ;
18463 int *arg3 = (int *) 0 ;
18464 int temp2 ;
18465 int temp3 ;
18466 PyObject * obj0 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self", NULL
18469 };
18470
18471 arg2 = &temp2;
18472 arg3 = &temp3;
18473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 (arg1)->GetPPIScreen(arg2,arg3);
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 Py_INCREF(Py_None); resultobj = Py_None;
18483 {
18484 PyObject *o = PyInt_FromLong((long) (*arg2));
18485 resultobj = t_output_helper(resultobj,o);
18486 }
18487 {
18488 PyObject *o = PyInt_FromLong((long) (*arg3));
18489 resultobj = t_output_helper(resultobj,o);
18490 }
18491 return resultobj;
18492 fail:
18493 return NULL;
18494 }
18495
18496
18497 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18498 PyObject *resultobj;
18499 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18500 int arg2 ;
18501 int arg3 ;
18502 PyObject * obj0 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self",(char *) "x",(char *) "y", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 (arg1)->SetPPIPrinter(arg2,arg3);
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 Py_INCREF(Py_None); resultobj = Py_None;
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18526 int *arg2 = (int *) 0 ;
18527 int *arg3 = (int *) 0 ;
18528 int temp2 ;
18529 int temp3 ;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self", NULL
18533 };
18534
18535 arg2 = &temp2;
18536 arg3 = &temp3;
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 (arg1)->GetPPIPrinter(arg2,arg3);
18542
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
18546 Py_INCREF(Py_None); resultobj = Py_None;
18547 {
18548 PyObject *o = PyInt_FromLong((long) (*arg2));
18549 resultobj = t_output_helper(resultobj,o);
18550 }
18551 {
18552 PyObject *o = PyInt_FromLong((long) (*arg3));
18553 resultobj = t_output_helper(resultobj,o);
18554 }
18555 return resultobj;
18556 fail:
18557 return NULL;
18558 }
18559
18560
18561 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18562 PyObject *resultobj;
18563 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18564 bool result;
18565 PyObject * obj0 = 0 ;
18566 char *kwnames[] = {
18567 (char *) "self", NULL
18568 };
18569
18570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 result = (bool)(arg1)->IsPreview();
18575
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
18579 resultobj = PyInt_FromLong((long)result);
18580 return resultobj;
18581 fail:
18582 return NULL;
18583 }
18584
18585
18586 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18587 PyObject *resultobj;
18588 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18589 bool arg2 ;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self",(char *) "p", NULL
18594 };
18595
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18598 arg2 = PyInt_AsLong(obj1) ? true : false;
18599 if (PyErr_Occurred()) SWIG_fail;
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 (arg1)->SetIsPreview(arg2);
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 Py_INCREF(Py_None); resultobj = Py_None;
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj;
18616 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18617 int arg2 ;
18618 int arg3 ;
18619 bool result;
18620 PyObject * obj0 = 0 ;
18621 char *kwnames[] = {
18622 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18623 };
18624
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 resultobj = PyInt_FromLong((long)result);
18635 return resultobj;
18636 fail:
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18644 PyObject * obj0 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 (arg1)->base_OnEndDocument();
18654
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 Py_INCREF(Py_None); resultobj = Py_None;
18659 return resultobj;
18660 fail:
18661 return NULL;
18662 }
18663
18664
18665 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18666 PyObject *resultobj;
18667 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18668 PyObject * obj0 = 0 ;
18669 char *kwnames[] = {
18670 (char *) "self", NULL
18671 };
18672
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 (arg1)->base_OnBeginPrinting();
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
18682 Py_INCREF(Py_None); resultobj = Py_None;
18683 return resultobj;
18684 fail:
18685 return NULL;
18686 }
18687
18688
18689 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18690 PyObject *resultobj;
18691 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18692 PyObject * obj0 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 (arg1)->base_OnEndPrinting();
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18716 PyObject * obj0 = 0 ;
18717 char *kwnames[] = {
18718 (char *) "self", NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 (arg1)->base_OnPreparePrinting();
18726
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 Py_INCREF(Py_None); resultobj = Py_None;
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj;
18739 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18740 int *arg2 = (int *) 0 ;
18741 int *arg3 = (int *) 0 ;
18742 int *arg4 = (int *) 0 ;
18743 int *arg5 = (int *) 0 ;
18744 int temp2 ;
18745 int temp3 ;
18746 int temp4 ;
18747 int temp5 ;
18748 PyObject * obj0 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self", NULL
18751 };
18752
18753 arg2 = &temp2;
18754 arg3 = &temp3;
18755 arg4 = &temp4;
18756 arg5 = &temp5;
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18762
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 Py_INCREF(Py_None); resultobj = Py_None;
18767 {
18768 PyObject *o = PyInt_FromLong((long) (*arg2));
18769 resultobj = t_output_helper(resultobj,o);
18770 }
18771 {
18772 PyObject *o = PyInt_FromLong((long) (*arg3));
18773 resultobj = t_output_helper(resultobj,o);
18774 }
18775 {
18776 PyObject *o = PyInt_FromLong((long) (*arg4));
18777 resultobj = t_output_helper(resultobj,o);
18778 }
18779 {
18780 PyObject *o = PyInt_FromLong((long) (*arg5));
18781 resultobj = t_output_helper(resultobj,o);
18782 }
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18792 int arg2 ;
18793 bool result;
18794 PyObject * obj0 = 0 ;
18795 char *kwnames[] = {
18796 (char *) "self",(char *) "page", NULL
18797 };
18798
18799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (bool)(arg1)->base_HasPage(arg2);
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 resultobj = PyInt_FromLong((long)result);
18809 return resultobj;
18810 fail:
18811 return NULL;
18812 }
18813
18814
18815 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18816 PyObject *obj;
18817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18818 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18819 Py_INCREF(obj);
18820 return Py_BuildValue((char *)"");
18821 }
18822 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18825 wxWindow *arg2 = (wxWindow *) 0 ;
18826 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18827 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18828 wxSize const &arg4_defvalue = wxDefaultSize ;
18829 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18830 long arg5 = (long) 0 ;
18831 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18832 wxString *arg6 = (wxString *) &arg6_defvalue ;
18833 wxPreviewCanvas *result;
18834 wxPoint temp3 ;
18835 wxSize temp4 ;
18836 bool temp6 = false ;
18837 PyObject * obj0 = 0 ;
18838 PyObject * obj1 = 0 ;
18839 PyObject * obj2 = 0 ;
18840 PyObject * obj3 = 0 ;
18841 PyObject * obj5 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18849 if (obj2) {
18850 {
18851 arg3 = &temp3;
18852 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18853 }
18854 }
18855 if (obj3) {
18856 {
18857 arg4 = &temp4;
18858 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18859 }
18860 }
18861 if (obj5) {
18862 {
18863 arg6 = wxString_in_helper(obj5);
18864 if (arg6 == NULL) SWIG_fail;
18865 temp6 = true;
18866 }
18867 }
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18871
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18876 {
18877 if (temp6)
18878 delete arg6;
18879 }
18880 return resultobj;
18881 fail:
18882 {
18883 if (temp6)
18884 delete arg6;
18885 }
18886 return NULL;
18887 }
18888
18889
18890 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18891 PyObject *obj;
18892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18893 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18894 Py_INCREF(obj);
18895 return Py_BuildValue((char *)"");
18896 }
18897 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18900 wxFrame *arg2 = (wxFrame *) 0 ;
18901 wxString *arg3 = 0 ;
18902 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18903 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18904 wxSize const &arg5_defvalue = wxDefaultSize ;
18905 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18906 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18907 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18908 wxString *arg7 = (wxString *) &arg7_defvalue ;
18909 wxPreviewFrame *result;
18910 bool temp3 = false ;
18911 wxPoint temp4 ;
18912 wxSize temp5 ;
18913 bool temp7 = false ;
18914 PyObject * obj0 = 0 ;
18915 PyObject * obj1 = 0 ;
18916 PyObject * obj2 = 0 ;
18917 PyObject * obj3 = 0 ;
18918 PyObject * obj4 = 0 ;
18919 PyObject * obj6 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18927 {
18928 arg3 = wxString_in_helper(obj2);
18929 if (arg3 == NULL) SWIG_fail;
18930 temp3 = true;
18931 }
18932 if (obj3) {
18933 {
18934 arg4 = &temp4;
18935 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18936 }
18937 }
18938 if (obj4) {
18939 {
18940 arg5 = &temp5;
18941 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18942 }
18943 }
18944 if (obj6) {
18945 {
18946 arg7 = wxString_in_helper(obj6);
18947 if (arg7 == NULL) SWIG_fail;
18948 temp7 = true;
18949 }
18950 }
18951 {
18952 PyThreadState* __tstate = wxPyBeginAllowThreads();
18953 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18954
18955 wxPyEndAllowThreads(__tstate);
18956 if (PyErr_Occurred()) SWIG_fail;
18957 }
18958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18959 {
18960 if (temp3)
18961 delete arg3;
18962 }
18963 {
18964 if (temp7)
18965 delete arg7;
18966 }
18967 return resultobj;
18968 fail:
18969 {
18970 if (temp3)
18971 delete arg3;
18972 }
18973 {
18974 if (temp7)
18975 delete arg7;
18976 }
18977 return NULL;
18978 }
18979
18980
18981 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18984 PyObject * obj0 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 (arg1)->Initialize();
18994
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 Py_INCREF(Py_None); resultobj = Py_None;
18999 return resultobj;
19000 fail:
19001 return NULL;
19002 }
19003
19004
19005 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19008 PyObject * obj0 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19015 {
19016 PyThreadState* __tstate = wxPyBeginAllowThreads();
19017 (arg1)->CreateControlBar();
19018
19019 wxPyEndAllowThreads(__tstate);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
19022 Py_INCREF(Py_None); resultobj = Py_None;
19023 return resultobj;
19024 fail:
19025 return NULL;
19026 }
19027
19028
19029 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19030 PyObject *resultobj;
19031 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19032 PyObject * obj0 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 (arg1)->CreateCanvas();
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 Py_INCREF(Py_None); resultobj = Py_None;
19047 return resultobj;
19048 fail:
19049 return NULL;
19050 }
19051
19052
19053 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19054 PyObject *resultobj;
19055 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19056 wxPreviewControlBar *result;
19057 PyObject * obj0 = 0 ;
19058 char *kwnames[] = {
19059 (char *) "self", NULL
19060 };
19061
19062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19072 return resultobj;
19073 fail:
19074 return NULL;
19075 }
19076
19077
19078 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19079 PyObject *obj;
19080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19081 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19082 Py_INCREF(obj);
19083 return Py_BuildValue((char *)"");
19084 }
19085 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19086 PyObject *resultobj;
19087 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19088 long arg2 ;
19089 wxWindow *arg3 = (wxWindow *) 0 ;
19090 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19091 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19092 wxSize const &arg5_defvalue = wxDefaultSize ;
19093 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19094 long arg6 = (long) wxTAB_TRAVERSAL ;
19095 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19096 wxString *arg7 = (wxString *) &arg7_defvalue ;
19097 wxPreviewControlBar *result;
19098 wxPoint temp4 ;
19099 wxSize temp5 ;
19100 bool temp7 = false ;
19101 PyObject * obj0 = 0 ;
19102 PyObject * obj2 = 0 ;
19103 PyObject * obj3 = 0 ;
19104 PyObject * obj4 = 0 ;
19105 PyObject * obj6 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19112 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19113 if (obj3) {
19114 {
19115 arg4 = &temp4;
19116 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19117 }
19118 }
19119 if (obj4) {
19120 {
19121 arg5 = &temp5;
19122 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19123 }
19124 }
19125 if (obj6) {
19126 {
19127 arg7 = wxString_in_helper(obj6);
19128 if (arg7 == NULL) SWIG_fail;
19129 temp7 = true;
19130 }
19131 }
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19140 {
19141 if (temp7)
19142 delete arg7;
19143 }
19144 return resultobj;
19145 fail:
19146 {
19147 if (temp7)
19148 delete arg7;
19149 }
19150 return NULL;
19151 }
19152
19153
19154 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19155 PyObject *resultobj;
19156 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19157 int result;
19158 PyObject * obj0 = 0 ;
19159 char *kwnames[] = {
19160 (char *) "self", NULL
19161 };
19162
19163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19165 {
19166 PyThreadState* __tstate = wxPyBeginAllowThreads();
19167 result = (int)(arg1)->GetZoomControl();
19168
19169 wxPyEndAllowThreads(__tstate);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 }
19172 resultobj = PyInt_FromLong((long)result);
19173 return resultobj;
19174 fail:
19175 return NULL;
19176 }
19177
19178
19179 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19182 int arg2 ;
19183 PyObject * obj0 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self",(char *) "zoom", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 (arg1)->SetZoomControl(arg2);
19193
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 Py_INCREF(Py_None); resultobj = Py_None;
19198 return resultobj;
19199 fail:
19200 return NULL;
19201 }
19202
19203
19204 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj;
19206 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19207 wxPrintPreview *result;
19208 PyObject * obj0 = 0 ;
19209 char *kwnames[] = {
19210 (char *) "self", NULL
19211 };
19212
19213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19215 {
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19218
19219 wxPyEndAllowThreads(__tstate);
19220 if (PyErr_Occurred()) SWIG_fail;
19221 }
19222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19223 return resultobj;
19224 fail:
19225 return NULL;
19226 }
19227
19228
19229 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19230 PyObject *resultobj;
19231 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19232 PyObject * obj0 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 (arg1)->OnNext();
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
19247 return resultobj;
19248 fail:
19249 return NULL;
19250 }
19251
19252
19253 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19256 PyObject * obj0 = 0 ;
19257 char *kwnames[] = {
19258 (char *) "self", NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 (arg1)->OnPrevious();
19266
19267 wxPyEndAllowThreads(__tstate);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 }
19270 Py_INCREF(Py_None); resultobj = Py_None;
19271 return resultobj;
19272 fail:
19273 return NULL;
19274 }
19275
19276
19277 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19278 PyObject *resultobj;
19279 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19280 PyObject * obj0 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19287 {
19288 PyThreadState* __tstate = wxPyBeginAllowThreads();
19289 (arg1)->OnFirst();
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 Py_INCREF(Py_None); resultobj = Py_None;
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19304 PyObject * obj0 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 (arg1)->OnLast();
19314
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
19318 Py_INCREF(Py_None); resultobj = Py_None;
19319 return resultobj;
19320 fail:
19321 return NULL;
19322 }
19323
19324
19325 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19328 PyObject * obj0 = 0 ;
19329 char *kwnames[] = {
19330 (char *) "self", NULL
19331 };
19332
19333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19335 {
19336 PyThreadState* __tstate = wxPyBeginAllowThreads();
19337 (arg1)->OnGoto();
19338
19339 wxPyEndAllowThreads(__tstate);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 }
19342 Py_INCREF(Py_None); resultobj = Py_None;
19343 return resultobj;
19344 fail:
19345 return NULL;
19346 }
19347
19348
19349 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19350 PyObject *obj;
19351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19353 Py_INCREF(obj);
19354 return Py_BuildValue((char *)"");
19355 }
19356 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19359 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19360 wxPrintData *arg3 = (wxPrintData *) NULL ;
19361 wxPrintPreview *result;
19362 PyObject * obj0 = 0 ;
19363 PyObject * obj1 = 0 ;
19364 PyObject * obj2 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19372 if (obj2) {
19373 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19374 }
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19383 return resultobj;
19384 fail:
19385 return NULL;
19386 }
19387
19388
19389 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj;
19391 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19392 int arg2 ;
19393 bool result;
19394 PyObject * obj0 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self",(char *) "pageNum", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19403 result = (bool)(arg1)->SetCurrentPage(arg2);
19404
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 resultobj = PyInt_FromLong((long)result);
19409 return resultobj;
19410 fail:
19411 return NULL;
19412 }
19413
19414
19415 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj;
19417 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19418 int result;
19419 PyObject * obj0 = 0 ;
19420 char *kwnames[] = {
19421 (char *) "self", NULL
19422 };
19423
19424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19426 {
19427 PyThreadState* __tstate = wxPyBeginAllowThreads();
19428 result = (int)(arg1)->GetCurrentPage();
19429
19430 wxPyEndAllowThreads(__tstate);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
19433 resultobj = PyInt_FromLong((long)result);
19434 return resultobj;
19435 fail:
19436 return NULL;
19437 }
19438
19439
19440 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19443 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19444 PyObject * obj0 = 0 ;
19445 PyObject * obj1 = 0 ;
19446 char *kwnames[] = {
19447 (char *) "self",(char *) "printout", NULL
19448 };
19449
19450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 (arg1)->SetPrintout(arg2);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 Py_INCREF(Py_None); resultobj = Py_None;
19461 return resultobj;
19462 fail:
19463 return NULL;
19464 }
19465
19466
19467 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19470 wxPyPrintout *result;
19471 PyObject * obj0 = 0 ;
19472 char *kwnames[] = {
19473 (char *) "self", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 result = (wxPyPrintout *)(arg1)->GetPrintout();
19481
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 {
19486 resultobj = wxPyMake_wxObject(result);
19487 }
19488 return resultobj;
19489 fail:
19490 return NULL;
19491 }
19492
19493
19494 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19495 PyObject *resultobj;
19496 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19497 wxPyPrintout *result;
19498 PyObject * obj0 = 0 ;
19499 char *kwnames[] = {
19500 (char *) "self", NULL
19501 };
19502
19503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
19507 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 {
19513 resultobj = wxPyMake_wxObject(result);
19514 }
19515 return resultobj;
19516 fail:
19517 return NULL;
19518 }
19519
19520
19521 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19522 PyObject *resultobj;
19523 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19524 wxFrame *arg2 = (wxFrame *) 0 ;
19525 PyObject * obj0 = 0 ;
19526 PyObject * obj1 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self",(char *) "frame", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 (arg1)->SetFrame(arg2);
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
19541 Py_INCREF(Py_None); resultobj = Py_None;
19542 return resultobj;
19543 fail:
19544 return NULL;
19545 }
19546
19547
19548 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj;
19550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19551 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19552 PyObject * obj0 = 0 ;
19553 PyObject * obj1 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self",(char *) "canvas", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 (arg1)->SetCanvas(arg2);
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 Py_INCREF(Py_None); resultobj = Py_None;
19569 return resultobj;
19570 fail:
19571 return NULL;
19572 }
19573
19574
19575 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19578 wxFrame *result;
19579 PyObject * obj0 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (wxFrame *)(arg1)->GetFrame();
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
19594 resultobj = wxPyMake_wxObject(result);
19595 }
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19605 wxPreviewCanvas *result;
19606 PyObject * obj0 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19613 {
19614 PyThreadState* __tstate = wxPyBeginAllowThreads();
19615 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19616
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19621 return resultobj;
19622 fail:
19623 return NULL;
19624 }
19625
19626
19627 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19628 PyObject *resultobj;
19629 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19630 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19631 wxDC *arg3 = 0 ;
19632 bool result;
19633 PyObject * obj0 = 0 ;
19634 PyObject * obj1 = 0 ;
19635 PyObject * obj2 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19643 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19644 if (arg3 == NULL) {
19645 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19646 }
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 resultobj = PyInt_FromLong((long)result);
19655 return resultobj;
19656 fail:
19657 return NULL;
19658 }
19659
19660
19661 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19664 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19665 wxDC *arg3 = 0 ;
19666 bool result;
19667 PyObject * obj0 = 0 ;
19668 PyObject * obj1 = 0 ;
19669 PyObject * obj2 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19677 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19678 if (arg3 == NULL) {
19679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19680 }
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 resultobj = PyInt_FromLong((long)result);
19689 return resultobj;
19690 fail:
19691 return NULL;
19692 }
19693
19694
19695 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj;
19697 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19698 int arg2 ;
19699 bool result;
19700 PyObject * obj0 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self",(char *) "pageNum", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (bool)(arg1)->RenderPage(arg2);
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = PyInt_FromLong((long)result);
19715 return resultobj;
19716 fail:
19717 return NULL;
19718 }
19719
19720
19721 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19722 PyObject *resultobj;
19723 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19724 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "canvas", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
19736 (arg1)->AdjustScrollbars(arg2);
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 Py_INCREF(Py_None); resultobj = Py_None;
19742 return resultobj;
19743 fail:
19744 return NULL;
19745 }
19746
19747
19748 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj;
19750 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19751 wxPrintDialogData *result;
19752 PyObject * obj0 = 0 ;
19753 char *kwnames[] = {
19754 (char *) "self", NULL
19755 };
19756
19757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 {
19762 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19763 result = (wxPrintDialogData *) &_result_ref;
19764 }
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19770 return resultobj;
19771 fail:
19772 return NULL;
19773 }
19774
19775
19776 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj;
19778 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19779 int arg2 ;
19780 PyObject * obj0 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self",(char *) "percent", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 (arg1)->SetZoom(arg2);
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 Py_INCREF(Py_None); resultobj = Py_None;
19795 return resultobj;
19796 fail:
19797 return NULL;
19798 }
19799
19800
19801 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj;
19803 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19804 int result;
19805 PyObject * obj0 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 result = (int)(arg1)->GetZoom();
19815
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 resultobj = PyInt_FromLong((long)result);
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj;
19828 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19829 int result;
19830 PyObject * obj0 = 0 ;
19831 char *kwnames[] = {
19832 (char *) "self", NULL
19833 };
19834
19835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19837 {
19838 PyThreadState* __tstate = wxPyBeginAllowThreads();
19839 result = (int)(arg1)->GetMaxPage();
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 resultobj = PyInt_FromLong((long)result);
19845 return resultobj;
19846 fail:
19847 return NULL;
19848 }
19849
19850
19851 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19852 PyObject *resultobj;
19853 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19854 int result;
19855 PyObject * obj0 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19862 {
19863 PyThreadState* __tstate = wxPyBeginAllowThreads();
19864 result = (int)(arg1)->GetMinPage();
19865
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 resultobj = PyInt_FromLong((long)result);
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj;
19878 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19879 bool result;
19880 PyObject * obj0 = 0 ;
19881 char *kwnames[] = {
19882 (char *) "self", NULL
19883 };
19884
19885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19887 {
19888 PyThreadState* __tstate = wxPyBeginAllowThreads();
19889 result = (bool)(arg1)->Ok();
19890
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 resultobj = PyInt_FromLong((long)result);
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj;
19903 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19904 bool arg2 ;
19905 PyObject * obj0 = 0 ;
19906 PyObject * obj1 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self",(char *) "ok", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19913 arg2 = PyInt_AsLong(obj1) ? true : false;
19914 if (PyErr_Occurred()) SWIG_fail;
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 (arg1)->SetOk(arg2);
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 Py_INCREF(Py_None); resultobj = Py_None;
19923 return resultobj;
19924 fail:
19925 return NULL;
19926 }
19927
19928
19929 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19932 bool arg2 ;
19933 bool result;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "self",(char *) "interactive", NULL
19938 };
19939
19940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19942 arg2 = PyInt_AsLong(obj1) ? true : false;
19943 if (PyErr_Occurred()) SWIG_fail;
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 result = (bool)(arg1)->Print(arg2);
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 resultobj = PyInt_FromLong((long)result);
19952 return resultobj;
19953 fail:
19954 return NULL;
19955 }
19956
19957
19958 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19959 PyObject *resultobj;
19960 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19961 PyObject * obj0 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 (arg1)->DetermineScaling();
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 Py_INCREF(Py_None); resultobj = Py_None;
19976 return resultobj;
19977 fail:
19978 return NULL;
19979 }
19980
19981
19982 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19983 PyObject *obj;
19984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19985 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19986 Py_INCREF(obj);
19987 return Py_BuildValue((char *)"");
19988 }
19989 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19992 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19993 wxPrintData *arg3 = (wxPrintData *) NULL ;
19994 wxPyPrintPreview *result;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 PyObject * obj2 = 0 ;
19998 char *kwnames[] = {
19999 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20000 };
20001
20002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20005 if (obj2) {
20006 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20007 }
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20016 return resultobj;
20017 fail:
20018 return NULL;
20019 }
20020
20021
20022 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20023 PyObject *resultobj;
20024 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20025 PyObject *arg2 = (PyObject *) 0 ;
20026 PyObject *arg3 = (PyObject *) 0 ;
20027 PyObject * obj0 = 0 ;
20028 PyObject * obj1 = 0 ;
20029 PyObject * obj2 = 0 ;
20030 char *kwnames[] = {
20031 (char *) "self",(char *) "self",(char *) "_class", NULL
20032 };
20033
20034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20036 arg2 = obj1;
20037 arg3 = obj2;
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 (arg1)->_setCallbackInfo(arg2,arg3);
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 Py_INCREF(Py_None); resultobj = Py_None;
20046 return resultobj;
20047 fail:
20048 return NULL;
20049 }
20050
20051
20052 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20053 PyObject *resultobj;
20054 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20055 int arg2 ;
20056 bool result;
20057 PyObject * obj0 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self",(char *) "pageNum", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 resultobj = PyInt_FromLong((long)result);
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20081 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20082 wxDC *arg3 = 0 ;
20083 bool result;
20084 PyObject * obj0 = 0 ;
20085 PyObject * obj1 = 0 ;
20086 PyObject * obj2 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20094 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20095 if (arg3 == NULL) {
20096 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20097 }
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20101
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 resultobj = PyInt_FromLong((long)result);
20106 return resultobj;
20107 fail:
20108 return NULL;
20109 }
20110
20111
20112 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20113 PyObject *resultobj;
20114 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20115 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20116 wxDC *arg3 = 0 ;
20117 bool result;
20118 PyObject * obj0 = 0 ;
20119 PyObject * obj1 = 0 ;
20120 PyObject * obj2 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20128 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20129 if (arg3 == NULL) {
20130 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20131 }
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 resultobj = PyInt_FromLong((long)result);
20140 return resultobj;
20141 fail:
20142 return NULL;
20143 }
20144
20145
20146 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20147 PyObject *resultobj;
20148 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20149 int arg2 ;
20150 bool result;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self",(char *) "pageNum", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 result = (bool)(arg1)->base_RenderPage(arg2);
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 resultobj = PyInt_FromLong((long)result);
20166 return resultobj;
20167 fail:
20168 return NULL;
20169 }
20170
20171
20172 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj;
20174 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20175 int arg2 ;
20176 PyObject * obj0 = 0 ;
20177 char *kwnames[] = {
20178 (char *) "self",(char *) "percent", NULL
20179 };
20180
20181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 (arg1)->base_SetZoom(arg2);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 Py_INCREF(Py_None); resultobj = Py_None;
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20200 bool arg2 ;
20201 bool result;
20202 PyObject * obj0 = 0 ;
20203 PyObject * obj1 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self",(char *) "interactive", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20210 arg2 = PyInt_AsLong(obj1) ? true : false;
20211 if (PyErr_Occurred()) SWIG_fail;
20212 {
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 result = (bool)(arg1)->base_Print(arg2);
20215
20216 wxPyEndAllowThreads(__tstate);
20217 if (PyErr_Occurred()) SWIG_fail;
20218 }
20219 resultobj = PyInt_FromLong((long)result);
20220 return resultobj;
20221 fail:
20222 return NULL;
20223 }
20224
20225
20226 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20227 PyObject *resultobj;
20228 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20229 PyObject * obj0 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 (arg1)->base_DetermineScaling();
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 Py_INCREF(Py_None); resultobj = Py_None;
20244 return resultobj;
20245 fail:
20246 return NULL;
20247 }
20248
20249
20250 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20251 PyObject *obj;
20252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20253 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20254 Py_INCREF(obj);
20255 return Py_BuildValue((char *)"");
20256 }
20257 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20258 PyObject *resultobj;
20259 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20260 wxFrame *arg2 = (wxFrame *) 0 ;
20261 wxString *arg3 = 0 ;
20262 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20263 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20264 wxSize const &arg5_defvalue = wxDefaultSize ;
20265 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20266 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20267 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20268 wxString *arg7 = (wxString *) &arg7_defvalue ;
20269 wxPyPreviewFrame *result;
20270 bool temp3 = false ;
20271 wxPoint temp4 ;
20272 wxSize temp5 ;
20273 bool temp7 = false ;
20274 PyObject * obj0 = 0 ;
20275 PyObject * obj1 = 0 ;
20276 PyObject * obj2 = 0 ;
20277 PyObject * obj3 = 0 ;
20278 PyObject * obj4 = 0 ;
20279 PyObject * obj6 = 0 ;
20280 char *kwnames[] = {
20281 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20282 };
20283
20284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20287 {
20288 arg3 = wxString_in_helper(obj2);
20289 if (arg3 == NULL) SWIG_fail;
20290 temp3 = true;
20291 }
20292 if (obj3) {
20293 {
20294 arg4 = &temp4;
20295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20296 }
20297 }
20298 if (obj4) {
20299 {
20300 arg5 = &temp5;
20301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20302 }
20303 }
20304 if (obj6) {
20305 {
20306 arg7 = wxString_in_helper(obj6);
20307 if (arg7 == NULL) SWIG_fail;
20308 temp7 = true;
20309 }
20310 }
20311 {
20312 PyThreadState* __tstate = wxPyBeginAllowThreads();
20313 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20314
20315 wxPyEndAllowThreads(__tstate);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20319 {
20320 if (temp3)
20321 delete arg3;
20322 }
20323 {
20324 if (temp7)
20325 delete arg7;
20326 }
20327 return resultobj;
20328 fail:
20329 {
20330 if (temp3)
20331 delete arg3;
20332 }
20333 {
20334 if (temp7)
20335 delete arg7;
20336 }
20337 return NULL;
20338 }
20339
20340
20341 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20342 PyObject *resultobj;
20343 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20344 PyObject *arg2 = (PyObject *) 0 ;
20345 PyObject *arg3 = (PyObject *) 0 ;
20346 PyObject * obj0 = 0 ;
20347 PyObject * obj1 = 0 ;
20348 PyObject * obj2 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self",(char *) "self",(char *) "_class", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20355 arg2 = obj1;
20356 arg3 = obj2;
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 (arg1)->_setCallbackInfo(arg2,arg3);
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 Py_INCREF(Py_None); resultobj = Py_None;
20365 return resultobj;
20366 fail:
20367 return NULL;
20368 }
20369
20370
20371 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20372 PyObject *resultobj;
20373 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20374 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20375 PyObject * obj0 = 0 ;
20376 PyObject * obj1 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self",(char *) "canvas", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 (arg1)->SetPreviewCanvas(arg2);
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 Py_INCREF(Py_None); resultobj = Py_None;
20392 return resultobj;
20393 fail:
20394 return NULL;
20395 }
20396
20397
20398 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20399 PyObject *resultobj;
20400 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20401 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20402 PyObject * obj0 = 0 ;
20403 PyObject * obj1 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "self",(char *) "bar", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 (arg1)->SetControlBar(arg2);
20414
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 Py_INCREF(Py_None); resultobj = Py_None;
20419 return resultobj;
20420 fail:
20421 return NULL;
20422 }
20423
20424
20425 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj;
20427 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20428 PyObject * obj0 = 0 ;
20429 char *kwnames[] = {
20430 (char *) "self", NULL
20431 };
20432
20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 (arg1)->base_Initialize();
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 Py_INCREF(Py_None); resultobj = Py_None;
20443 return resultobj;
20444 fail:
20445 return NULL;
20446 }
20447
20448
20449 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj;
20451 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20452 PyObject * obj0 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20459 {
20460 PyThreadState* __tstate = wxPyBeginAllowThreads();
20461 (arg1)->base_CreateCanvas();
20462
20463 wxPyEndAllowThreads(__tstate);
20464 if (PyErr_Occurred()) SWIG_fail;
20465 }
20466 Py_INCREF(Py_None); resultobj = Py_None;
20467 return resultobj;
20468 fail:
20469 return NULL;
20470 }
20471
20472
20473 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20474 PyObject *resultobj;
20475 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20476 PyObject * obj0 = 0 ;
20477 char *kwnames[] = {
20478 (char *) "self", NULL
20479 };
20480
20481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 (arg1)->base_CreateControlBar();
20486
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 Py_INCREF(Py_None); resultobj = Py_None;
20491 return resultobj;
20492 fail:
20493 return NULL;
20494 }
20495
20496
20497 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20498 PyObject *obj;
20499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20500 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20501 Py_INCREF(obj);
20502 return Py_BuildValue((char *)"");
20503 }
20504 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20505 PyObject *resultobj;
20506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20507 long arg2 ;
20508 wxWindow *arg3 = (wxWindow *) 0 ;
20509 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20510 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20511 wxSize const &arg5_defvalue = wxDefaultSize ;
20512 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20513 long arg6 = (long) 0 ;
20514 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20515 wxString *arg7 = (wxString *) &arg7_defvalue ;
20516 wxPyPreviewControlBar *result;
20517 wxPoint temp4 ;
20518 wxSize temp5 ;
20519 bool temp7 = false ;
20520 PyObject * obj0 = 0 ;
20521 PyObject * obj2 = 0 ;
20522 PyObject * obj3 = 0 ;
20523 PyObject * obj4 = 0 ;
20524 PyObject * obj6 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20531 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20532 if (obj3) {
20533 {
20534 arg4 = &temp4;
20535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20536 }
20537 }
20538 if (obj4) {
20539 {
20540 arg5 = &temp5;
20541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20542 }
20543 }
20544 if (obj6) {
20545 {
20546 arg7 = wxString_in_helper(obj6);
20547 if (arg7 == NULL) SWIG_fail;
20548 temp7 = true;
20549 }
20550 }
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20554
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
20558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20559 {
20560 if (temp7)
20561 delete arg7;
20562 }
20563 return resultobj;
20564 fail:
20565 {
20566 if (temp7)
20567 delete arg7;
20568 }
20569 return NULL;
20570 }
20571
20572
20573 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj;
20575 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20576 PyObject *arg2 = (PyObject *) 0 ;
20577 PyObject *arg3 = (PyObject *) 0 ;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580 PyObject * obj2 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self",(char *) "self",(char *) "_class", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20587 arg2 = obj1;
20588 arg3 = obj2;
20589 {
20590 PyThreadState* __tstate = wxPyBeginAllowThreads();
20591 (arg1)->_setCallbackInfo(arg2,arg3);
20592
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 Py_INCREF(Py_None); resultobj = Py_None;
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20606 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20607 PyObject * obj0 = 0 ;
20608 PyObject * obj1 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self",(char *) "preview", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 (arg1)->SetPrintPreview(arg2);
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 Py_INCREF(Py_None); resultobj = Py_None;
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20633 PyObject * obj0 = 0 ;
20634 char *kwnames[] = {
20635 (char *) "self", NULL
20636 };
20637
20638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 (arg1)->base_CreateButtons();
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 Py_INCREF(Py_None); resultobj = Py_None;
20648 return resultobj;
20649 fail:
20650 return NULL;
20651 }
20652
20653
20654 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj;
20656 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20657 int arg2 ;
20658 PyObject * obj0 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self",(char *) "zoom", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20665 {
20666 PyThreadState* __tstate = wxPyBeginAllowThreads();
20667 (arg1)->base_SetZoomControl(arg2);
20668
20669 wxPyEndAllowThreads(__tstate);
20670 if (PyErr_Occurred()) SWIG_fail;
20671 }
20672 Py_INCREF(Py_None); resultobj = Py_None;
20673 return resultobj;
20674 fail:
20675 return NULL;
20676 }
20677
20678
20679 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20680 PyObject *obj;
20681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20682 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20683 Py_INCREF(obj);
20684 return Py_BuildValue((char *)"");
20685 }
20686 static PyMethodDef SwigMethods[] = {
20687 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20688 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20689 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20690 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20691 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20692 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20693 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20694 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20695 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20697 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20699 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20700 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20701 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20703 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20704 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20705 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20707 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20708 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20709 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20711 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20713 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20714 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20715 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20716 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
20720 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
20723 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
20724 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
20728 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20732 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20735 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20736 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20743 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20745 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20751 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20761 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20762 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20766 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20779 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20783 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20787 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20792 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20793 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20807 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20833 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20840 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20863 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20871 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20883 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20885 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20889 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20898 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20904 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20907 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20910 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20914 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20932 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20958 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20965 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20968 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20970 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20979 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20983 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20991 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21009 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21013 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21019 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21024 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21040 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21044 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21047 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21051 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21060 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21069 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21075 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21087 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21094 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21098 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21119 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21140 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21184 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21216 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21220 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21254 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21259 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21270 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21293 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21295 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21301 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21311 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21335 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21345 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21353 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21359 { NULL, NULL }
21360 };
21361
21362
21363 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21364
21365 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21366 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21367 }
21368 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21370 }
21371 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21372 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21373 }
21374 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21375 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21376 }
21377 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21378 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21379 }
21380 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21381 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21382 }
21383 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21384 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21385 }
21386 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21387 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21388 }
21389 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21390 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21391 }
21392 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21394 }
21395 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21396 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21397 }
21398 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21399 return (void *)((wxEvent *) ((wxPyEvent *) x));
21400 }
21401 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21403 }
21404 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21405 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21406 }
21407 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21408 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21409 }
21410 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21411 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21412 }
21413 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21414 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21415 }
21416 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21417 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21418 }
21419 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21420 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21421 }
21422 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21423 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21424 }
21425 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21426 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21427 }
21428 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21429 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21430 }
21431 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21432 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21433 }
21434 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21435 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21436 }
21437 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21438 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21439 }
21440 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21441 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21442 }
21443 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21444 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21445 }
21446 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21447 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21448 }
21449 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21450 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21451 }
21452 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21453 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21454 }
21455 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21456 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21457 }
21458 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21459 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21460 }
21461 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21462 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21463 }
21464 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21465 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21466 }
21467 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21468 return (void *)((wxEvent *) ((wxShowEvent *) x));
21469 }
21470 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21471 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21472 }
21473 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21474 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21475 }
21476 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21477 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21478 }
21479 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21480 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21481 }
21482 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21483 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21484 }
21485 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21486 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21487 }
21488 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21489 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21490 }
21491 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21492 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21493 }
21494 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21495 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21496 }
21497 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21499 }
21500 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21501 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21502 }
21503 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21505 }
21506 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21507 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21508 }
21509 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21510 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21511 }
21512 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21513 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21514 }
21515 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21517 }
21518 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21519 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21520 }
21521 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21522 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21523 }
21524 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21525 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21526 }
21527 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21528 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21529 }
21530 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21531 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21532 }
21533 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21534 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21535 }
21536 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21537 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21538 }
21539 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21540 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21541 }
21542 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21543 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21544 }
21545 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21547 }
21548 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21549 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21550 }
21551 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21552 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21553 }
21554 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21555 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21556 }
21557 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21558 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21559 }
21560 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21561 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21562 }
21563 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21564 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21565 }
21566 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21567 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21568 }
21569 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21570 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21571 }
21572 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21573 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21574 }
21575 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21577 }
21578 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21579 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21580 }
21581 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21582 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21583 }
21584 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21585 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21586 }
21587 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21588 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21589 }
21590 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21591 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21592 }
21593 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21594 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21595 }
21596 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21597 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21598 }
21599 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21600 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21601 }
21602 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21603 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21604 }
21605 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21606 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21607 }
21608 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21609 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21610 }
21611 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21612 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21613 }
21614 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21615 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21616 }
21617 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21619 }
21620 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21621 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21622 }
21623 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21624 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21625 }
21626 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21627 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21628 }
21629 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21630 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21631 }
21632 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21633 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21634 }
21635 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21636 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21637 }
21638 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21639 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21640 }
21641 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21642 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21643 }
21644 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21645 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21646 }
21647 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21648 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21649 }
21650 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
21651 return (void *)((wxFrame *) ((wxTipWindow *) x));
21652 }
21653 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21654 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21655 }
21656 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21657 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21658 }
21659 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21660 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21661 }
21662 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21663 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21664 }
21665 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21666 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21667 }
21668 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21669 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21670 }
21671 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21672 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21673 }
21674 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21676 }
21677 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21679 }
21680 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21681 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21682 }
21683 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21684 return (void *)((wxObject *) ((wxSizerItem *) x));
21685 }
21686 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21688 }
21689 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21690 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21691 }
21692 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21693 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21694 }
21695 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21696 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21697 }
21698 static void *_p_wxSizerTo_p_wxObject(void *x) {
21699 return (void *)((wxObject *) ((wxSizer *) x));
21700 }
21701 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21702 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21703 }
21704 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21705 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21706 }
21707 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21709 }
21710 static void *_p_wxEventTo_p_wxObject(void *x) {
21711 return (void *)((wxObject *) ((wxEvent *) x));
21712 }
21713 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21714 return (void *)((wxObject *) ((wxFontData *) x));
21715 }
21716 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21717 return (void *)((wxObject *) ((wxPrintData *) x));
21718 }
21719 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21720 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21721 }
21722 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21723 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21724 }
21725 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21726 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21727 }
21728 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21729 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21730 }
21731 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21732 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21733 }
21734 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21736 }
21737 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21738 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21739 }
21740 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21741 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21742 }
21743 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21744 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21745 }
21746 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21747 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21748 }
21749 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21750 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21751 }
21752 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21753 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21754 }
21755 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21757 }
21758 static void *_p_wxControlTo_p_wxObject(void *x) {
21759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21760 }
21761 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21762 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21763 }
21764 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21765 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21766 }
21767 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21768 return (void *)((wxObject *) ((wxFSFile *) x));
21769 }
21770 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21771 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21772 }
21773 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21774 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21775 }
21776 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21778 }
21779 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21780 return (void *)((wxObject *) ((wxColourData *) x));
21781 }
21782 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21783 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21784 }
21785 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21787 }
21788 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21790 }
21791 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21793 }
21794 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21796 }
21797 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21799 }
21800 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21802 }
21803 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21805 }
21806 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21808 }
21809 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21811 }
21812 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21814 }
21815 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21816 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21817 }
21818 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21819 return (void *)((wxObject *) ((wxPrinter *) x));
21820 }
21821 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21822 return (void *)((wxObject *) ((wxMenuItem *) x));
21823 }
21824 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21825 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21826 }
21827 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21829 }
21830 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21831 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21832 }
21833 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21834 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21835 }
21836 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21837 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21838 }
21839 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21840 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21841 }
21842 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21843 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21844 }
21845 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21846 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21847 }
21848 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21849 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21850 }
21851 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21852 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21853 }
21854 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21855 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21856 }
21857 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21858 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21859 }
21860 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21861 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21862 }
21863 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21864 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21865 }
21866 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21867 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21868 }
21869 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21870 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21871 }
21872 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21873 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21874 }
21875 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21876 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21877 }
21878 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21879 return (void *)((wxObject *) ((wxImageHandler *) x));
21880 }
21881 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21882 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21883 }
21884 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21885 return (void *)((wxObject *) ((wxEvtHandler *) x));
21886 }
21887 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21888 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21889 }
21890 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21892 }
21893 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21895 }
21896 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21897 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21898 }
21899 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21901 }
21902 static void *_p_wxImageTo_p_wxObject(void *x) {
21903 return (void *)((wxObject *) ((wxImage *) x));
21904 }
21905 static void *_p_wxFrameTo_p_wxObject(void *x) {
21906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21907 }
21908 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21909 return (void *)((wxObject *) ((wxPyPrintout *) x));
21910 }
21911 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21912 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21913 }
21914 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21915 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21916 }
21917 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21919 }
21920 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21922 }
21923 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21924 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21925 }
21926 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21927 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21928 }
21929 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21930 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21931 }
21932 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21934 }
21935 static void *_p_wxWindowTo_p_wxObject(void *x) {
21936 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21937 }
21938 static void *_p_wxMenuTo_p_wxObject(void *x) {
21939 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21940 }
21941 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21943 }
21944 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21946 }
21947 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21949 }
21950 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21952 }
21953 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21955 }
21956 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21958 }
21959 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21961 }
21962 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21964 }
21965 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21967 }
21968 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21970 }
21971 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21973 }
21974 static void *_p_wxSashEventTo_p_wxObject(void *x) {
21975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21976 }
21977 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21978 return (void *)((wxObject *) ((wxPrintPreview *) x));
21979 }
21980 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21981 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21982 }
21983 static void *_p_wxPanelTo_p_wxObject(void *x) {
21984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21985 }
21986 static void *_p_wxDialogTo_p_wxObject(void *x) {
21987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21988 }
21989 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21991 }
21992 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
21993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21994 }
21995 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
21996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21997 }
21998 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
21999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22000 }
22001 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22003 }
22004 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22005 return (void *)((wxObject *) ((wxFileSystem *) x));
22006 }
22007 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22008 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22009 }
22010 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22011 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22012 }
22013 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22014 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22015 }
22016 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22017 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22018 }
22019 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22020 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22021 }
22022 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22023 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22024 }
22025 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22027 }
22028 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22029 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22030 }
22031 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22033 }
22034 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22036 }
22037 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22038 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22039 }
22040 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22041 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22042 }
22043 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22044 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22045 }
22046 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22048 }
22049 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22050 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22051 }
22052 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22053 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22054 }
22055 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22056 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22057 }
22058 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22059 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22060 }
22061 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22062 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22063 }
22064 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22065 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22066 }
22067 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22068 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22069 }
22070 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22071 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22072 }
22073 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22074 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22075 }
22076 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22077 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22078 }
22079 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22080 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22081 }
22082 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22083 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22084 }
22085 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22086 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22087 }
22088 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22089 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22090 }
22091 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22092 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22093 }
22094 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22095 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22096 }
22097 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22098 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22099 }
22100 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
22101 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
22102 }
22103 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22104 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22105 }
22106 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22107 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22108 }
22109 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22110 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22111 }
22112 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22113 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22114 }
22115 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22116 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22117 }
22118 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22119 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22120 }
22121 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22122 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22123 }
22124 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22125 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22126 }
22127 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22128 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22129 }
22130 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22131 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22132 }
22133 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22134 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22135 }
22136 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22137 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22138 }
22139 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22141 }
22142 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22143 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22144 }
22145 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22146 return (void *)((wxWindow *) ((wxMenuBar *) x));
22147 }
22148 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22150 }
22151 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22153 }
22154 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22156 }
22157 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22158 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22159 }
22160 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22161 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22162 }
22163 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22165 }
22166 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22167 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22168 }
22169 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22170 return (void *)((wxWindow *) ((wxPanel *) x));
22171 }
22172 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22173 return (void *)((wxWindow *) ((wxStatusBar *) x));
22174 }
22175 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22176 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22177 }
22178 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22179 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22180 }
22181 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
22183 }
22184 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22185 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22186 }
22187 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22188 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22189 }
22190 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22191 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22192 }
22193 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22194 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22195 }
22196 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22197 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22198 }
22199 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22200 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22201 }
22202 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22203 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22204 }
22205 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22206 return (void *)((wxWindow *) ((wxSashWindow *) x));
22207 }
22208 static void *_p_wxControlTo_p_wxWindow(void *x) {
22209 return (void *)((wxWindow *) ((wxControl *) x));
22210 }
22211 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22212 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22213 }
22214 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22215 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22216 }
22217 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22218 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22219 }
22220 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22221 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22222 }
22223 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22224 return (void *)((wxWindow *) ((wxPyWindow *) x));
22225 }
22226 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22227 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22228 }
22229 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22230 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22231 }
22232 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22233 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22234 }
22235 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22236 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22237 }
22238 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22239 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22240 }
22241 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22242 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22243 }
22244 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22246 }
22247 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22248 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22249 }
22250 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22251 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22252 }
22253 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22254 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22255 }
22256 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22257 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22258 }
22259 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22260 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22261 }
22262 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22263 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22264 }
22265 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22266 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22267 }
22268 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22269 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22270 }
22271 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22272 return (void *)((wxDialog *) ((wxColourDialog *) x));
22273 }
22274 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22275 return (void *)((wxDialog *) ((wxDirDialog *) x));
22276 }
22277 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22278 return (void *)((wxDialog *) ((wxFontDialog *) x));
22279 }
22280 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22281 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22282 }
22283 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22284 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22285 }
22286 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22287 return (void *)((wxDialog *) ((wxFileDialog *) x));
22288 }
22289 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22290 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22291 }
22292 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22293 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22294 }
22295 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22296 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22297 }
22298 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22299 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22300 }
22301 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22302 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22303 }
22304 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22305 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22306 }
22307 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22308 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22309 }
22310 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22311 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22312 }
22313 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22314 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22315 }
22316 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22317 return (void *)((wxPanel *) ((wxPyPanel *) x));
22318 }
22319 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22320 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22321 }
22322 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22323 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22324 }
22325 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22326 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22327 }
22328 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22329 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22330 }
22331 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22332 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22333 }
22334 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22335 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22336 }
22337 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22338 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22339 }
22340 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22341 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22342 }
22343 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22344 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22345 }
22346 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22347 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22348 }
22349 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22350 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22351 }
22352 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22353 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22354 }
22355 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22356 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22357 }
22358 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22359 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22360 }
22361 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22362 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22363 }
22364 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22365 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22366 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22367 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22368 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22369 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22370 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22371 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22372 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}};
22373 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22374 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22375 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22376 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22377 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22378 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22379 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22380 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22381 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22382 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22383 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22384 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22385 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22386 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22387 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22388 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22389 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22390 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22391 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22392 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22393 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22394 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22395 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22396 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22397 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22398 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22399 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22400 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22401 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}};
22402 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22403 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22404 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22405 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22406 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22407 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22408 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}};
22409 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22410 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22411 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22412 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22413 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22414 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22415 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}};
22416 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22417 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22418 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22419 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22420 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22421 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22422 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22423 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}};
22424 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
22425 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22426 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}};
22427 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}};
22428 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22429 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22430 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22431 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22432 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22433 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22434 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22435 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22436 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22437 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}};
22438 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}};
22439 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22440 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22441 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22442 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}};
22443 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22444 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22445 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22446 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22447 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22448 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22449 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22450
22451 static swig_type_info *swig_types_initial[] = {
22452 _swigt__p_wxQueryLayoutInfoEvent,
22453 _swigt__p_wxPreviewFrame,
22454 _swigt__p_wxPyPreviewFrame,
22455 _swigt__p_wxAcceleratorEntry,
22456 _swigt__p_wxPyPanel,
22457 _swigt__p_wxMenu,
22458 _swigt__p_wxPrintData,
22459 _swigt__p_wxFontData,
22460 _swigt__p_wxEvent,
22461 _swigt__p_wxTaskBarIcon,
22462 _swigt__p_wxIconBundle,
22463 _swigt__p_wxLayoutAlgorithm,
22464 _swigt__p_wxFindDialogEvent,
22465 _swigt__p_wxPreviewCanvas,
22466 _swigt__p_wxFont,
22467 _swigt__p_wxSplitterEvent,
22468 _swigt__p_wxRegion,
22469 _swigt__p_wxFindReplaceData,
22470 _swigt__p_int,
22471 _swigt__p_wxSize,
22472 _swigt__p_wxDC,
22473 _swigt__p_wxIcon,
22474 _swigt__p_wxMDIChildFrame,
22475 _swigt__p_wxColourData,
22476 _swigt__p_wxNotifyEvent,
22477 _swigt__p_wxPyWindow,
22478 _swigt__p_wxSplashScreen,
22479 _swigt__p_wxFindReplaceDialog,
22480 _swigt__p_wxProgressDialog,
22481 _swigt__p_wxMessageDialog,
22482 _swigt__p_wxTextEntryDialog,
22483 _swigt__p_wxSingleChoiceDialog,
22484 _swigt__p_wxMultiChoiceDialog,
22485 _swigt__p_wxFileDialog,
22486 _swigt__p_wxPrinter,
22487 _swigt__p_wxMenuItem,
22488 _swigt__p_wxArrayInt,
22489 _swigt__p_wxEvtHandler,
22490 _swigt__p_wxCalculateLayoutEvent,
22491 _swigt__p_wxPyHtmlListBox,
22492 _swigt__p_wxPyVListBox,
22493 _swigt__p_wxRect,
22494 _swigt__p_wxAcceleratorTable,
22495 _swigt__p_wxMiniFrame,
22496 _swigt__p_wxFrame,
22497 _swigt__p_wxPyPrintout,
22498 _swigt__p_wxTaskBarIconEvent,
22499 _swigt__p_wxScrollWinEvent,
22500 _swigt__p_wxStatusBar,
22501 _swigt__p_wxMDIParentFrame,
22502 _swigt__p_wxPoint,
22503 _swigt__p_wxObject,
22504 _swigt__p_unsigned_long,
22505 _swigt__p_wxMDIClientWindow,
22506 _swigt__p_wxTipWindow,
22507 _swigt__p_wxPyPopupTransientWindow,
22508 _swigt__p_wxSashLayoutWindow,
22509 _swigt__p_wxSplitterWindow,
22510 _swigt__p_wxSplashScreenWindow,
22511 _swigt__p_wxPyVScrolledWindow,
22512 _swigt__p_wxPopupWindow,
22513 _swigt__p_wxSashWindow,
22514 _swigt__p_wxTopLevelWindow,
22515 _swigt__p_wxWindow,
22516 _swigt__p_wxScrolledWindow,
22517 _swigt__p_wxMenuBar,
22518 _swigt__p_wxPrintPreview,
22519 _swigt__p_wxSashEvent,
22520 _swigt__p_wxString,
22521 _swigt__p_wxPyPrintPreview,
22522 _swigt__p_wxFontDialog,
22523 _swigt__p_wxDirDialog,
22524 _swigt__p_wxColourDialog,
22525 _swigt__p_wxDialog,
22526 _swigt__p_wxPanel,
22527 _swigt__p_wxPageSetupDialog,
22528 _swigt__p_wxPrintDialog,
22529 _swigt__p_wxBitmap,
22530 _swigt__p_wxCommandEvent,
22531 _swigt__p_wxPrintQuality,
22532 _swigt__p_wxPreviewControlBar,
22533 _swigt__p_wxPyPreviewControlBar,
22534 _swigt__p_wxColour,
22535 _swigt__p_wxToolBar,
22536 _swigt__p_wxPageSetupDialogData,
22537 _swigt__p_wxPrintDialogData,
22538 0
22539 };
22540
22541
22542 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22543
22544 static swig_const_info swig_const_table[] = {
22545 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22546 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22547 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22548 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22549 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22550 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22551 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22552 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22553 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22554 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22555 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22556 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22557 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22558 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22559 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22560 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22561 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22562 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22563 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22564 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22565 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22566 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22567 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22568 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22569 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22570 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22571 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22572 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22573 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22574 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22575 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22576 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22577 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22578 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22579 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22580 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22581 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22582 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22583 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22584 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22585 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22586 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22587 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22588 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22589 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22590 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22591 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22592 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22593 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22594 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22595 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22596 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22597 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22598 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22599 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22600 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22601 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22602 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22603 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22604 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22605 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22606 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22607 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22608 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22609 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22610 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22611 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22612 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22613 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22614 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22615 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22616 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22617 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22618 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22619 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22620 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22621 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22622 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22623 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22624 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22625 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22626 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22627 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22628 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22629 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22630 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22631 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22632 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22633 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22634 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22635 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22636 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22637 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22638 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22639 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22640 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22641 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22642 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22643 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22644 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22645 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22646 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22647 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22648 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22649 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22650 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22651 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22652 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22653 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22654 {0}};
22655
22656 #ifdef __cplusplus
22657 }
22658 #endif
22659
22660 #ifdef __cplusplus
22661 extern "C"
22662 #endif
22663 SWIGEXPORT(void) SWIG_init(void) {
22664 static PyObject *SWIG_globals = 0;
22665 static int typeinit = 0;
22666 PyObject *m, *d;
22667 int i;
22668 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22669 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22670 d = PyModule_GetDict(m);
22671
22672 if (!typeinit) {
22673 for (i = 0; swig_types_initial[i]; i++) {
22674 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22675 }
22676 typeinit = 1;
22677 }
22678 SWIG_InstallConstants(d,swig_const_table);
22679
22680 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22681 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
22682 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22683 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22684 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22685 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22686 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22687 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22688 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22689
22690 // Map renamed classes back to their common name for OOR
22691 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22692 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22693 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22694
22695 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22696 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22697 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22698 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22699 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22700 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22701 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22702 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22703 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22704 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22705 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22706 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22707
22708 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22709
22710 }
22711