]> 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
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
219 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
220 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
221 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[3]
222 #define SWIGTYPE_p_wxPyPanel swig_types[4]
223 #define SWIGTYPE_p_wxMenu swig_types[5]
224 #define SWIGTYPE_p_wxPrintData swig_types[6]
225 #define SWIGTYPE_p_wxFontData swig_types[7]
226 #define SWIGTYPE_p_wxEvent swig_types[8]
227 #define SWIGTYPE_p_wxTaskBarIcon swig_types[9]
228 #define SWIGTYPE_p_wxIconBundle swig_types[10]
229 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
230 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
231 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
232 #define SWIGTYPE_p_wxFont swig_types[14]
233 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
234 #define SWIGTYPE_p_wxRegion swig_types[16]
235 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
236 #define SWIGTYPE_p_int swig_types[18]
237 #define SWIGTYPE_p_wxSize swig_types[19]
238 #define SWIGTYPE_p_wxDC swig_types[20]
239 #define SWIGTYPE_p_wxIcon swig_types[21]
240 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
241 #define SWIGTYPE_p_wxColourData swig_types[23]
242 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
243 #define SWIGTYPE_p_wxPyWindow swig_types[25]
244 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
245 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
246 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
247 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
248 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
249 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
250 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
251 #define SWIGTYPE_p_wxFileDialog swig_types[33]
252 #define SWIGTYPE_p_wxPrinter swig_types[34]
253 #define SWIGTYPE_p_wxMenuItem swig_types[35]
254 #define SWIGTYPE_p_wxArrayInt swig_types[36]
255 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
256 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
257 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
258 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
259 #define SWIGTYPE_p_wxRect swig_types[41]
260 #define SWIGTYPE_p_wxAcceleratorTable swig_types[42]
261 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
262 #define SWIGTYPE_p_wxFrame swig_types[44]
263 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
264 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
265 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
266 #define SWIGTYPE_p_wxStatusBar swig_types[48]
267 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
268 #define SWIGTYPE_p_wxPoint swig_types[50]
269 #define SWIGTYPE_p_wxObject swig_types[51]
270 #define SWIGTYPE_p_unsigned_long swig_types[52]
271 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
272 #define SWIGTYPE_p_wxTipWindow swig_types[54]
273 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
274 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
275 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
276 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
277 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
278 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
279 #define SWIGTYPE_p_wxSashWindow swig_types[61]
280 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
281 #define SWIGTYPE_p_wxWindow swig_types[63]
282 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
283 #define SWIGTYPE_p_wxMenuBar swig_types[65]
284 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
285 #define SWIGTYPE_p_wxSashEvent swig_types[67]
286 #define SWIGTYPE_p_wxString swig_types[68]
287 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
288 #define SWIGTYPE_p_wxFontDialog swig_types[70]
289 #define SWIGTYPE_p_wxDirDialog swig_types[71]
290 #define SWIGTYPE_p_wxColourDialog swig_types[72]
291 #define SWIGTYPE_p_wxDialog swig_types[73]
292 #define SWIGTYPE_p_wxPanel swig_types[74]
293 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
294 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
295 #define SWIGTYPE_p_wxBitmap swig_types[77]
296 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
297 #define SWIGTYPE_p_wxPrintQuality swig_types[79]
298 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
299 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
300 #define SWIGTYPE_p_wxColour swig_types[82]
301 #define SWIGTYPE_p_wxToolBar swig_types[83]
302 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
303 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
304 static swig_type_info *swig_types[87];
305
306 /* -------- TYPES TABLE (END) -------- */
307
308
309 /*-----------------------------------------------
310 @(target):= _windows.so
311 ------------------------------------------------*/
312 #define SWIG_init init_windows
313
314 #define SWIG_name "_windows"
315
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318
319 DECLARE_DEF_STRING(PanelNameStr);
320 DECLARE_DEF_STRING(EmptyString);
321
322
323
324
325
326 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
327 PyObject* o2;
328 PyObject* o3;
329
330 if (!target) {
331 target = o;
332 } else if (target == Py_None) {
333 Py_DECREF(Py_None);
334 target = o;
335 } else {
336 if (!PyTuple_Check(target)) {
337 o2 = target;
338 target = PyTuple_New(1);
339 PyTuple_SetItem(target, 0, o2);
340 }
341 o3 = PyTuple_New(1);
342 PyTuple_SetItem(o3, 0, o);
343
344 o2 = target;
345 target = PySequence_Concat(o2, o3);
346 Py_DECREF(o2);
347 Py_DECREF(o3);
348 }
349 return target;
350 }
351
352
353 // Put some wx default wxChar* values into wxStrings.
354 DECLARE_DEF_STRING(FrameNameStr);
355 DECLARE_DEF_STRING(DialogNameStr);
356 DECLARE_DEF_STRING(StatusLineNameStr);
357 DECLARE_DEF_STRING(ToolBarNameStr);
358
359 bool wxDialog_IsModalShowing(wxDialog *self){
360
361
362
363 return self->IsModalShowing();
364
365 }
366
367
368 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
369 wxRect r;
370 self->GetFieldRect(i, r);
371 return r;
372 }
373
374 static const wxChar* wxSplitterNameStr = wxT("splitter");
375 DECLARE_DEF_STRING(SplitterNameStr);
376
377
378 static const wxChar* wxSashNameStr = wxT("sashWindow");
379 DECLARE_DEF_STRING(SashNameStr);
380 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
381 DECLARE_DEF_STRING(SashLayoutNameStr);
382
383
384 #include <wx/popupwin.h>
385
386
387 class wxPopupWindow : public wxWindow {
388 public:
389 wxPopupWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
390 wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
391 };
392
393 class wxPyPopupTransientWindow : public wxPopupWindow
394 {
395 public:
396 wxPyPopupTransientWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
397 wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
398 };
399
400
401 #include <wx/tipwin.h>
402
403 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
404 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
405 }
406
407 #include <wx/tipwin.h>
408
409
410 #include <wx/vscroll.h>
411
412
413 class wxPyVScrolledWindow : public wxVScrolledWindow
414 {
415 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
416 public:
417 wxPyVScrolledWindow() : wxVScrolledWindow() {}
418
419 wxPyVScrolledWindow(wxWindow *parent,
420 wxWindowID id = wxID_ANY,
421 const wxPoint& pos = wxDefaultPosition,
422 const wxSize& size = wxDefaultSize,
423 long style = 0,
424 const wxString& name = wxPyPanelNameStr)
425 : wxVScrolledWindow(parent, id, pos, size, style, name)
426 {}
427
428 // Overridable virtuals
429
430 // this function must be overridden in the derived class and it should
431 // return the height of the given line in pixels
432 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
433
434
435 // this function doesn't have to be overridden but it may be useful to do
436 // it if calculating the lines heights is a relatively expensive operation
437 // as it gives the user code a possibility to calculate several of them at
438 // once
439 //
440 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
441 // shouldn't rely on the latter being called for all lines in the interval
442 // specified here. It is also possible that OnGetLineHeight() will be
443 // called for the lines outside of this interval, so this is really just a
444 // hint, not a promise.
445 //
446 // finally note that lineMin is inclusive, while lineMax is exclusive, as
447 // usual
448 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
449
450
451 // when the number of lines changes, we try to estimate the total height
452 // of all lines which is a rather expensive operation in terms of lines
453 // access, so if the user code may estimate the average height
454 // better/faster than we do, it should override this function to implement
455 // its own logic
456 //
457 // this function should return the best guess for the total height it may
458 // make
459 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
460
461
462 // Also expose some other interesting protected methods
463
464
465 // find the index of the line we need to show at the top of the window such
466 // that the last (fully or partially) visible line is the given one
467 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
468 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
469
470 // get the total height of the lines between lineMin (inclusive) and
471 // lineMax (exclusive)
472 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
473 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
474
475
476 PYPRIVATE;
477 };
478
479 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
480
481 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
482 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
483 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
484
485
486 #include <wx/vlbox.h>
487 DECLARE_DEF_STRING(VListBoxNameStr);
488
489
490 class wxPyVListBox : public wxVListBox
491 {
492 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
493 public:
494 wxPyVListBox() : wxVListBox() {}
495
496 wxPyVListBox(wxWindow *parent,
497 wxWindowID id = wxID_ANY,
498 const wxPoint& pos = wxDefaultPosition,
499 const wxSize& size = wxDefaultSize,
500 long style = 0,
501 const wxString& name = wxPyVListBoxNameStr)
502 : wxVListBox(parent, id, pos, size, style, name)
503 {}
504
505 // Overridable virtuals
506
507 // the derived class must implement this function to actually draw the item
508 // with the given index on the provided DC
509 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
510 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
511
512
513 // the derived class must implement this method to return the height of the
514 // specified item
515 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
516 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
517
518
519 // this method may be used to draw separators between the lines; note that
520 // the rectangle may be modified, typically to deflate it a bit before
521 // passing to OnDrawItem()
522 //
523 // the base class version doesn't do anything
524 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
525 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
526
527
528 // this method is used to draw the items background and, maybe, a border
529 // around it
530 //
531 // the base class version implements a reasonable default behaviour which
532 // consists in drawing the selected item with the standard background
533 // colour and drawing a border around the item if it is either selected or
534 // current
535 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
536 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
537
538
539 PYPRIVATE;
540 };
541
542 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
543
544 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
545 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
546 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
547 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
548
549
550
551 #include <wx/htmllbox.h>
552
553
554 class wxPyHtmlListBox : public wxHtmlListBox
555 {
556 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
557 public:
558 wxPyHtmlListBox() : wxHtmlListBox() {}
559
560 wxPyHtmlListBox(wxWindow *parent,
561 wxWindowID id = wxID_ANY,
562 const wxPoint& pos = wxDefaultPosition,
563 const wxSize& size = wxDefaultSize,
564 long style = 0,
565 const wxString& name = wxPyVListBoxNameStr)
566 : wxHtmlListBox(parent, id, pos, size, style, name)
567 {}
568
569 // Overridable virtuals
570
571 // this method must be implemented in the derived class and should return
572 // the body (i.e. without <html>) of the HTML for the given item
573 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
574
575 // this function may be overridden to decorate HTML returned by OnGetItem()
576 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
577
578 // TODO:
579 // // this method allows to customize the selection appearance: it may be used
580 // // to specify the colour of the text which normally has the given colour
581 // // colFg when it is inside the selection
582 // //
583 // // by default, the original colour is not used at all and all text has the
584 // // same (default for this system) colour inside selection
585 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
586
587 // // this is the same as GetSelectedTextColour() but allows to customize the
588 // // background colour -- this is even more rarely used as you can change it
589 // // globally using SetSelectionBackground()
590 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
591
592
593 PYPRIVATE;
594 };
595
596
597 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
598
599 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
600 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
601
602
603
604
605
606 #ifdef __WXMAC__
607 // implement dummy classes and such for wxMac
608
609 class wxTaskBarIcon : public wxEvtHandler
610 {
611 public:
612 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
613 };
614
615
616 class wxTaskBarIconEvent : public wxEvent
617 {
618 public:
619 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
620 { PyErr_SetNone(PyExc_NotImplementedError); }
621 virtual wxEvent* Clone() const { return NULL; }
622 };
623
624 enum {
625 wxEVT_TASKBAR_MOVE = 0,
626 wxEVT_TASKBAR_LEFT_DOWN = 0,
627 wxEVT_TASKBAR_LEFT_UP = 0,
628 wxEVT_TASKBAR_RIGHT_DOWN = 0,
629 wxEVT_TASKBAR_RIGHT_UP = 0,
630 wxEVT_TASKBAR_LEFT_DCLICK = 0,
631 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
632 };
633 #endif
634
635
636
637 DECLARE_DEF_STRING(FileSelectorPromptStr);
638 DECLARE_DEF_STRING(DirSelectorPromptStr);
639 DECLARE_DEF_STRING(DirDialogNameStr);
640 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
641 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
642 DECLARE_DEF_STRING(MessageBoxCaptionStr);
643
644
645 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
646 wxArrayString arr;
647 self->GetFilenames(arr);
648 return wxArrayString2PyList_helper(arr);
649 }
650 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
651 wxArrayString arr;
652 self->GetPaths(arr);
653 return wxArrayString2PyList_helper(arr);
654 }
655 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
656 return wxArrayInt2PyList_helper(self->GetSelections());
657 }
658 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
659 return new wxSingleChoiceDialog(parent, message, caption,
660 choices, choices_array, NULL, style, pos);
661 }
662
663 #include <wx/mdi.h>
664
665 // C++ version of Python aware wxWindow
666 class wxPyWindow : public wxWindow
667 {
668 DECLARE_DYNAMIC_CLASS(wxPyWindow)
669 public:
670 wxPyWindow() : wxWindow() {}
671 wxPyWindow(wxWindow* parent, const wxWindowID id,
672 const wxPoint& pos = wxDefaultPosition,
673 const wxSize& size = wxDefaultSize,
674 long style = 0,
675 const wxString& name = wxPyPanelNameStr)
676 : wxWindow(parent, id, pos, size, style, name) {}
677
678
679 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
680 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
681 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
682 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
683
684 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
685 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
686 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
687
688 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
689 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
690
691 DEC_PYCALLBACK__(InitDialog);
692 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
693 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
694 DEC_PYCALLBACK_BOOL_(Validate);
695
696 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
697 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
698 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
699
700 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
701 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
702
703 PYPRIVATE;
704 };
705
706 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
707
708 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
709 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
710 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
711 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
712
713 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
714 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
715 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
716
717 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
718 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
719
720 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
721 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
722 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
723 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
724
725 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
726 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
727 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
728
729 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
730 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
731
732
733 // C++ version of Python aware wxPanel
734 class wxPyPanel : public wxPanel
735 {
736 DECLARE_DYNAMIC_CLASS(wxPyPanel)
737 public:
738 wxPyPanel() : wxPanel() {}
739 wxPyPanel(wxWindow* parent, const wxWindowID id,
740 const wxPoint& pos = wxDefaultPosition,
741 const wxSize& size = wxDefaultSize,
742 long style = 0,
743 const wxString& name = wxPyPanelNameStr)
744 : wxPanel(parent, id, pos, size, style, name) {}
745
746
747 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
748 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
749 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
750 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
751
752 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
753 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
754 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
755
756 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
757 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
758
759 DEC_PYCALLBACK__(InitDialog);
760 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
761 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
762 DEC_PYCALLBACK_BOOL_(Validate);
763
764 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
765 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
766 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
767
768 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
769 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
770
771 PYPRIVATE;
772 };
773
774 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
775
776 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
777 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
778 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
779 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
780
781 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
782 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
783 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
784
785 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
786 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
787
788 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
789 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
790 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
791 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
792
793 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
794 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
795 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
796
797 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
798 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
799
800
801
802 #include "wx/wxPython/printfw.h"
803
804 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
805 DECLARE_DEF_STRING(PrintoutTitleStr);
806 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
807 DECLARE_DEF_STRING(PreviewCanvasNameStr);
808
809
810
811
812
813 // Since this one would be tough and ugly to do with the Macros...
814 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
815 bool hadErr = False;
816 bool found;
817
818 wxPyBeginBlockThreads();
819 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
820 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
821 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
822 PyObject* val;
823
824 val = PyTuple_GetItem(result, 0);
825 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
826 else hadErr = True;
827
828 val = PyTuple_GetItem(result, 1);
829 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
830 else hadErr = True;
831
832 val = PyTuple_GetItem(result, 2);
833 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
834 else hadErr = True;
835
836 val = PyTuple_GetItem(result, 3);
837 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
838 else hadErr = True;
839 }
840 else
841 hadErr = True;
842
843 if (hadErr) {
844 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
845 PyErr_Print();
846 }
847 Py_DECREF(result);
848 }
849 wxPyEndBlockThreads();
850 if (! found)
851 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
852 }
853
854 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
855 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
856 }
857
858
859 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
860 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
861 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
862 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
863 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
864 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
865 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
866
867
868
869
870
871 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
872 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
873 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
874
875
876 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
877 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
878 bool rval=False; \
879 bool found; \
880 wxPyBeginBlockThreads(); \
881 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
882 PyObject* win = wxPyMake_wxObject(a); \
883 PyObject* dc = wxPyMake_wxObject(&b); \
884 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
885 Py_DECREF(win); \
886 Py_DECREF(dc); \
887 } \
888 wxPyEndBlockThreads(); \
889 if (! found) \
890 rval = PCLASS::CBNAME(a, b); \
891 return rval; \
892 } \
893 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
894 return PCLASS::CBNAME(a, b); \
895 }
896
897
898
899
900 class wxPyPrintPreview : public wxPrintPreview
901 {
902 DECLARE_CLASS(wxPyPrintPreview)
903 public:
904 wxPyPrintPreview(wxPyPrintout* printout,
905 wxPyPrintout* printoutForPrinting,
906 wxPrintData* data=NULL)
907 : wxPrintPreview(printout, printoutForPrinting, data)
908 {}
909
910 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
911 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
912 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
913 DEC_PYCALLBACK_BOOL_INT(RenderPage);
914 DEC_PYCALLBACK_VOID_INT(SetZoom);
915 DEC_PYCALLBACK_BOOL_BOOL(Print);
916 DEC_PYCALLBACK_VOID_(DetermineScaling);
917
918 PYPRIVATE;
919 };
920
921 // Stupid renamed classes... Fix this in 2.5...
922 #if defined(__WXMSW__)
923 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
924 #elif defined(__WXMAC__)
925 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
926 #else
927 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
928 #endif
929
930 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
931 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
932 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
933 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
934 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
935 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
936 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
937
938
939 class wxPyPreviewFrame : public wxPreviewFrame
940 {
941 DECLARE_CLASS(wxPyPreviewFrame);
942 public:
943 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
944 const wxString& title,
945 const wxPoint& pos = wxDefaultPosition,
946 const wxSize& size = wxDefaultSize,
947 long style = wxDEFAULT_FRAME_STYLE,
948 const wxString& name = wxPyFrameNameStr)
949 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
950 {}
951
952 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
953 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
954
955 DEC_PYCALLBACK_VOID_(Initialize);
956 DEC_PYCALLBACK_VOID_(CreateCanvas);
957 DEC_PYCALLBACK_VOID_(CreateControlBar);
958
959 PYPRIVATE;
960 };
961
962 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
963
964 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
965 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
966 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
967
968
969 class wxPyPreviewControlBar : public wxPreviewControlBar
970 {
971 DECLARE_CLASS(wxPyPreviewControlBar);
972 public:
973 wxPyPreviewControlBar(wxPrintPreview *preview,
974 long buttons,
975 wxWindow *parent,
976 const wxPoint& pos = wxDefaultPosition,
977 const wxSize& size = wxDefaultSize,
978 long style = 0,
979 const wxString& name = wxPyPanelNameStr)
980 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
981 {}
982
983 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
984
985 DEC_PYCALLBACK_VOID_(CreateButtons);
986 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
987
988 PYPRIVATE;
989 };
990
991 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
992 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
993 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
994
995 #ifdef __cplusplus
996 extern "C" {
997 #endif
998 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
999 PyObject *resultobj;
1000 wxWindow *arg1 = (wxWindow *) 0 ;
1001 int arg2 = (int) (int)-1 ;
1002 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1003 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1004 wxSize const &arg4_defvalue = wxDefaultSize ;
1005 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1006 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1007 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1008 wxString *arg6 = (wxString *) &arg6_defvalue ;
1009 wxPanel *result;
1010 wxPoint temp3 ;
1011 wxSize temp4 ;
1012 bool temp6 = False ;
1013 PyObject * obj0 = 0 ;
1014 PyObject * obj2 = 0 ;
1015 PyObject * obj3 = 0 ;
1016 PyObject * obj5 = 0 ;
1017 char *kwnames[] = {
1018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1019 };
1020
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1023 if (obj2) {
1024 {
1025 arg3 = &temp3;
1026 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1027 }
1028 }
1029 if (obj3) {
1030 {
1031 arg4 = &temp4;
1032 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1033 }
1034 }
1035 if (obj5) {
1036 {
1037 arg6 = wxString_in_helper(obj5);
1038 if (arg6 == NULL) SWIG_fail;
1039 temp6 = True;
1040 }
1041 }
1042 {
1043 PyThreadState* __tstate = wxPyBeginAllowThreads();
1044 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1045
1046 wxPyEndAllowThreads(__tstate);
1047 if (PyErr_Occurred()) SWIG_fail;
1048 }
1049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1050 {
1051 if (temp6)
1052 delete arg6;
1053 }
1054 return resultobj;
1055 fail:
1056 {
1057 if (temp6)
1058 delete arg6;
1059 }
1060 return NULL;
1061 }
1062
1063
1064 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1065 PyObject *resultobj;
1066 wxPanel *result;
1067 char *kwnames[] = {
1068 NULL
1069 };
1070
1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1072 {
1073 PyThreadState* __tstate = wxPyBeginAllowThreads();
1074 result = (wxPanel *)new wxPanel();
1075
1076 wxPyEndAllowThreads(__tstate);
1077 if (PyErr_Occurred()) SWIG_fail;
1078 }
1079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1080 return resultobj;
1081 fail:
1082 return NULL;
1083 }
1084
1085
1086 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1087 PyObject *resultobj;
1088 wxPanel *arg1 = (wxPanel *) 0 ;
1089 wxWindow *arg2 = (wxWindow *) 0 ;
1090 int arg3 ;
1091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1093 wxSize const &arg5_defvalue = wxDefaultSize ;
1094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1095 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1096 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1097 wxString *arg7 = (wxString *) &arg7_defvalue ;
1098 bool result;
1099 wxPoint temp4 ;
1100 wxSize temp5 ;
1101 bool temp7 = False ;
1102 PyObject * obj0 = 0 ;
1103 PyObject * obj1 = 0 ;
1104 PyObject * obj3 = 0 ;
1105 PyObject * obj4 = 0 ;
1106 PyObject * obj6 = 0 ;
1107 char *kwnames[] = {
1108 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1109 };
1110
1111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1113 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1114 if (obj3) {
1115 {
1116 arg4 = &temp4;
1117 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1118 }
1119 }
1120 if (obj4) {
1121 {
1122 arg5 = &temp5;
1123 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1124 }
1125 }
1126 if (obj6) {
1127 {
1128 arg7 = wxString_in_helper(obj6);
1129 if (arg7 == NULL) SWIG_fail;
1130 temp7 = True;
1131 }
1132 }
1133 {
1134 PyThreadState* __tstate = wxPyBeginAllowThreads();
1135 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1136
1137 wxPyEndAllowThreads(__tstate);
1138 if (PyErr_Occurred()) SWIG_fail;
1139 }
1140 resultobj = PyInt_FromLong((long)result);
1141 {
1142 if (temp7)
1143 delete arg7;
1144 }
1145 return resultobj;
1146 fail:
1147 {
1148 if (temp7)
1149 delete arg7;
1150 }
1151 return NULL;
1152 }
1153
1154
1155 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1156 PyObject *resultobj;
1157 wxPanel *arg1 = (wxPanel *) 0 ;
1158 PyObject * obj0 = 0 ;
1159 char *kwnames[] = {
1160 (char *) "self", NULL
1161 };
1162
1163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1165 {
1166 PyThreadState* __tstate = wxPyBeginAllowThreads();
1167 (arg1)->InitDialog();
1168
1169 wxPyEndAllowThreads(__tstate);
1170 if (PyErr_Occurred()) SWIG_fail;
1171 }
1172 Py_INCREF(Py_None); resultobj = Py_None;
1173 return resultobj;
1174 fail:
1175 return NULL;
1176 }
1177
1178
1179 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1180 PyObject *obj;
1181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1182 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1183 Py_INCREF(obj);
1184 return Py_BuildValue((char *)"");
1185 }
1186 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1187 PyObject *resultobj;
1188 wxWindow *arg1 = (wxWindow *) 0 ;
1189 int arg2 = (int) (int)-1 ;
1190 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1191 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1192 wxSize const &arg4_defvalue = wxDefaultSize ;
1193 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1194 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1195 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1196 wxString *arg6 = (wxString *) &arg6_defvalue ;
1197 wxScrolledWindow *result;
1198 wxPoint temp3 ;
1199 wxSize temp4 ;
1200 bool temp6 = False ;
1201 PyObject * obj0 = 0 ;
1202 PyObject * obj2 = 0 ;
1203 PyObject * obj3 = 0 ;
1204 PyObject * obj5 = 0 ;
1205 char *kwnames[] = {
1206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1207 };
1208
1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1211 if (obj2) {
1212 {
1213 arg3 = &temp3;
1214 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1215 }
1216 }
1217 if (obj3) {
1218 {
1219 arg4 = &temp4;
1220 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1221 }
1222 }
1223 if (obj5) {
1224 {
1225 arg6 = wxString_in_helper(obj5);
1226 if (arg6 == NULL) SWIG_fail;
1227 temp6 = True;
1228 }
1229 }
1230 {
1231 PyThreadState* __tstate = wxPyBeginAllowThreads();
1232 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1233
1234 wxPyEndAllowThreads(__tstate);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 }
1237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1238 {
1239 if (temp6)
1240 delete arg6;
1241 }
1242 return resultobj;
1243 fail:
1244 {
1245 if (temp6)
1246 delete arg6;
1247 }
1248 return NULL;
1249 }
1250
1251
1252 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1253 PyObject *resultobj;
1254 wxScrolledWindow *result;
1255 char *kwnames[] = {
1256 NULL
1257 };
1258
1259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1260 {
1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
1262 result = (wxScrolledWindow *)new wxScrolledWindow();
1263
1264 wxPyEndAllowThreads(__tstate);
1265 if (PyErr_Occurred()) SWIG_fail;
1266 }
1267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1268 return resultobj;
1269 fail:
1270 return NULL;
1271 }
1272
1273
1274 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1275 PyObject *resultobj;
1276 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1277 wxWindow *arg2 = (wxWindow *) 0 ;
1278 int arg3 = (int) (int)-1 ;
1279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1281 wxSize const &arg5_defvalue = wxDefaultSize ;
1282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1283 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1284 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1285 wxString *arg7 = (wxString *) &arg7_defvalue ;
1286 bool result;
1287 wxPoint temp4 ;
1288 wxSize temp5 ;
1289 bool temp7 = False ;
1290 PyObject * obj0 = 0 ;
1291 PyObject * obj1 = 0 ;
1292 PyObject * obj3 = 0 ;
1293 PyObject * obj4 = 0 ;
1294 PyObject * obj6 = 0 ;
1295 char *kwnames[] = {
1296 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1297 };
1298
1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1302 if (obj3) {
1303 {
1304 arg4 = &temp4;
1305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1306 }
1307 }
1308 if (obj4) {
1309 {
1310 arg5 = &temp5;
1311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1312 }
1313 }
1314 if (obj6) {
1315 {
1316 arg7 = wxString_in_helper(obj6);
1317 if (arg7 == NULL) SWIG_fail;
1318 temp7 = True;
1319 }
1320 }
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 resultobj = PyInt_FromLong((long)result);
1329 {
1330 if (temp7)
1331 delete arg7;
1332 }
1333 return resultobj;
1334 fail:
1335 {
1336 if (temp7)
1337 delete arg7;
1338 }
1339 return NULL;
1340 }
1341
1342
1343 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject *resultobj;
1345 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1346 int arg2 ;
1347 int arg3 ;
1348 int arg4 ;
1349 int arg5 ;
1350 int arg6 = (int) 0 ;
1351 int arg7 = (int) 0 ;
1352 bool arg8 = (bool) False ;
1353 PyObject * obj0 = 0 ;
1354 PyObject * obj7 = 0 ;
1355 char *kwnames[] = {
1356 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1357 };
1358
1359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1361 if (obj7) {
1362 arg8 = PyInt_AsLong(obj7) ? true : false;
1363 if (PyErr_Occurred()) SWIG_fail;
1364 }
1365 {
1366 PyThreadState* __tstate = wxPyBeginAllowThreads();
1367 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1368
1369 wxPyEndAllowThreads(__tstate);
1370 if (PyErr_Occurred()) SWIG_fail;
1371 }
1372 Py_INCREF(Py_None); resultobj = Py_None;
1373 return resultobj;
1374 fail:
1375 return NULL;
1376 }
1377
1378
1379 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject *resultobj;
1381 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1382 int arg2 ;
1383 int arg3 ;
1384 PyObject * obj0 = 0 ;
1385 char *kwnames[] = {
1386 (char *) "self",(char *) "x",(char *) "y", NULL
1387 };
1388
1389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1391 {
1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
1393 (arg1)->Scroll(arg2,arg3);
1394
1395 wxPyEndAllowThreads(__tstate);
1396 if (PyErr_Occurred()) SWIG_fail;
1397 }
1398 Py_INCREF(Py_None); resultobj = Py_None;
1399 return resultobj;
1400 fail:
1401 return NULL;
1402 }
1403
1404
1405 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1406 PyObject *resultobj;
1407 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1408 int arg2 ;
1409 int result;
1410 PyObject * obj0 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "self",(char *) "orient", NULL
1413 };
1414
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1417 {
1418 PyThreadState* __tstate = wxPyBeginAllowThreads();
1419 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1420
1421 wxPyEndAllowThreads(__tstate);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
1424 resultobj = PyInt_FromLong((long)result);
1425 return resultobj;
1426 fail:
1427 return NULL;
1428 }
1429
1430
1431 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject *resultobj;
1433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1434 int arg2 ;
1435 int arg3 ;
1436 PyObject * obj0 = 0 ;
1437 char *kwnames[] = {
1438 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1439 };
1440
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 (arg1)->SetScrollPageSize(arg2,arg3);
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 Py_INCREF(Py_None); resultobj = Py_None;
1451 return resultobj;
1452 fail:
1453 return NULL;
1454 }
1455
1456
1457 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1460 int arg2 ;
1461 int arg3 ;
1462 PyObject * obj0 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1465 };
1466
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1469 {
1470 PyThreadState* __tstate = wxPyBeginAllowThreads();
1471 (arg1)->SetScrollRate(arg2,arg3);
1472
1473 wxPyEndAllowThreads(__tstate);
1474 if (PyErr_Occurred()) SWIG_fail;
1475 }
1476 Py_INCREF(Py_None); resultobj = Py_None;
1477 return resultobj;
1478 fail:
1479 return NULL;
1480 }
1481
1482
1483 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1484 PyObject *resultobj;
1485 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1486 int *arg2 = (int *) 0 ;
1487 int *arg3 = (int *) 0 ;
1488 int temp2 ;
1489 int temp3 ;
1490 PyObject * obj0 = 0 ;
1491 char *kwnames[] = {
1492 (char *) "self", NULL
1493 };
1494
1495 arg2 = &temp2;
1496 arg3 = &temp3;
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1499 {
1500 PyThreadState* __tstate = wxPyBeginAllowThreads();
1501 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1502
1503 wxPyEndAllowThreads(__tstate);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 }
1506 Py_INCREF(Py_None); resultobj = Py_None;
1507 {
1508 PyObject *o = PyInt_FromLong((long) (*arg2));
1509 resultobj = t_output_helper(resultobj,o);
1510 }
1511 {
1512 PyObject *o = PyInt_FromLong((long) (*arg3));
1513 resultobj = t_output_helper(resultobj,o);
1514 }
1515 return resultobj;
1516 fail:
1517 return NULL;
1518 }
1519
1520
1521 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1522 PyObject *resultobj;
1523 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1524 bool arg2 ;
1525 bool arg3 ;
1526 PyObject * obj0 = 0 ;
1527 PyObject * obj1 = 0 ;
1528 PyObject * obj2 = 0 ;
1529 char *kwnames[] = {
1530 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1531 };
1532
1533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1535 arg2 = PyInt_AsLong(obj1) ? true : false;
1536 if (PyErr_Occurred()) SWIG_fail;
1537 arg3 = PyInt_AsLong(obj2) ? true : false;
1538 if (PyErr_Occurred()) SWIG_fail;
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 (arg1)->EnableScrolling(arg2,arg3);
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 Py_INCREF(Py_None); resultobj = Py_None;
1547 return resultobj;
1548 fail:
1549 return NULL;
1550 }
1551
1552
1553 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1556 int *arg2 = (int *) 0 ;
1557 int *arg3 = (int *) 0 ;
1558 int temp2 ;
1559 int temp3 ;
1560 PyObject * obj0 = 0 ;
1561 char *kwnames[] = {
1562 (char *) "self", NULL
1563 };
1564
1565 arg2 = &temp2;
1566 arg3 = &temp3;
1567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 Py_INCREF(Py_None); resultobj = Py_None;
1577 {
1578 PyObject *o = PyInt_FromLong((long) (*arg2));
1579 resultobj = t_output_helper(resultobj,o);
1580 }
1581 {
1582 PyObject *o = PyInt_FromLong((long) (*arg3));
1583 resultobj = t_output_helper(resultobj,o);
1584 }
1585 return resultobj;
1586 fail:
1587 return NULL;
1588 }
1589
1590
1591 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject *resultobj;
1593 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1594 double arg2 ;
1595 double arg3 ;
1596 PyObject * obj0 = 0 ;
1597 char *kwnames[] = {
1598 (char *) "self",(char *) "xs",(char *) "ys", NULL
1599 };
1600
1601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 (arg1)->SetScale(arg2,arg3);
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 Py_INCREF(Py_None); resultobj = Py_None;
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1620 double result;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628 {
1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
1630 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1631
1632 wxPyEndAllowThreads(__tstate);
1633 if (PyErr_Occurred()) SWIG_fail;
1634 }
1635 resultobj = PyFloat_FromDouble(result);
1636 return resultobj;
1637 fail:
1638 return NULL;
1639 }
1640
1641
1642 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject *resultobj;
1644 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1645 double result;
1646 PyObject * obj0 = 0 ;
1647 char *kwnames[] = {
1648 (char *) "self", NULL
1649 };
1650
1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 resultobj = PyFloat_FromDouble(result);
1661 return resultobj;
1662 fail:
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1668 PyObject *resultobj;
1669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1670 wxPoint *arg2 = 0 ;
1671 wxPoint result;
1672 wxPoint temp2 ;
1673 PyObject * obj0 = 0 ;
1674 PyObject * obj1 = 0 ;
1675
1676 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1678 {
1679 arg2 = &temp2;
1680 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1681 }
1682 {
1683 PyThreadState* __tstate = wxPyBeginAllowThreads();
1684 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1685
1686 wxPyEndAllowThreads(__tstate);
1687 if (PyErr_Occurred()) SWIG_fail;
1688 }
1689 {
1690 wxPoint * resultptr;
1691 resultptr = new wxPoint((wxPoint &) result);
1692 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1693 }
1694 return resultobj;
1695 fail:
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1701 PyObject *resultobj;
1702 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1703 int arg2 ;
1704 int arg3 ;
1705 int *arg4 = (int *) 0 ;
1706 int *arg5 = (int *) 0 ;
1707 int temp4 ;
1708 int temp5 ;
1709 PyObject * obj0 = 0 ;
1710
1711 arg4 = &temp4;
1712 arg5 = &temp5;
1713 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1715 {
1716 PyThreadState* __tstate = wxPyBeginAllowThreads();
1717 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1718
1719 wxPyEndAllowThreads(__tstate);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 }
1722 Py_INCREF(Py_None); resultobj = Py_None;
1723 {
1724 PyObject *o = PyInt_FromLong((long) (*arg4));
1725 resultobj = t_output_helper(resultobj,o);
1726 }
1727 {
1728 PyObject *o = PyInt_FromLong((long) (*arg5));
1729 resultobj = t_output_helper(resultobj,o);
1730 }
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1738 int argc;
1739 PyObject *argv[4];
1740 int ii;
1741
1742 argc = PyObject_Length(args);
1743 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1744 argv[ii] = PyTuple_GetItem(args,ii);
1745 }
1746 if (argc == 2) {
1747 int _v;
1748 {
1749 void *ptr;
1750 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1751 _v = 0;
1752 PyErr_Clear();
1753 } else {
1754 _v = 1;
1755 }
1756 }
1757 if (_v) {
1758 {
1759 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1760 }
1761 if (_v) {
1762 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1763 }
1764 }
1765 }
1766 if (argc == 3) {
1767 int _v;
1768 {
1769 void *ptr;
1770 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1771 _v = 0;
1772 PyErr_Clear();
1773 } else {
1774 _v = 1;
1775 }
1776 }
1777 if (_v) {
1778 {
1779 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1780 }
1781 if (_v) {
1782 {
1783 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1784 }
1785 if (_v) {
1786 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1787 }
1788 }
1789 }
1790 }
1791
1792 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1798 PyObject *resultobj;
1799 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1800 wxPoint *arg2 = 0 ;
1801 wxPoint result;
1802 wxPoint temp2 ;
1803 PyObject * obj0 = 0 ;
1804 PyObject * obj1 = 0 ;
1805
1806 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 {
1809 arg2 = &temp2;
1810 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1811 }
1812 {
1813 PyThreadState* __tstate = wxPyBeginAllowThreads();
1814 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1815
1816 wxPyEndAllowThreads(__tstate);
1817 if (PyErr_Occurred()) SWIG_fail;
1818 }
1819 {
1820 wxPoint * resultptr;
1821 resultptr = new wxPoint((wxPoint &) result);
1822 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1823 }
1824 return resultobj;
1825 fail:
1826 return NULL;
1827 }
1828
1829
1830 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1831 PyObject *resultobj;
1832 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1833 int arg2 ;
1834 int arg3 ;
1835 int *arg4 = (int *) 0 ;
1836 int *arg5 = (int *) 0 ;
1837 int temp4 ;
1838 int temp5 ;
1839 PyObject * obj0 = 0 ;
1840
1841 arg4 = &temp4;
1842 arg5 = &temp5;
1843 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1845 {
1846 PyThreadState* __tstate = wxPyBeginAllowThreads();
1847 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1848
1849 wxPyEndAllowThreads(__tstate);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 }
1852 Py_INCREF(Py_None); resultobj = Py_None;
1853 {
1854 PyObject *o = PyInt_FromLong((long) (*arg4));
1855 resultobj = t_output_helper(resultobj,o);
1856 }
1857 {
1858 PyObject *o = PyInt_FromLong((long) (*arg5));
1859 resultobj = t_output_helper(resultobj,o);
1860 }
1861 return resultobj;
1862 fail:
1863 return NULL;
1864 }
1865
1866
1867 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1868 int argc;
1869 PyObject *argv[4];
1870 int ii;
1871
1872 argc = PyObject_Length(args);
1873 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1874 argv[ii] = PyTuple_GetItem(args,ii);
1875 }
1876 if (argc == 2) {
1877 int _v;
1878 {
1879 void *ptr;
1880 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1881 _v = 0;
1882 PyErr_Clear();
1883 } else {
1884 _v = 1;
1885 }
1886 }
1887 if (_v) {
1888 {
1889 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1890 }
1891 if (_v) {
1892 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1893 }
1894 }
1895 }
1896 if (argc == 3) {
1897 int _v;
1898 {
1899 void *ptr;
1900 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1901 _v = 0;
1902 PyErr_Clear();
1903 } else {
1904 _v = 1;
1905 }
1906 }
1907 if (_v) {
1908 {
1909 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1910 }
1911 if (_v) {
1912 {
1913 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1914 }
1915 if (_v) {
1916 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1917 }
1918 }
1919 }
1920 }
1921
1922 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1930 PyObject * obj0 = 0 ;
1931 char *kwnames[] = {
1932 (char *) "self", NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 (arg1)->AdjustScrollbars();
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 Py_INCREF(Py_None); resultobj = Py_None;
1945 return resultobj;
1946 fail:
1947 return NULL;
1948 }
1949
1950
1951 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1954 wxScrollWinEvent *arg2 = 0 ;
1955 int result;
1956 PyObject * obj0 = 0 ;
1957 PyObject * obj1 = 0 ;
1958 char *kwnames[] = {
1959 (char *) "self",(char *) "event", NULL
1960 };
1961
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1965 if (arg2 == NULL) {
1966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1967 }
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 result = (int)(arg1)->CalcScrollInc(*arg2);
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 resultobj = PyInt_FromLong((long)result);
1976 return resultobj;
1977 fail:
1978 return NULL;
1979 }
1980
1981
1982 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject *resultobj;
1984 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1985 wxWindow *arg2 = (wxWindow *) 0 ;
1986 PyObject * obj0 = 0 ;
1987 PyObject * obj1 = 0 ;
1988 char *kwnames[] = {
1989 (char *) "self",(char *) "target", NULL
1990 };
1991
1992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1995 {
1996 PyThreadState* __tstate = wxPyBeginAllowThreads();
1997 (arg1)->SetTargetWindow(arg2);
1998
1999 wxPyEndAllowThreads(__tstate);
2000 if (PyErr_Occurred()) SWIG_fail;
2001 }
2002 Py_INCREF(Py_None); resultobj = Py_None;
2003 return resultobj;
2004 fail:
2005 return NULL;
2006 }
2007
2008
2009 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2010 PyObject *resultobj;
2011 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2012 wxWindow *result;
2013 PyObject * obj0 = 0 ;
2014 char *kwnames[] = {
2015 (char *) "self", NULL
2016 };
2017
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2020 {
2021 PyThreadState* __tstate = wxPyBeginAllowThreads();
2022 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2023
2024 wxPyEndAllowThreads(__tstate);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
2027 {
2028 resultobj = wxPyMake_wxObject(result);
2029 }
2030 return resultobj;
2031 fail:
2032 return NULL;
2033 }
2034
2035
2036 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2039 wxRect *arg2 = 0 ;
2040 wxRect temp2 ;
2041 PyObject * obj0 = 0 ;
2042 PyObject * obj1 = 0 ;
2043 char *kwnames[] = {
2044 (char *) "self",(char *) "rect", NULL
2045 };
2046
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2049 {
2050 arg2 = &temp2;
2051 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2052 }
2053 {
2054 PyThreadState* __tstate = wxPyBeginAllowThreads();
2055 (arg1)->SetTargetRect((wxRect const &)*arg2);
2056
2057 wxPyEndAllowThreads(__tstate);
2058 if (PyErr_Occurred()) SWIG_fail;
2059 }
2060 Py_INCREF(Py_None); resultobj = Py_None;
2061 return resultobj;
2062 fail:
2063 return NULL;
2064 }
2065
2066
2067 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject *resultobj;
2069 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2070 wxRect result;
2071 PyObject * obj0 = 0 ;
2072 char *kwnames[] = {
2073 (char *) "self", NULL
2074 };
2075
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2078 {
2079 PyThreadState* __tstate = wxPyBeginAllowThreads();
2080 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2081
2082 wxPyEndAllowThreads(__tstate);
2083 if (PyErr_Occurred()) SWIG_fail;
2084 }
2085 {
2086 wxRect * resultptr;
2087 resultptr = new wxRect((wxRect &) result);
2088 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2089 }
2090 return resultobj;
2091 fail:
2092 return NULL;
2093 }
2094
2095
2096 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2097 PyObject *obj;
2098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2099 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2100 Py_INCREF(obj);
2101 return Py_BuildValue((char *)"");
2102 }
2103 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2104 PyObject *resultobj;
2105 int arg1 = (int) 0 ;
2106 int arg2 = (int) 0 ;
2107 int arg3 = (int) 0 ;
2108 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
2109 wxAcceleratorEntry *result;
2110 PyObject * obj3 = 0 ;
2111 char *kwnames[] = {
2112 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2113 };
2114
2115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
2116 if (obj3) {
2117 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2118 }
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
2127 return resultobj;
2128 fail:
2129 return NULL;
2130 }
2131
2132
2133 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject *resultobj;
2135 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2136 PyObject * obj0 = 0 ;
2137 char *kwnames[] = {
2138 (char *) "self", NULL
2139 };
2140
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2143 {
2144 PyThreadState* __tstate = wxPyBeginAllowThreads();
2145 delete arg1;
2146
2147 wxPyEndAllowThreads(__tstate);
2148 if (PyErr_Occurred()) SWIG_fail;
2149 }
2150 Py_INCREF(Py_None); resultobj = Py_None;
2151 return resultobj;
2152 fail:
2153 return NULL;
2154 }
2155
2156
2157 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2158 PyObject *resultobj;
2159 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2160 int arg2 ;
2161 int arg3 ;
2162 int arg4 ;
2163 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
2164 PyObject * obj0 = 0 ;
2165 PyObject * obj4 = 0 ;
2166 char *kwnames[] = {
2167 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2168 };
2169
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2172 if (obj4) {
2173 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2174 }
2175 {
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
2177 (arg1)->Set(arg2,arg3,arg4,arg5);
2178
2179 wxPyEndAllowThreads(__tstate);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 Py_INCREF(Py_None); resultobj = Py_None;
2183 return resultobj;
2184 fail:
2185 return NULL;
2186 }
2187
2188
2189 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2192 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2193 PyObject * obj0 = 0 ;
2194 PyObject * obj1 = 0 ;
2195 char *kwnames[] = {
2196 (char *) "self",(char *) "item", NULL
2197 };
2198
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 (arg1)->SetMenuItem(arg2);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 Py_INCREF(Py_None); resultobj = Py_None;
2210 return resultobj;
2211 fail:
2212 return NULL;
2213 }
2214
2215
2216 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2217 PyObject *resultobj;
2218 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2219 wxMenuItem *result;
2220 PyObject * obj0 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2227 {
2228 PyThreadState* __tstate = wxPyBeginAllowThreads();
2229 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
2230
2231 wxPyEndAllowThreads(__tstate);
2232 if (PyErr_Occurred()) SWIG_fail;
2233 }
2234 {
2235 resultobj = wxPyMake_wxObject(result);
2236 }
2237 return resultobj;
2238 fail:
2239 return NULL;
2240 }
2241
2242
2243 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject *resultobj;
2245 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2246 int result;
2247 PyObject * obj0 = 0 ;
2248 char *kwnames[] = {
2249 (char *) "self", NULL
2250 };
2251
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2254 {
2255 PyThreadState* __tstate = wxPyBeginAllowThreads();
2256 result = (int)(arg1)->GetFlags();
2257
2258 wxPyEndAllowThreads(__tstate);
2259 if (PyErr_Occurred()) SWIG_fail;
2260 }
2261 resultobj = PyInt_FromLong((long)result);
2262 return resultobj;
2263 fail:
2264 return NULL;
2265 }
2266
2267
2268 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2269 PyObject *resultobj;
2270 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2271 int result;
2272 PyObject * obj0 = 0 ;
2273 char *kwnames[] = {
2274 (char *) "self", NULL
2275 };
2276
2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2279 {
2280 PyThreadState* __tstate = wxPyBeginAllowThreads();
2281 result = (int)(arg1)->GetKeyCode();
2282
2283 wxPyEndAllowThreads(__tstate);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 }
2286 resultobj = PyInt_FromLong((long)result);
2287 return resultobj;
2288 fail:
2289 return NULL;
2290 }
2291
2292
2293 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2294 PyObject *resultobj;
2295 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2296 int result;
2297 PyObject * obj0 = 0 ;
2298 char *kwnames[] = {
2299 (char *) "self", NULL
2300 };
2301
2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2304 {
2305 PyThreadState* __tstate = wxPyBeginAllowThreads();
2306 result = (int)(arg1)->GetCommand();
2307
2308 wxPyEndAllowThreads(__tstate);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 }
2311 resultobj = PyInt_FromLong((long)result);
2312 return resultobj;
2313 fail:
2314 return NULL;
2315 }
2316
2317
2318 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
2319 PyObject *obj;
2320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2321 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
2322 Py_INCREF(obj);
2323 return Py_BuildValue((char *)"");
2324 }
2325 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2326 PyObject *resultobj;
2327 int arg1 ;
2328 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
2329 wxAcceleratorTable *result;
2330 PyObject * obj0 = 0 ;
2331 char *kwnames[] = {
2332 (char *) "n", NULL
2333 };
2334
2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
2336 {
2337 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
2338 if (arg2) arg1 = PyList_Size(obj0);
2339 else arg1 = 0;
2340 }
2341 {
2342 PyThreadState* __tstate = wxPyBeginAllowThreads();
2343 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
2344
2345 wxPyEndAllowThreads(__tstate);
2346 if (PyErr_Occurred()) SWIG_fail;
2347 }
2348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
2349 {
2350 delete [] arg2;
2351 }
2352 return resultobj;
2353 fail:
2354 {
2355 delete [] arg2;
2356 }
2357 return NULL;
2358 }
2359
2360
2361 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2362 PyObject *resultobj;
2363 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2364 PyObject * obj0 = 0 ;
2365 char *kwnames[] = {
2366 (char *) "self", NULL
2367 };
2368
2369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2371 {
2372 PyThreadState* __tstate = wxPyBeginAllowThreads();
2373 delete arg1;
2374
2375 wxPyEndAllowThreads(__tstate);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 }
2378 Py_INCREF(Py_None); resultobj = Py_None;
2379 return resultobj;
2380 fail:
2381 return NULL;
2382 }
2383
2384
2385 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2388 bool result;
2389 PyObject * obj0 = 0 ;
2390 char *kwnames[] = {
2391 (char *) "self", NULL
2392 };
2393
2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 resultobj = PyInt_FromLong((long)result);
2404 return resultobj;
2405 fail:
2406 return NULL;
2407 }
2408
2409
2410 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
2411 PyObject *obj;
2412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2413 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
2414 Py_INCREF(obj);
2415 return Py_BuildValue((char *)"");
2416 }
2417 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
2418 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
2419 return 1;
2420 }
2421
2422
2423 static PyObject *_wrap_NullAcceleratorTable_get() {
2424 PyObject *pyobj;
2425
2426 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
2427 return pyobj;
2428 }
2429
2430
2431 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
2432 PyObject *resultobj;
2433 wxString *arg1 = 0 ;
2434 wxAcceleratorEntry *result;
2435 bool temp1 = False ;
2436 PyObject * obj0 = 0 ;
2437 char *kwnames[] = {
2438 (char *) "label", NULL
2439 };
2440
2441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
2442 {
2443 arg1 = wxString_in_helper(obj0);
2444 if (arg1 == NULL) SWIG_fail;
2445 temp1 = True;
2446 }
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
2449 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
2454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
2455 {
2456 if (temp1)
2457 delete arg1;
2458 }
2459 return resultobj;
2460 fail:
2461 {
2462 if (temp1)
2463 delete arg1;
2464 }
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2472 bool arg2 = (bool) True ;
2473 PyObject * obj0 = 0 ;
2474 PyObject * obj1 = 0 ;
2475 char *kwnames[] = {
2476 (char *) "self",(char *) "maximize", NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2481 if (obj1) {
2482 arg2 = PyInt_AsLong(obj1) ? true : false;
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 (arg1)->Maximize(arg2);
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 Py_INCREF(Py_None); resultobj = Py_None;
2493 return resultobj;
2494 fail:
2495 return NULL;
2496 }
2497
2498
2499 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject *resultobj;
2501 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2502 PyObject * obj0 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 (arg1)->Restore();
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 Py_INCREF(Py_None); resultobj = Py_None;
2517 return resultobj;
2518 fail:
2519 return NULL;
2520 }
2521
2522
2523 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2526 bool arg2 = (bool) True ;
2527 PyObject * obj0 = 0 ;
2528 PyObject * obj1 = 0 ;
2529 char *kwnames[] = {
2530 (char *) "self",(char *) "iconize", NULL
2531 };
2532
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2535 if (obj1) {
2536 arg2 = PyInt_AsLong(obj1) ? true : false;
2537 if (PyErr_Occurred()) SWIG_fail;
2538 }
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 (arg1)->Iconize(arg2);
2542
2543 wxPyEndAllowThreads(__tstate);
2544 if (PyErr_Occurred()) SWIG_fail;
2545 }
2546 Py_INCREF(Py_None); resultobj = Py_None;
2547 return resultobj;
2548 fail:
2549 return NULL;
2550 }
2551
2552
2553 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2554 PyObject *resultobj;
2555 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2556 bool result;
2557 PyObject * obj0 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "self", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2564 {
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 resultobj = PyInt_FromLong((long)result);
2572 return resultobj;
2573 fail:
2574 return NULL;
2575 }
2576
2577
2578 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2579 PyObject *resultobj;
2580 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2581 bool result;
2582 PyObject * obj0 = 0 ;
2583 char *kwnames[] = {
2584 (char *) "self", NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2589 {
2590 PyThreadState* __tstate = wxPyBeginAllowThreads();
2591 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2592
2593 wxPyEndAllowThreads(__tstate);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 resultobj = PyInt_FromLong((long)result);
2597 return resultobj;
2598 fail:
2599 return NULL;
2600 }
2601
2602
2603 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject *resultobj;
2605 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2606 wxIcon result;
2607 PyObject * obj0 = 0 ;
2608 char *kwnames[] = {
2609 (char *) "self", NULL
2610 };
2611
2612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2614 {
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 {
2622 wxIcon * resultptr;
2623 resultptr = new wxIcon((wxIcon &) result);
2624 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2625 }
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2635 wxIcon *arg2 = 0 ;
2636 PyObject * obj0 = 0 ;
2637 PyObject * obj1 = 0 ;
2638 char *kwnames[] = {
2639 (char *) "self",(char *) "icon", NULL
2640 };
2641
2642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2645 if (arg2 == NULL) {
2646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2647 }
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 (arg1)->SetIcon((wxIcon const &)*arg2);
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
2655 Py_INCREF(Py_None); resultobj = Py_None;
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj;
2664 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2665 wxIconBundle *arg2 = 0 ;
2666 PyObject * obj0 = 0 ;
2667 PyObject * obj1 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "self",(char *) "icons", NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2675 if (arg2 == NULL) {
2676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2677 }
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2695 bool arg2 ;
2696 long arg3 = (long) wxFULLSCREEN_ALL ;
2697 bool result;
2698 PyObject * obj0 = 0 ;
2699 PyObject * obj1 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self",(char *) "show",(char *) "style", NULL
2702 };
2703
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2706 arg2 = PyInt_AsLong(obj1) ? true : false;
2707 if (PyErr_Occurred()) SWIG_fail;
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 resultobj = PyInt_FromLong((long)result);
2716 return resultobj;
2717 fail:
2718 return NULL;
2719 }
2720
2721
2722 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2725 bool result;
2726 PyObject * obj0 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 resultobj = PyInt_FromLong((long)result);
2741 return resultobj;
2742 fail:
2743 return NULL;
2744 }
2745
2746
2747 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2748 PyObject *resultobj;
2749 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2750 wxString *arg2 = 0 ;
2751 bool temp2 = False ;
2752 PyObject * obj0 = 0 ;
2753 PyObject * obj1 = 0 ;
2754 char *kwnames[] = {
2755 (char *) "self",(char *) "title", NULL
2756 };
2757
2758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2760 {
2761 arg2 = wxString_in_helper(obj1);
2762 if (arg2 == NULL) SWIG_fail;
2763 temp2 = True;
2764 }
2765 {
2766 PyThreadState* __tstate = wxPyBeginAllowThreads();
2767 (arg1)->SetTitle((wxString const &)*arg2);
2768
2769 wxPyEndAllowThreads(__tstate);
2770 if (PyErr_Occurred()) SWIG_fail;
2771 }
2772 Py_INCREF(Py_None); resultobj = Py_None;
2773 {
2774 if (temp2)
2775 delete arg2;
2776 }
2777 return resultobj;
2778 fail:
2779 {
2780 if (temp2)
2781 delete arg2;
2782 }
2783 return NULL;
2784 }
2785
2786
2787 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2788 PyObject *resultobj;
2789 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2790 wxString result;
2791 PyObject * obj0 = 0 ;
2792 char *kwnames[] = {
2793 (char *) "self", NULL
2794 };
2795
2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 {
2806 #if wxUSE_UNICODE
2807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2808 #else
2809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2810 #endif
2811 }
2812 return resultobj;
2813 fail:
2814 return NULL;
2815 }
2816
2817
2818 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj;
2820 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2821 wxRegion *arg2 = 0 ;
2822 bool result;
2823 PyObject * obj0 = 0 ;
2824 PyObject * obj1 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self",(char *) "region", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2832 if (arg2 == NULL) {
2833 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2834 }
2835 {
2836 PyThreadState* __tstate = wxPyBeginAllowThreads();
2837 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2838
2839 wxPyEndAllowThreads(__tstate);
2840 if (PyErr_Occurred()) SWIG_fail;
2841 }
2842 resultobj = PyInt_FromLong((long)result);
2843 return resultobj;
2844 fail:
2845 return NULL;
2846 }
2847
2848
2849 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2850 PyObject *obj;
2851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2852 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2853 Py_INCREF(obj);
2854 return Py_BuildValue((char *)"");
2855 }
2856 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject *resultobj;
2858 wxWindow *arg1 = (wxWindow *) 0 ;
2859 int arg2 ;
2860 wxString *arg3 = 0 ;
2861 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2862 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2863 wxSize const &arg5_defvalue = wxDefaultSize ;
2864 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2865 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2866 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2867 wxString *arg7 = (wxString *) &arg7_defvalue ;
2868 wxFrame *result;
2869 bool temp3 = False ;
2870 wxPoint temp4 ;
2871 wxSize temp5 ;
2872 bool temp7 = False ;
2873 PyObject * obj0 = 0 ;
2874 PyObject * obj2 = 0 ;
2875 PyObject * obj3 = 0 ;
2876 PyObject * obj4 = 0 ;
2877 PyObject * obj6 = 0 ;
2878 char *kwnames[] = {
2879 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2880 };
2881
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2884 {
2885 arg3 = wxString_in_helper(obj2);
2886 if (arg3 == NULL) SWIG_fail;
2887 temp3 = True;
2888 }
2889 if (obj3) {
2890 {
2891 arg4 = &temp4;
2892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2893 }
2894 }
2895 if (obj4) {
2896 {
2897 arg5 = &temp5;
2898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2899 }
2900 }
2901 if (obj6) {
2902 {
2903 arg7 = wxString_in_helper(obj6);
2904 if (arg7 == NULL) SWIG_fail;
2905 temp7 = True;
2906 }
2907 }
2908 {
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2911
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 {
2916 resultobj = wxPyMake_wxObject(result);
2917 }
2918 {
2919 if (temp3)
2920 delete arg3;
2921 }
2922 {
2923 if (temp7)
2924 delete arg7;
2925 }
2926 return resultobj;
2927 fail:
2928 {
2929 if (temp3)
2930 delete arg3;
2931 }
2932 {
2933 if (temp7)
2934 delete arg7;
2935 }
2936 return NULL;
2937 }
2938
2939
2940 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject *resultobj;
2942 wxFrame *result;
2943 char *kwnames[] = {
2944 NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 result = (wxFrame *)new wxFrame();
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
2956 resultobj = wxPyMake_wxObject(result);
2957 }
2958 return resultobj;
2959 fail:
2960 return NULL;
2961 }
2962
2963
2964 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj;
2966 wxFrame *arg1 = (wxFrame *) 0 ;
2967 wxWindow *arg2 = (wxWindow *) 0 ;
2968 int arg3 ;
2969 wxString *arg4 = 0 ;
2970 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2971 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2972 wxSize const &arg6_defvalue = wxDefaultSize ;
2973 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2974 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2975 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2976 wxString *arg8 = (wxString *) &arg8_defvalue ;
2977 bool result;
2978 bool temp4 = False ;
2979 wxPoint temp5 ;
2980 wxSize temp6 ;
2981 bool temp8 = False ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
2984 PyObject * obj3 = 0 ;
2985 PyObject * obj4 = 0 ;
2986 PyObject * obj5 = 0 ;
2987 PyObject * obj7 = 0 ;
2988 char *kwnames[] = {
2989 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2990 };
2991
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2995 {
2996 arg4 = wxString_in_helper(obj3);
2997 if (arg4 == NULL) SWIG_fail;
2998 temp4 = True;
2999 }
3000 if (obj4) {
3001 {
3002 arg5 = &temp5;
3003 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3004 }
3005 }
3006 if (obj5) {
3007 {
3008 arg6 = &temp6;
3009 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3010 }
3011 }
3012 if (obj7) {
3013 {
3014 arg8 = wxString_in_helper(obj7);
3015 if (arg8 == NULL) SWIG_fail;
3016 temp8 = True;
3017 }
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 resultobj = PyInt_FromLong((long)result);
3027 {
3028 if (temp4)
3029 delete arg4;
3030 }
3031 {
3032 if (temp8)
3033 delete arg8;
3034 }
3035 return resultobj;
3036 fail:
3037 {
3038 if (temp4)
3039 delete arg4;
3040 }
3041 {
3042 if (temp8)
3043 delete arg8;
3044 }
3045 return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj;
3051 wxFrame *arg1 = (wxFrame *) 0 ;
3052 wxPoint result;
3053 PyObject * obj0 = 0 ;
3054 char *kwnames[] = {
3055 (char *) "self", NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 {
3068 wxPoint * resultptr;
3069 resultptr = new wxPoint((wxPoint &) result);
3070 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3071 }
3072 return resultobj;
3073 fail:
3074 return NULL;
3075 }
3076
3077
3078 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3079 PyObject *resultobj;
3080 wxFrame *arg1 = (wxFrame *) 0 ;
3081 PyObject * obj0 = 0 ;
3082 char *kwnames[] = {
3083 (char *) "self", NULL
3084 };
3085
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3088 {
3089 PyThreadState* __tstate = wxPyBeginAllowThreads();
3090 (arg1)->SendSizeEvent();
3091
3092 wxPyEndAllowThreads(__tstate);
3093 if (PyErr_Occurred()) SWIG_fail;
3094 }
3095 Py_INCREF(Py_None); resultobj = Py_None;
3096 return resultobj;
3097 fail:
3098 return NULL;
3099 }
3100
3101
3102 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3103 PyObject *resultobj;
3104 wxFrame *arg1 = (wxFrame *) 0 ;
3105 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3106 PyObject * obj0 = 0 ;
3107 PyObject * obj1 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self",(char *) "menubar", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 (arg1)->SetMenuBar(arg2);
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 Py_INCREF(Py_None); resultobj = Py_None;
3123 return resultobj;
3124 fail:
3125 return NULL;
3126 }
3127
3128
3129 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxFrame *arg1 = (wxFrame *) 0 ;
3132 wxMenuBar *result;
3133 PyObject * obj0 = 0 ;
3134 char *kwnames[] = {
3135 (char *) "self", NULL
3136 };
3137
3138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 }
3147 {
3148 resultobj = wxPyMake_wxObject(result);
3149 }
3150 return resultobj;
3151 fail:
3152 return NULL;
3153 }
3154
3155
3156 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3157 PyObject *resultobj;
3158 wxFrame *arg1 = (wxFrame *) 0 ;
3159 int arg2 ;
3160 bool result;
3161 PyObject * obj0 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self",(char *) "winid", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 {
3169 PyThreadState* __tstate = wxPyBeginAllowThreads();
3170 result = (bool)(arg1)->ProcessCommand(arg2);
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
3175 resultobj = PyInt_FromLong((long)result);
3176 return resultobj;
3177 fail:
3178 return NULL;
3179 }
3180
3181
3182 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3183 PyObject *resultobj;
3184 wxFrame *arg1 = (wxFrame *) 0 ;
3185 int arg2 = (int) 1 ;
3186 long arg3 = (long) wxST_SIZEGRIP ;
3187 int arg4 = (int) 0 ;
3188 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3189 wxString *arg5 = (wxString *) &arg5_defvalue ;
3190 wxStatusBar *result;
3191 bool temp5 = False ;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj4 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3200 if (obj4) {
3201 {
3202 arg5 = wxString_in_helper(obj4);
3203 if (arg5 == NULL) SWIG_fail;
3204 temp5 = True;
3205 }
3206 }
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 {
3215 resultobj = wxPyMake_wxObject(result);
3216 }
3217 {
3218 if (temp5)
3219 delete arg5;
3220 }
3221 return resultobj;
3222 fail:
3223 {
3224 if (temp5)
3225 delete arg5;
3226 }
3227 return NULL;
3228 }
3229
3230
3231 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj;
3233 wxFrame *arg1 = (wxFrame *) 0 ;
3234 wxStatusBar *result;
3235 PyObject * obj0 = 0 ;
3236 char *kwnames[] = {
3237 (char *) "self", NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3242 {
3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
3244 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3245
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 }
3249 {
3250 resultobj = wxPyMake_wxObject(result);
3251 }
3252 return resultobj;
3253 fail:
3254 return NULL;
3255 }
3256
3257
3258 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxFrame *arg1 = (wxFrame *) 0 ;
3261 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3262 PyObject * obj0 = 0 ;
3263 PyObject * obj1 = 0 ;
3264 char *kwnames[] = {
3265 (char *) "self",(char *) "statBar", NULL
3266 };
3267
3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 (arg1)->SetStatusBar(arg2);
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 Py_INCREF(Py_None); resultobj = Py_None;
3279 return resultobj;
3280 fail:
3281 return NULL;
3282 }
3283
3284
3285 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3286 PyObject *resultobj;
3287 wxFrame *arg1 = (wxFrame *) 0 ;
3288 wxString *arg2 = 0 ;
3289 int arg3 = (int) 0 ;
3290 bool temp2 = False ;
3291 PyObject * obj0 = 0 ;
3292 PyObject * obj1 = 0 ;
3293 char *kwnames[] = {
3294 (char *) "self",(char *) "text",(char *) "number", NULL
3295 };
3296
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3299 {
3300 arg2 = wxString_in_helper(obj1);
3301 if (arg2 == NULL) SWIG_fail;
3302 temp2 = True;
3303 }
3304 {
3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
3306 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3307
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 Py_INCREF(Py_None); resultobj = Py_None;
3312 {
3313 if (temp2)
3314 delete arg2;
3315 }
3316 return resultobj;
3317 fail:
3318 {
3319 if (temp2)
3320 delete arg2;
3321 }
3322 return NULL;
3323 }
3324
3325
3326 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3327 PyObject *resultobj;
3328 wxFrame *arg1 = (wxFrame *) 0 ;
3329 int arg2 ;
3330 int *arg3 = (int *) 0 ;
3331 PyObject * obj0 = 0 ;
3332 PyObject * obj1 = 0 ;
3333 char *kwnames[] = {
3334 (char *) "self",(char *) "widths", NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3339 {
3340 arg2 = PyList_Size(obj1);
3341 arg3 = int_LIST_helper(obj1);
3342 if (arg3 == NULL) SWIG_fail;
3343 }
3344 {
3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
3346 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3347
3348 wxPyEndAllowThreads(__tstate);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
3351 Py_INCREF(Py_None); resultobj = Py_None;
3352 {
3353 if (arg3) delete [] arg3;
3354 }
3355 return resultobj;
3356 fail:
3357 {
3358 if (arg3) delete [] arg3;
3359 }
3360 return NULL;
3361 }
3362
3363
3364 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject *resultobj;
3366 wxFrame *arg1 = (wxFrame *) 0 ;
3367 wxString *arg2 = 0 ;
3368 int arg3 = (int) 0 ;
3369 bool temp2 = False ;
3370 PyObject * obj0 = 0 ;
3371 PyObject * obj1 = 0 ;
3372 char *kwnames[] = {
3373 (char *) "self",(char *) "text",(char *) "number", NULL
3374 };
3375
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3378 {
3379 arg2 = wxString_in_helper(obj1);
3380 if (arg2 == NULL) SWIG_fail;
3381 temp2 = True;
3382 }
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 Py_INCREF(Py_None); resultobj = Py_None;
3391 {
3392 if (temp2)
3393 delete arg2;
3394 }
3395 return resultobj;
3396 fail:
3397 {
3398 if (temp2)
3399 delete arg2;
3400 }
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxFrame *arg1 = (wxFrame *) 0 ;
3408 int arg2 = (int) 0 ;
3409 PyObject * obj0 = 0 ;
3410 char *kwnames[] = {
3411 (char *) "self",(char *) "number", NULL
3412 };
3413
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 (arg1)->PopStatusText(arg2);
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 Py_INCREF(Py_None); resultobj = Py_None;
3424 return resultobj;
3425 fail:
3426 return NULL;
3427 }
3428
3429
3430 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxFrame *arg1 = (wxFrame *) 0 ;
3433 int arg2 ;
3434 PyObject * obj0 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "self",(char *) "n", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 (arg1)->SetStatusBarPane(arg2);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 Py_INCREF(Py_None); resultobj = Py_None;
3449 return resultobj;
3450 fail:
3451 return NULL;
3452 }
3453
3454
3455 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 wxFrame *arg1 = (wxFrame *) 0 ;
3458 int result;
3459 PyObject * obj0 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 resultobj = PyInt_FromLong((long)result);
3474 return resultobj;
3475 fail:
3476 return NULL;
3477 }
3478
3479
3480 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxFrame *arg1 = (wxFrame *) 0 ;
3483 long arg2 = (long) -1 ;
3484 int arg3 = (int) -1 ;
3485 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3486 wxString *arg4 = (wxString *) &arg4_defvalue ;
3487 wxToolBar *result;
3488 bool temp4 = False ;
3489 PyObject * obj0 = 0 ;
3490 PyObject * obj3 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3497 if (obj3) {
3498 {
3499 arg4 = wxString_in_helper(obj3);
3500 if (arg4 == NULL) SWIG_fail;
3501 temp4 = True;
3502 }
3503 }
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 {
3512 resultobj = wxPyMake_wxObject(result);
3513 }
3514 {
3515 if (temp4)
3516 delete arg4;
3517 }
3518 return resultobj;
3519 fail:
3520 {
3521 if (temp4)
3522 delete arg4;
3523 }
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxFrame *arg1 = (wxFrame *) 0 ;
3531 wxToolBar *result;
3532 PyObject * obj0 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 {
3547 resultobj = wxPyMake_wxObject(result);
3548 }
3549 return resultobj;
3550 fail:
3551 return NULL;
3552 }
3553
3554
3555 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3556 PyObject *resultobj;
3557 wxFrame *arg1 = (wxFrame *) 0 ;
3558 wxToolBar *arg2 = (wxToolBar *) 0 ;
3559 PyObject * obj0 = 0 ;
3560 PyObject * obj1 = 0 ;
3561 char *kwnames[] = {
3562 (char *) "self",(char *) "toolbar", NULL
3563 };
3564
3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 (arg1)->SetToolBar(arg2);
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 Py_INCREF(Py_None); resultobj = Py_None;
3576 return resultobj;
3577 fail:
3578 return NULL;
3579 }
3580
3581
3582 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxFrame *arg1 = (wxFrame *) 0 ;
3585 wxString *arg2 = 0 ;
3586 bool arg3 ;
3587 bool temp2 = False ;
3588 PyObject * obj0 = 0 ;
3589 PyObject * obj1 = 0 ;
3590 PyObject * obj2 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self",(char *) "text",(char *) "show", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3597 {
3598 arg2 = wxString_in_helper(obj1);
3599 if (arg2 == NULL) SWIG_fail;
3600 temp2 = True;
3601 }
3602 arg3 = PyInt_AsLong(obj2) ? true : false;
3603 if (PyErr_Occurred()) SWIG_fail;
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
3606 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3607
3608 wxPyEndAllowThreads(__tstate);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 }
3611 Py_INCREF(Py_None); resultobj = Py_None;
3612 {
3613 if (temp2)
3614 delete arg2;
3615 }
3616 return resultobj;
3617 fail:
3618 {
3619 if (temp2)
3620 delete arg2;
3621 }
3622 return NULL;
3623 }
3624
3625
3626 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3627 PyObject *resultobj;
3628 wxFrame *arg1 = (wxFrame *) 0 ;
3629 wxMenu *arg2 = (wxMenu *) NULL ;
3630 PyObject * obj0 = 0 ;
3631 PyObject * obj1 = 0 ;
3632 char *kwnames[] = {
3633 (char *) "self",(char *) "menu", NULL
3634 };
3635
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3638 if (obj1) {
3639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3640 }
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 (arg1)->DoMenuUpdates(arg2);
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 Py_INCREF(Py_None); resultobj = Py_None;
3649 return resultobj;
3650 fail:
3651 return NULL;
3652 }
3653
3654
3655 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3656 PyObject *obj;
3657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3658 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3659 Py_INCREF(obj);
3660 return Py_BuildValue((char *)"");
3661 }
3662 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxWindow *arg1 = (wxWindow *) 0 ;
3665 int arg2 ;
3666 wxString *arg3 = 0 ;
3667 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3668 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3669 wxSize const &arg5_defvalue = wxDefaultSize ;
3670 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3671 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3672 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3673 wxString *arg7 = (wxString *) &arg7_defvalue ;
3674 wxDialog *result;
3675 bool temp3 = False ;
3676 wxPoint temp4 ;
3677 wxSize temp5 ;
3678 bool temp7 = False ;
3679 PyObject * obj0 = 0 ;
3680 PyObject * obj2 = 0 ;
3681 PyObject * obj3 = 0 ;
3682 PyObject * obj4 = 0 ;
3683 PyObject * obj6 = 0 ;
3684 char *kwnames[] = {
3685 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3690 {
3691 arg3 = wxString_in_helper(obj2);
3692 if (arg3 == NULL) SWIG_fail;
3693 temp3 = True;
3694 }
3695 if (obj3) {
3696 {
3697 arg4 = &temp4;
3698 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3699 }
3700 }
3701 if (obj4) {
3702 {
3703 arg5 = &temp5;
3704 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3705 }
3706 }
3707 if (obj6) {
3708 {
3709 arg7 = wxString_in_helper(obj6);
3710 if (arg7 == NULL) SWIG_fail;
3711 temp7 = True;
3712 }
3713 }
3714 {
3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
3716 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3722 {
3723 if (temp3)
3724 delete arg3;
3725 }
3726 {
3727 if (temp7)
3728 delete arg7;
3729 }
3730 return resultobj;
3731 fail:
3732 {
3733 if (temp3)
3734 delete arg3;
3735 }
3736 {
3737 if (temp7)
3738 delete arg7;
3739 }
3740 return NULL;
3741 }
3742
3743
3744 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 wxDialog *result;
3747 char *kwnames[] = {
3748 NULL
3749 };
3750
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (wxDialog *)new wxDialog();
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxDialog *arg1 = (wxDialog *) 0 ;
3769 wxWindow *arg2 = (wxWindow *) 0 ;
3770 int arg3 ;
3771 wxString *arg4 = 0 ;
3772 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3773 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3774 wxSize const &arg6_defvalue = wxDefaultSize ;
3775 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3776 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3777 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3778 wxString *arg8 = (wxString *) &arg8_defvalue ;
3779 bool result;
3780 bool temp4 = False ;
3781 wxPoint temp5 ;
3782 wxSize temp6 ;
3783 bool temp8 = False ;
3784 PyObject * obj0 = 0 ;
3785 PyObject * obj1 = 0 ;
3786 PyObject * obj3 = 0 ;
3787 PyObject * obj4 = 0 ;
3788 PyObject * obj5 = 0 ;
3789 PyObject * obj7 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3797 {
3798 arg4 = wxString_in_helper(obj3);
3799 if (arg4 == NULL) SWIG_fail;
3800 temp4 = True;
3801 }
3802 if (obj4) {
3803 {
3804 arg5 = &temp5;
3805 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3806 }
3807 }
3808 if (obj5) {
3809 {
3810 arg6 = &temp6;
3811 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3812 }
3813 }
3814 if (obj7) {
3815 {
3816 arg8 = wxString_in_helper(obj7);
3817 if (arg8 == NULL) SWIG_fail;
3818 temp8 = True;
3819 }
3820 }
3821 {
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3824
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = PyInt_FromLong((long)result);
3829 {
3830 if (temp4)
3831 delete arg4;
3832 }
3833 {
3834 if (temp8)
3835 delete arg8;
3836 }
3837 return resultobj;
3838 fail:
3839 {
3840 if (temp4)
3841 delete arg4;
3842 }
3843 {
3844 if (temp8)
3845 delete arg8;
3846 }
3847 return NULL;
3848 }
3849
3850
3851 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj;
3853 wxDialog *arg1 = (wxDialog *) 0 ;
3854 int arg2 ;
3855 PyObject * obj0 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "self",(char *) "returnCode", NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3862 {
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 (arg1)->SetReturnCode(arg2);
3865
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 Py_INCREF(Py_None); resultobj = Py_None;
3870 return resultobj;
3871 fail:
3872 return NULL;
3873 }
3874
3875
3876 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3877 PyObject *resultobj;
3878 wxDialog *arg1 = (wxDialog *) 0 ;
3879 int result;
3880 PyObject * obj0 = 0 ;
3881 char *kwnames[] = {
3882 (char *) "self", NULL
3883 };
3884
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 resultobj = PyInt_FromLong((long)result);
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxDialog *arg1 = (wxDialog *) 0 ;
3904 wxString *arg2 = 0 ;
3905 wxSizer *result;
3906 bool temp2 = False ;
3907 PyObject * obj0 = 0 ;
3908 PyObject * obj1 = 0 ;
3909 char *kwnames[] = {
3910 (char *) "self",(char *) "message", NULL
3911 };
3912
3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3915 {
3916 arg2 = wxString_in_helper(obj1);
3917 if (arg2 == NULL) SWIG_fail;
3918 temp2 = True;
3919 }
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 {
3928 resultobj = wxPyMake_wxSizer(result);
3929 }
3930 {
3931 if (temp2)
3932 delete arg2;
3933 }
3934 return resultobj;
3935 fail:
3936 {
3937 if (temp2)
3938 delete arg2;
3939 }
3940 return NULL;
3941 }
3942
3943
3944 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxDialog *arg1 = (wxDialog *) 0 ;
3947 long arg2 ;
3948 wxSizer *result;
3949 PyObject * obj0 = 0 ;
3950 char *kwnames[] = {
3951 (char *) "self",(char *) "flags", NULL
3952 };
3953
3954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 {
3964 resultobj = wxPyMake_wxSizer(result);
3965 }
3966 return resultobj;
3967 fail:
3968 return NULL;
3969 }
3970
3971
3972 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3973 PyObject *resultobj;
3974 wxDialog *arg1 = (wxDialog *) 0 ;
3975 bool arg2 ;
3976 PyObject * obj0 = 0 ;
3977 PyObject * obj1 = 0 ;
3978 char *kwnames[] = {
3979 (char *) "self",(char *) "flag", NULL
3980 };
3981
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3984 arg2 = PyInt_AsLong(obj1) ? true : false;
3985 if (PyErr_Occurred()) SWIG_fail;
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 (arg1)->SetModal(arg2);
3989
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 Py_INCREF(Py_None); resultobj = Py_None;
3994 return resultobj;
3995 fail:
3996 return NULL;
3997 }
3998
3999
4000 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4001 PyObject *resultobj;
4002 wxDialog *arg1 = (wxDialog *) 0 ;
4003 bool result;
4004 PyObject * obj0 = 0 ;
4005 char *kwnames[] = {
4006 (char *) "self", NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = (bool)((wxDialog const *)arg1)->IsModal();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = PyInt_FromLong((long)result);
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxDialog *arg1 = (wxDialog *) 0 ;
4028 int result;
4029 PyObject * obj0 = 0 ;
4030 char *kwnames[] = {
4031 (char *) "self", NULL
4032 };
4033
4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 result = (int)(arg1)->ShowModal();
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 resultobj = PyInt_FromLong((long)result);
4044 return resultobj;
4045 fail:
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxDialog *arg1 = (wxDialog *) 0 ;
4053 int arg2 ;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self",(char *) "retCode", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 (arg1)->EndModal(arg2);
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 Py_INCREF(Py_None); resultobj = Py_None;
4069 return resultobj;
4070 fail:
4071 return NULL;
4072 }
4073
4074
4075 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject *resultobj;
4077 wxDialog *arg1 = (wxDialog *) 0 ;
4078 bool result;
4079 PyObject * obj0 = 0 ;
4080 char *kwnames[] = {
4081 (char *) "self", NULL
4082 };
4083
4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4086 {
4087 PyThreadState* __tstate = wxPyBeginAllowThreads();
4088 result = (bool)wxDialog_IsModalShowing(arg1);
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = PyInt_FromLong((long)result);
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4101 PyObject *obj;
4102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4103 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4104 Py_INCREF(obj);
4105 return Py_BuildValue((char *)"");
4106 }
4107 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxWindow *arg1 = (wxWindow *) 0 ;
4110 int arg2 ;
4111 wxString *arg3 = 0 ;
4112 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4113 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4114 wxSize const &arg5_defvalue = wxDefaultSize ;
4115 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4116 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4117 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4118 wxString *arg7 = (wxString *) &arg7_defvalue ;
4119 wxMiniFrame *result;
4120 bool temp3 = False ;
4121 wxPoint temp4 ;
4122 wxSize temp5 ;
4123 bool temp7 = False ;
4124 PyObject * obj0 = 0 ;
4125 PyObject * obj2 = 0 ;
4126 PyObject * obj3 = 0 ;
4127 PyObject * obj4 = 0 ;
4128 PyObject * obj6 = 0 ;
4129 char *kwnames[] = {
4130 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4131 };
4132
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4135 {
4136 arg3 = wxString_in_helper(obj2);
4137 if (arg3 == NULL) SWIG_fail;
4138 temp3 = True;
4139 }
4140 if (obj3) {
4141 {
4142 arg4 = &temp4;
4143 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4144 }
4145 }
4146 if (obj4) {
4147 {
4148 arg5 = &temp5;
4149 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4150 }
4151 }
4152 if (obj6) {
4153 {
4154 arg7 = wxString_in_helper(obj6);
4155 if (arg7 == NULL) SWIG_fail;
4156 temp7 = True;
4157 }
4158 }
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4167 {
4168 if (temp3)
4169 delete arg3;
4170 }
4171 {
4172 if (temp7)
4173 delete arg7;
4174 }
4175 return resultobj;
4176 fail:
4177 {
4178 if (temp3)
4179 delete arg3;
4180 }
4181 {
4182 if (temp7)
4183 delete arg7;
4184 }
4185 return NULL;
4186 }
4187
4188
4189 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxMiniFrame *result;
4192 char *kwnames[] = {
4193 NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 result = (wxMiniFrame *)new wxMiniFrame();
4200
4201 wxPyEndAllowThreads(__tstate);
4202 if (PyErr_Occurred()) SWIG_fail;
4203 }
4204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4205 return resultobj;
4206 fail:
4207 return NULL;
4208 }
4209
4210
4211 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4212 PyObject *resultobj;
4213 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4214 wxWindow *arg2 = (wxWindow *) 0 ;
4215 int arg3 ;
4216 wxString *arg4 = 0 ;
4217 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4218 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4219 wxSize const &arg6_defvalue = wxDefaultSize ;
4220 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4221 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4222 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4223 wxString *arg8 = (wxString *) &arg8_defvalue ;
4224 bool result;
4225 bool temp4 = False ;
4226 wxPoint temp5 ;
4227 wxSize temp6 ;
4228 bool temp8 = False ;
4229 PyObject * obj0 = 0 ;
4230 PyObject * obj1 = 0 ;
4231 PyObject * obj3 = 0 ;
4232 PyObject * obj4 = 0 ;
4233 PyObject * obj5 = 0 ;
4234 PyObject * obj7 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4237 };
4238
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4242 {
4243 arg4 = wxString_in_helper(obj3);
4244 if (arg4 == NULL) SWIG_fail;
4245 temp4 = True;
4246 }
4247 if (obj4) {
4248 {
4249 arg5 = &temp5;
4250 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4251 }
4252 }
4253 if (obj5) {
4254 {
4255 arg6 = &temp6;
4256 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4257 }
4258 }
4259 if (obj7) {
4260 {
4261 arg8 = wxString_in_helper(obj7);
4262 if (arg8 == NULL) SWIG_fail;
4263 temp8 = True;
4264 }
4265 }
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 resultobj = PyInt_FromLong((long)result);
4274 {
4275 if (temp4)
4276 delete arg4;
4277 }
4278 {
4279 if (temp8)
4280 delete arg8;
4281 }
4282 return resultobj;
4283 fail:
4284 {
4285 if (temp4)
4286 delete arg4;
4287 }
4288 {
4289 if (temp8)
4290 delete arg8;
4291 }
4292 return NULL;
4293 }
4294
4295
4296 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4297 PyObject *obj;
4298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4299 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4300 Py_INCREF(obj);
4301 return Py_BuildValue((char *)"");
4302 }
4303 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxBitmap *arg1 = 0 ;
4306 wxWindow *arg2 = (wxWindow *) 0 ;
4307 int arg3 ;
4308 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4309 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4310 wxSize const &arg5_defvalue = wxDefaultSize ;
4311 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4312 long arg6 = (long) wxNO_BORDER ;
4313 wxSplashScreenWindow *result;
4314 wxPoint temp4 ;
4315 wxSize temp5 ;
4316 PyObject * obj0 = 0 ;
4317 PyObject * obj1 = 0 ;
4318 PyObject * obj3 = 0 ;
4319 PyObject * obj4 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4326 if (arg1 == NULL) {
4327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4328 }
4329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4330 if (obj3) {
4331 {
4332 arg4 = &temp4;
4333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4334 }
4335 }
4336 if (obj4) {
4337 {
4338 arg5 = &temp5;
4339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4340 }
4341 }
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4345
4346 wxPyEndAllowThreads(__tstate);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4350 return resultobj;
4351 fail:
4352 return NULL;
4353 }
4354
4355
4356 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4357 PyObject *resultobj;
4358 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4359 wxBitmap *arg2 = 0 ;
4360 PyObject * obj0 = 0 ;
4361 PyObject * obj1 = 0 ;
4362 char *kwnames[] = {
4363 (char *) "self",(char *) "bitmap", NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 if (arg2 == NULL) {
4370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4371 }
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 Py_INCREF(Py_None); resultobj = Py_None;
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj;
4388 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4389 wxBitmap *result;
4390 PyObject * obj0 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "self", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 {
4400 wxBitmap &_result_ref = (arg1)->GetBitmap();
4401 result = (wxBitmap *) &_result_ref;
4402 }
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4408 return resultobj;
4409 fail:
4410 return NULL;
4411 }
4412
4413
4414 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4415 PyObject *obj;
4416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4417 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4418 Py_INCREF(obj);
4419 return Py_BuildValue((char *)"");
4420 }
4421 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj;
4423 wxBitmap *arg1 = 0 ;
4424 long arg2 ;
4425 int arg3 ;
4426 wxWindow *arg4 = (wxWindow *) 0 ;
4427 int arg5 ;
4428 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4429 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4430 wxSize const &arg7_defvalue = wxDefaultSize ;
4431 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4432 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4433 wxSplashScreen *result;
4434 wxPoint temp6 ;
4435 wxSize temp7 ;
4436 PyObject * obj0 = 0 ;
4437 PyObject * obj3 = 0 ;
4438 PyObject * obj5 = 0 ;
4439 PyObject * obj6 = 0 ;
4440 char *kwnames[] = {
4441 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4442 };
4443
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4446 if (arg1 == NULL) {
4447 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4448 }
4449 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4450 if (obj5) {
4451 {
4452 arg6 = &temp6;
4453 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4454 }
4455 }
4456 if (obj6) {
4457 {
4458 arg7 = &temp7;
4459 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4460 }
4461 }
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4479 long result;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "self", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 resultobj = PyInt_FromLong((long)result);
4495 return resultobj;
4496 fail:
4497 return NULL;
4498 }
4499
4500
4501 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4504 wxSplashScreenWindow *result;
4505 PyObject * obj0 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4529 int result;
4530 PyObject * obj0 = 0 ;
4531 char *kwnames[] = {
4532 (char *) "self", NULL
4533 };
4534
4535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 resultobj = PyInt_FromLong((long)result);
4545 return resultobj;
4546 fail:
4547 return NULL;
4548 }
4549
4550
4551 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4552 PyObject *obj;
4553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4554 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4555 Py_INCREF(obj);
4556 return Py_BuildValue((char *)"");
4557 }
4558 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxWindow *arg1 = (wxWindow *) 0 ;
4561 int arg2 = (int) -1 ;
4562 long arg3 = (long) wxST_SIZEGRIP ;
4563 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4564 wxString *arg4 = (wxString *) &arg4_defvalue ;
4565 wxStatusBar *result;
4566 bool temp4 = False ;
4567 PyObject * obj0 = 0 ;
4568 PyObject * obj3 = 0 ;
4569 char *kwnames[] = {
4570 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4575 if (obj3) {
4576 {
4577 arg4 = wxString_in_helper(obj3);
4578 if (arg4 == NULL) SWIG_fail;
4579 temp4 = True;
4580 }
4581 }
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4585
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 {
4590 resultobj = wxPyMake_wxObject(result);
4591 }
4592 {
4593 if (temp4)
4594 delete arg4;
4595 }
4596 return resultobj;
4597 fail:
4598 {
4599 if (temp4)
4600 delete arg4;
4601 }
4602 return NULL;
4603 }
4604
4605
4606 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4607 PyObject *resultobj;
4608 wxStatusBar *result;
4609 char *kwnames[] = {
4610 NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4614 {
4615 PyThreadState* __tstate = wxPyBeginAllowThreads();
4616 result = (wxStatusBar *)new wxStatusBar();
4617
4618 wxPyEndAllowThreads(__tstate);
4619 if (PyErr_Occurred()) SWIG_fail;
4620 }
4621 {
4622 resultobj = wxPyMake_wxObject(result);
4623 }
4624 return resultobj;
4625 fail:
4626 return NULL;
4627 }
4628
4629
4630 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4633 wxWindow *arg2 = (wxWindow *) 0 ;
4634 int arg3 ;
4635 long arg4 = (long) wxST_SIZEGRIP ;
4636 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4637 wxString *arg5 = (wxString *) &arg5_defvalue ;
4638 bool result;
4639 bool temp5 = False ;
4640 PyObject * obj0 = 0 ;
4641 PyObject * obj1 = 0 ;
4642 PyObject * obj4 = 0 ;
4643 char *kwnames[] = {
4644 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4645 };
4646
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4650 if (obj4) {
4651 {
4652 arg5 = wxString_in_helper(obj4);
4653 if (arg5 == NULL) SWIG_fail;
4654 temp5 = True;
4655 }
4656 }
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 resultobj = PyInt_FromLong((long)result);
4665 {
4666 if (temp5)
4667 delete arg5;
4668 }
4669 return resultobj;
4670 fail:
4671 {
4672 if (temp5)
4673 delete arg5;
4674 }
4675 return NULL;
4676 }
4677
4678
4679 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4680 PyObject *resultobj;
4681 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4682 int arg2 = (int) 1 ;
4683 PyObject * obj0 = 0 ;
4684 char *kwnames[] = {
4685 (char *) "self",(char *) "number", NULL
4686 };
4687
4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 (arg1)->SetFieldsCount(arg2);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 Py_INCREF(Py_None); resultobj = Py_None;
4698 return resultobj;
4699 fail:
4700 return NULL;
4701 }
4702
4703
4704 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject *resultobj;
4706 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4707 int result;
4708 PyObject * obj0 = 0 ;
4709 char *kwnames[] = {
4710 (char *) "self", NULL
4711 };
4712
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4718
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = PyInt_FromLong((long)result);
4723 return resultobj;
4724 fail:
4725 return NULL;
4726 }
4727
4728
4729 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4730 PyObject *resultobj;
4731 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4732 wxString *arg2 = 0 ;
4733 int arg3 = (int) 0 ;
4734 bool temp2 = False ;
4735 PyObject * obj0 = 0 ;
4736 PyObject * obj1 = 0 ;
4737 char *kwnames[] = {
4738 (char *) "self",(char *) "text",(char *) "number", NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4743 {
4744 arg2 = wxString_in_helper(obj1);
4745 if (arg2 == NULL) SWIG_fail;
4746 temp2 = True;
4747 }
4748 {
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4751
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 Py_INCREF(Py_None); resultobj = Py_None;
4756 {
4757 if (temp2)
4758 delete arg2;
4759 }
4760 return resultobj;
4761 fail:
4762 {
4763 if (temp2)
4764 delete arg2;
4765 }
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4773 int arg2 = (int) 0 ;
4774 wxString result;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self",(char *) "number", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 {
4790 #if wxUSE_UNICODE
4791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4792 #else
4793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4794 #endif
4795 }
4796 return resultobj;
4797 fail:
4798 return NULL;
4799 }
4800
4801
4802 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject *resultobj;
4804 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4805 wxString *arg2 = 0 ;
4806 int arg3 = (int) 0 ;
4807 bool temp2 = False ;
4808 PyObject * obj0 = 0 ;
4809 PyObject * obj1 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "self",(char *) "text",(char *) "number", NULL
4812 };
4813
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4816 {
4817 arg2 = wxString_in_helper(obj1);
4818 if (arg2 == NULL) SWIG_fail;
4819 temp2 = True;
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 Py_INCREF(Py_None); resultobj = Py_None;
4829 {
4830 if (temp2)
4831 delete arg2;
4832 }
4833 return resultobj;
4834 fail:
4835 {
4836 if (temp2)
4837 delete arg2;
4838 }
4839 return NULL;
4840 }
4841
4842
4843 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4844 PyObject *resultobj;
4845 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4846 int arg2 = (int) 0 ;
4847 PyObject * obj0 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "self",(char *) "number", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 (arg1)->PopStatusText(arg2);
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 Py_INCREF(Py_None); resultobj = Py_None;
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4871 int arg2 ;
4872 int *arg3 = (int *) 0 ;
4873 PyObject * obj0 = 0 ;
4874 PyObject * obj1 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self",(char *) "widths", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4881 {
4882 arg2 = PyList_Size(obj1);
4883 arg3 = int_LIST_helper(obj1);
4884 if (arg3 == NULL) SWIG_fail;
4885 }
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 {
4895 if (arg3) delete [] arg3;
4896 }
4897 return resultobj;
4898 fail:
4899 {
4900 if (arg3) delete [] arg3;
4901 }
4902 return NULL;
4903 }
4904
4905
4906 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4907 PyObject *resultobj;
4908 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4909 int arg2 ;
4910 wxRect result;
4911 PyObject * obj0 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self",(char *) "i", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 result = wxStatusBar_GetFieldRect(arg1,arg2);
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 {
4926 wxRect * resultptr;
4927 resultptr = new wxRect((wxRect &) result);
4928 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4929 }
4930 return resultobj;
4931 fail:
4932 return NULL;
4933 }
4934
4935
4936 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4937 PyObject *resultobj;
4938 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4939 int arg2 ;
4940 PyObject * obj0 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "height", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 (arg1)->SetMinHeight(arg2);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 Py_INCREF(Py_None); resultobj = Py_None;
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj;
4963 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4964 int result;
4965 PyObject * obj0 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 resultobj = PyInt_FromLong((long)result);
4980 return resultobj;
4981 fail:
4982 return NULL;
4983 }
4984
4985
4986 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj;
4988 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4989 int result;
4990 PyObject * obj0 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5000
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 resultobj = PyInt_FromLong((long)result);
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5012 PyObject *obj;
5013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5014 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5015 Py_INCREF(obj);
5016 return Py_BuildValue((char *)"");
5017 }
5018 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxWindow *arg1 = (wxWindow *) 0 ;
5021 int arg2 ;
5022 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5023 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5024 wxSize const &arg4_defvalue = wxDefaultSize ;
5025 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5026 long arg5 = (long) wxSP_3D ;
5027 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5028 wxString *arg6 = (wxString *) &arg6_defvalue ;
5029 wxSplitterWindow *result;
5030 wxPoint temp3 ;
5031 wxSize temp4 ;
5032 bool temp6 = False ;
5033 PyObject * obj0 = 0 ;
5034 PyObject * obj2 = 0 ;
5035 PyObject * obj3 = 0 ;
5036 PyObject * obj5 = 0 ;
5037 char *kwnames[] = {
5038 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5039 };
5040
5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5043 if (obj2) {
5044 {
5045 arg3 = &temp3;
5046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5047 }
5048 }
5049 if (obj3) {
5050 {
5051 arg4 = &temp4;
5052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5053 }
5054 }
5055 if (obj5) {
5056 {
5057 arg6 = wxString_in_helper(obj5);
5058 if (arg6 == NULL) SWIG_fail;
5059 temp6 = True;
5060 }
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5070 {
5071 if (temp6)
5072 delete arg6;
5073 }
5074 return resultobj;
5075 fail:
5076 {
5077 if (temp6)
5078 delete arg6;
5079 }
5080 return NULL;
5081 }
5082
5083
5084 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5085 PyObject *resultobj;
5086 wxSplitterWindow *result;
5087 char *kwnames[] = {
5088 NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5092 {
5093 PyThreadState* __tstate = wxPyBeginAllowThreads();
5094 result = (wxSplitterWindow *)new wxSplitterWindow();
5095
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5109 wxWindow *arg2 = (wxWindow *) 0 ;
5110 int arg3 ;
5111 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5112 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5113 wxSize const &arg5_defvalue = wxDefaultSize ;
5114 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5115 long arg6 = (long) wxSP_3D ;
5116 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5117 wxString *arg7 = (wxString *) &arg7_defvalue ;
5118 bool result;
5119 wxPoint temp4 ;
5120 wxSize temp5 ;
5121 bool temp7 = False ;
5122 PyObject * obj0 = 0 ;
5123 PyObject * obj1 = 0 ;
5124 PyObject * obj3 = 0 ;
5125 PyObject * obj4 = 0 ;
5126 PyObject * obj6 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5134 if (obj3) {
5135 {
5136 arg4 = &temp4;
5137 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5138 }
5139 }
5140 if (obj4) {
5141 {
5142 arg5 = &temp5;
5143 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5144 }
5145 }
5146 if (obj6) {
5147 {
5148 arg7 = wxString_in_helper(obj6);
5149 if (arg7 == NULL) SWIG_fail;
5150 temp7 = True;
5151 }
5152 }
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = PyInt_FromLong((long)result);
5161 {
5162 if (temp7)
5163 delete arg7;
5164 }
5165 return resultobj;
5166 fail:
5167 {
5168 if (temp7)
5169 delete arg7;
5170 }
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5178 wxWindow *result;
5179 PyObject * obj0 = 0 ;
5180 char *kwnames[] = {
5181 (char *) "self", NULL
5182 };
5183
5184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5186 {
5187 PyThreadState* __tstate = wxPyBeginAllowThreads();
5188 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5189
5190 wxPyEndAllowThreads(__tstate);
5191 if (PyErr_Occurred()) SWIG_fail;
5192 }
5193 {
5194 resultobj = wxPyMake_wxObject(result);
5195 }
5196 return resultobj;
5197 fail:
5198 return NULL;
5199 }
5200
5201
5202 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj;
5204 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5205 wxWindow *result;
5206 PyObject * obj0 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 {
5221 resultobj = wxPyMake_wxObject(result);
5222 }
5223 return resultobj;
5224 fail:
5225 return NULL;
5226 }
5227
5228
5229 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5230 PyObject *resultobj;
5231 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5232 int arg2 ;
5233 PyObject * obj0 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self",(char *) "mode", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 (arg1)->SetSplitMode(arg2);
5243
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 Py_INCREF(Py_None); resultobj = Py_None;
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj;
5256 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5257 int result;
5258 PyObject * obj0 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 resultobj = PyInt_FromLong((long)result);
5273 return resultobj;
5274 fail:
5275 return NULL;
5276 }
5277
5278
5279 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5280 PyObject *resultobj;
5281 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5282 wxWindow *arg2 = (wxWindow *) 0 ;
5283 PyObject * obj0 = 0 ;
5284 PyObject * obj1 = 0 ;
5285 char *kwnames[] = {
5286 (char *) "self",(char *) "window", NULL
5287 };
5288
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 (arg1)->Initialize(arg2);
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 Py_INCREF(Py_None); resultobj = Py_None;
5300 return resultobj;
5301 fail:
5302 return NULL;
5303 }
5304
5305
5306 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject *resultobj;
5308 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5309 wxWindow *arg2 = (wxWindow *) 0 ;
5310 wxWindow *arg3 = (wxWindow *) 0 ;
5311 int arg4 = (int) 0 ;
5312 bool result;
5313 PyObject * obj0 = 0 ;
5314 PyObject * obj1 = 0 ;
5315 PyObject * obj2 = 0 ;
5316 char *kwnames[] = {
5317 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5318 };
5319
5320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5323 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5324 {
5325 PyThreadState* __tstate = wxPyBeginAllowThreads();
5326 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5327
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 resultobj = PyInt_FromLong((long)result);
5332 return resultobj;
5333 fail:
5334 return NULL;
5335 }
5336
5337
5338 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5341 wxWindow *arg2 = (wxWindow *) 0 ;
5342 wxWindow *arg3 = (wxWindow *) 0 ;
5343 int arg4 = (int) 0 ;
5344 bool result;
5345 PyObject * obj0 = 0 ;
5346 PyObject * obj1 = 0 ;
5347 PyObject * obj2 = 0 ;
5348 char *kwnames[] = {
5349 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5350 };
5351
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5356 {
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5359
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 resultobj = PyInt_FromLong((long)result);
5364 return resultobj;
5365 fail:
5366 return NULL;
5367 }
5368
5369
5370 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5371 PyObject *resultobj;
5372 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5373 wxWindow *arg2 = (wxWindow *) NULL ;
5374 bool result;
5375 PyObject * obj0 = 0 ;
5376 PyObject * obj1 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self",(char *) "toRemove", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5383 if (obj1) {
5384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 result = (bool)(arg1)->Unsplit(arg2);
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 resultobj = PyInt_FromLong((long)result);
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5403 wxWindow *arg2 = (wxWindow *) 0 ;
5404 wxWindow *arg3 = (wxWindow *) 0 ;
5405 bool result;
5406 PyObject * obj0 = 0 ;
5407 PyObject * obj1 = 0 ;
5408 PyObject * obj2 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5416 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 resultobj = PyInt_FromLong((long)result);
5425 return resultobj;
5426 fail:
5427 return NULL;
5428 }
5429
5430
5431 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj;
5433 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5434 bool result;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 resultobj = PyInt_FromLong((long)result);
5450 return resultobj;
5451 fail:
5452 return NULL;
5453 }
5454
5455
5456 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj;
5458 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5459 int arg2 ;
5460 PyObject * obj0 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self",(char *) "width", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 (arg1)->SetSashSize(arg2);
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 Py_INCREF(Py_None); resultobj = Py_None;
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5484 int arg2 ;
5485 PyObject * obj0 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self",(char *) "width", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 (arg1)->SetBorderSize(arg2);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 Py_INCREF(Py_None); resultobj = Py_None;
5500 return resultobj;
5501 fail:
5502 return NULL;
5503 }
5504
5505
5506 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5509 int result;
5510 PyObject * obj0 = 0 ;
5511 char *kwnames[] = {
5512 (char *) "self", NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 resultobj = PyInt_FromLong((long)result);
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5534 int result;
5535 PyObject * obj0 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "self", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 resultobj = PyInt_FromLong((long)result);
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5559 int arg2 ;
5560 bool arg3 = (bool) True ;
5561 PyObject * obj0 = 0 ;
5562 PyObject * obj2 = 0 ;
5563 char *kwnames[] = {
5564 (char *) "self",(char *) "position",(char *) "redraw", NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5569 if (obj2) {
5570 arg3 = PyInt_AsLong(obj2) ? true : false;
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 (arg1)->SetSashPosition(arg2,arg3);
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 Py_INCREF(Py_None); resultobj = Py_None;
5581 return resultobj;
5582 fail:
5583 return NULL;
5584 }
5585
5586
5587 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5588 PyObject *resultobj;
5589 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5590 int result;
5591 PyObject * obj0 = 0 ;
5592 char *kwnames[] = {
5593 (char *) "self", NULL
5594 };
5595
5596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 resultobj = PyInt_FromLong((long)result);
5606 return resultobj;
5607 fail:
5608 return NULL;
5609 }
5610
5611
5612 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj;
5614 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5615 int arg2 ;
5616 PyObject * obj0 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "self",(char *) "min", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 (arg1)->SetMinimumPaneSize(arg2);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5640 int result;
5641 PyObject * obj0 = 0 ;
5642 char *kwnames[] = {
5643 (char *) "self", NULL
5644 };
5645
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 resultobj = PyInt_FromLong((long)result);
5656 return resultobj;
5657 fail:
5658 return NULL;
5659 }
5660
5661
5662 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5665 int arg2 ;
5666 int arg3 ;
5667 int arg4 = (int) 5 ;
5668 bool result;
5669 PyObject * obj0 = 0 ;
5670 char *kwnames[] = {
5671 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5672 };
5673
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5676 {
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5679
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 resultobj = PyInt_FromLong((long)result);
5684 return resultobj;
5685 fail:
5686 return NULL;
5687 }
5688
5689
5690 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5691 PyObject *resultobj;
5692 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5693 PyObject * obj0 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "self", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 (arg1)->SizeWindows();
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 Py_INCREF(Py_None); resultobj = Py_None;
5708 return resultobj;
5709 fail:
5710 return NULL;
5711 }
5712
5713
5714 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5717 bool arg2 ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self",(char *) "needUpdating", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5726 arg2 = PyInt_AsLong(obj1) ? true : false;
5727 if (PyErr_Occurred()) SWIG_fail;
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 (arg1)->SetNeedUpdating(arg2);
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 Py_INCREF(Py_None); resultobj = Py_None;
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5745 bool result;
5746 PyObject * obj0 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
5760 resultobj = PyInt_FromLong((long)result);
5761 return resultobj;
5762 fail:
5763 return NULL;
5764 }
5765
5766
5767 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5768 PyObject *obj;
5769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5770 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5771 Py_INCREF(obj);
5772 return Py_BuildValue((char *)"");
5773 }
5774 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5777 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5778 wxSplitterEvent *result;
5779 PyObject * obj1 = 0 ;
5780 char *kwnames[] = {
5781 (char *) "type",(char *) "splitter", NULL
5782 };
5783
5784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5785 if (obj1) {
5786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5805 int arg2 ;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self",(char *) "pos", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 (arg1)->SetSashPosition(arg2);
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 Py_INCREF(Py_None); resultobj = Py_None;
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5830 int result;
5831 PyObject * obj0 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 resultobj = PyInt_FromLong((long)result);
5846 return resultobj;
5847 fail:
5848 return NULL;
5849 }
5850
5851
5852 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5855 wxWindow *result;
5856 PyObject * obj0 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 {
5871 resultobj = wxPyMake_wxObject(result);
5872 }
5873 return resultobj;
5874 fail:
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5882 int result;
5883 PyObject * obj0 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5890 {
5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
5892 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5893
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 resultobj = PyInt_FromLong((long)result);
5898 return resultobj;
5899 fail:
5900 return NULL;
5901 }
5902
5903
5904 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5905 PyObject *resultobj;
5906 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5907 int result;
5908 PyObject * obj0 = 0 ;
5909 char *kwnames[] = {
5910 (char *) "self", NULL
5911 };
5912
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5918
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 resultobj = PyInt_FromLong((long)result);
5923 return resultobj;
5924 fail:
5925 return NULL;
5926 }
5927
5928
5929 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5930 PyObject *obj;
5931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5932 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5933 Py_INCREF(obj);
5934 return Py_BuildValue((char *)"");
5935 }
5936 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj;
5938 wxWindow *arg1 = (wxWindow *) 0 ;
5939 int arg2 ;
5940 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5941 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5942 wxSize const &arg4_defvalue = wxDefaultSize ;
5943 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5944 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5945 wxString const &arg6_defvalue = wxPySashNameStr ;
5946 wxString *arg6 = (wxString *) &arg6_defvalue ;
5947 wxSashWindow *result;
5948 wxPoint temp3 ;
5949 wxSize temp4 ;
5950 bool temp6 = False ;
5951 PyObject * obj0 = 0 ;
5952 PyObject * obj2 = 0 ;
5953 PyObject * obj3 = 0 ;
5954 PyObject * obj5 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5961 if (obj2) {
5962 {
5963 arg3 = &temp3;
5964 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5965 }
5966 }
5967 if (obj3) {
5968 {
5969 arg4 = &temp4;
5970 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5971 }
5972 }
5973 if (obj5) {
5974 {
5975 arg6 = wxString_in_helper(obj5);
5976 if (arg6 == NULL) SWIG_fail;
5977 temp6 = True;
5978 }
5979 }
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5983
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5988 {
5989 if (temp6)
5990 delete arg6;
5991 }
5992 return resultobj;
5993 fail:
5994 {
5995 if (temp6)
5996 delete arg6;
5997 }
5998 return NULL;
5999 }
6000
6001
6002 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6003 PyObject *resultobj;
6004 wxSashWindow *result;
6005 char *kwnames[] = {
6006 NULL
6007 };
6008
6009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (wxSashWindow *)new wxSashWindow();
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6027 wxWindow *arg2 = (wxWindow *) 0 ;
6028 int arg3 ;
6029 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6030 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6031 wxSize const &arg5_defvalue = wxDefaultSize ;
6032 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6033 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6034 wxString const &arg7_defvalue = wxPySashNameStr ;
6035 wxString *arg7 = (wxString *) &arg7_defvalue ;
6036 bool result;
6037 wxPoint temp4 ;
6038 wxSize temp5 ;
6039 bool temp7 = False ;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 PyObject * obj3 = 0 ;
6043 PyObject * obj4 = 0 ;
6044 PyObject * obj6 = 0 ;
6045 char *kwnames[] = {
6046 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6047 };
6048
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6052 if (obj3) {
6053 {
6054 arg4 = &temp4;
6055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6056 }
6057 }
6058 if (obj4) {
6059 {
6060 arg5 = &temp5;
6061 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6062 }
6063 }
6064 if (obj6) {
6065 {
6066 arg7 = wxString_in_helper(obj6);
6067 if (arg7 == NULL) SWIG_fail;
6068 temp7 = True;
6069 }
6070 }
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 resultobj = PyInt_FromLong((long)result);
6079 {
6080 if (temp7)
6081 delete arg7;
6082 }
6083 return resultobj;
6084 fail:
6085 {
6086 if (temp7)
6087 delete arg7;
6088 }
6089 return NULL;
6090 }
6091
6092
6093 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6096 int arg2 ;
6097 bool arg3 ;
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj2 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self",(char *) "edge",(char *) "sash", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6106 arg3 = PyInt_AsLong(obj2) ? true : false;
6107 if (PyErr_Occurred()) SWIG_fail;
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 Py_INCREF(Py_None); resultobj = Py_None;
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6125 int arg2 ;
6126 bool result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self",(char *) "edge", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 resultobj = PyInt_FromLong((long)result);
6142 return resultobj;
6143 fail:
6144 return NULL;
6145 }
6146
6147
6148 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6149 PyObject *resultobj;
6150 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6151 int arg2 ;
6152 bool arg3 ;
6153 PyObject * obj0 = 0 ;
6154 PyObject * obj2 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self",(char *) "edge",(char *) "border", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6161 arg3 = PyInt_AsLong(obj2) ? true : false;
6162 if (PyErr_Occurred()) SWIG_fail;
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 Py_INCREF(Py_None); resultobj = Py_None;
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj;
6179 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6180 int arg2 ;
6181 bool result;
6182 PyObject * obj0 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "self",(char *) "edge", NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6192
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = PyInt_FromLong((long)result);
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject *resultobj;
6205 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6206 int arg2 ;
6207 int result;
6208 PyObject * obj0 = 0 ;
6209 char *kwnames[] = {
6210 (char *) "self",(char *) "edge", NULL
6211 };
6212
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 resultobj = PyInt_FromLong((long)result);
6223 return resultobj;
6224 fail:
6225 return NULL;
6226 }
6227
6228
6229 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6230 PyObject *resultobj;
6231 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6232 int arg2 ;
6233 PyObject * obj0 = 0 ;
6234 char *kwnames[] = {
6235 (char *) "self",(char *) "width", NULL
6236 };
6237
6238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 (arg1)->SetDefaultBorderSize(arg2);
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 Py_INCREF(Py_None); resultobj = Py_None;
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6257 int result;
6258 PyObject * obj0 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "self", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6265 {
6266 PyThreadState* __tstate = wxPyBeginAllowThreads();
6267 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6268
6269 wxPyEndAllowThreads(__tstate);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 resultobj = PyInt_FromLong((long)result);
6273 return resultobj;
6274 fail:
6275 return NULL;
6276 }
6277
6278
6279 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject *resultobj;
6281 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6282 int arg2 ;
6283 PyObject * obj0 = 0 ;
6284 char *kwnames[] = {
6285 (char *) "self",(char *) "width", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6290 {
6291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6292 (arg1)->SetExtraBorderSize(arg2);
6293
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 Py_INCREF(Py_None); resultobj = Py_None;
6298 return resultobj;
6299 fail:
6300 return NULL;
6301 }
6302
6303
6304 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject *resultobj;
6306 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6307 int result;
6308 PyObject * obj0 = 0 ;
6309 char *kwnames[] = {
6310 (char *) "self", NULL
6311 };
6312
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 resultobj = PyInt_FromLong((long)result);
6323 return resultobj;
6324 fail:
6325 return NULL;
6326 }
6327
6328
6329 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6330 PyObject *resultobj;
6331 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6332 int arg2 ;
6333 PyObject * obj0 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "self",(char *) "min", NULL
6336 };
6337
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 (arg1)->SetMinimumSizeX(arg2);
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 Py_INCREF(Py_None); resultobj = Py_None;
6348 return resultobj;
6349 fail:
6350 return NULL;
6351 }
6352
6353
6354 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6355 PyObject *resultobj;
6356 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6357 int arg2 ;
6358 PyObject * obj0 = 0 ;
6359 char *kwnames[] = {
6360 (char *) "self",(char *) "min", NULL
6361 };
6362
6363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6365 {
6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
6367 (arg1)->SetMinimumSizeY(arg2);
6368
6369 wxPyEndAllowThreads(__tstate);
6370 if (PyErr_Occurred()) SWIG_fail;
6371 }
6372 Py_INCREF(Py_None); resultobj = Py_None;
6373 return resultobj;
6374 fail:
6375 return NULL;
6376 }
6377
6378
6379 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6380 PyObject *resultobj;
6381 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6382 int result;
6383 PyObject * obj0 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "self", NULL
6386 };
6387
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 resultobj = PyInt_FromLong((long)result);
6398 return resultobj;
6399 fail:
6400 return NULL;
6401 }
6402
6403
6404 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6407 int result;
6408 PyObject * obj0 = 0 ;
6409 char *kwnames[] = {
6410 (char *) "self", NULL
6411 };
6412
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 resultobj = PyInt_FromLong((long)result);
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6432 int arg2 ;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self",(char *) "max", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 (arg1)->SetMaximumSizeX(arg2);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 Py_INCREF(Py_None); resultobj = Py_None;
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj;
6456 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6457 int arg2 ;
6458 PyObject * obj0 = 0 ;
6459 char *kwnames[] = {
6460 (char *) "self",(char *) "max", NULL
6461 };
6462
6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6465 {
6466 PyThreadState* __tstate = wxPyBeginAllowThreads();
6467 (arg1)->SetMaximumSizeY(arg2);
6468
6469 wxPyEndAllowThreads(__tstate);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 Py_INCREF(Py_None); resultobj = Py_None;
6473 return resultobj;
6474 fail:
6475 return NULL;
6476 }
6477
6478
6479 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6480 PyObject *resultobj;
6481 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6482 int result;
6483 PyObject * obj0 = 0 ;
6484 char *kwnames[] = {
6485 (char *) "self", NULL
6486 };
6487
6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 resultobj = PyInt_FromLong((long)result);
6498 return resultobj;
6499 fail:
6500 return NULL;
6501 }
6502
6503
6504 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6505 PyObject *resultobj;
6506 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6507 int result;
6508 PyObject * obj0 = 0 ;
6509 char *kwnames[] = {
6510 (char *) "self", NULL
6511 };
6512
6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 resultobj = PyInt_FromLong((long)result);
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj;
6531 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6532 int arg2 ;
6533 int arg3 ;
6534 int arg4 = (int) 2 ;
6535 int result;
6536 PyObject * obj0 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 resultobj = PyInt_FromLong((long)result);
6551 return resultobj;
6552 fail:
6553 return NULL;
6554 }
6555
6556
6557 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj;
6559 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6560 PyObject * obj0 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 (arg1)->SizeWindows();
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 Py_INCREF(Py_None); resultobj = Py_None;
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6582 PyObject *obj;
6583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6584 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6585 Py_INCREF(obj);
6586 return Py_BuildValue((char *)"");
6587 }
6588 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj;
6590 int arg1 = (int) 0 ;
6591 int arg2 = (int) wxSASH_NONE ;
6592 wxSashEvent *result;
6593 char *kwnames[] = {
6594 (char *) "id",(char *) "edge", NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6606 return resultobj;
6607 fail:
6608 return NULL;
6609 }
6610
6611
6612 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6615 int arg2 ;
6616 PyObject * obj0 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self",(char *) "edge", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 Py_INCREF(Py_None); resultobj = Py_None;
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6640 int result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 resultobj = PyInt_FromLong((long)result);
6656 return resultobj;
6657 fail:
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6665 wxRect *arg2 = 0 ;
6666 wxRect temp2 ;
6667 PyObject * obj0 = 0 ;
6668 PyObject * obj1 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "self",(char *) "rect", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6675 {
6676 arg2 = &temp2;
6677 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6678 }
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 (arg1)->SetDragRect((wxRect const &)*arg2);
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 Py_INCREF(Py_None); resultobj = Py_None;
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6696 wxRect result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 result = ((wxSashEvent const *)arg1)->GetDragRect();
6707
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 {
6712 wxRect * resultptr;
6713 resultptr = new wxRect((wxRect &) result);
6714 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6715 }
6716 return resultobj;
6717 fail:
6718 return NULL;
6719 }
6720
6721
6722 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj;
6724 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6725 int arg2 ;
6726 PyObject * obj0 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self",(char *) "status", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 Py_INCREF(Py_None); resultobj = Py_None;
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6750 int result;
6751 PyObject * obj0 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 resultobj = PyInt_FromLong((long)result);
6766 return resultobj;
6767 fail:
6768 return NULL;
6769 }
6770
6771
6772 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6773 PyObject *obj;
6774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6775 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6776 Py_INCREF(obj);
6777 return Py_BuildValue((char *)"");
6778 }
6779 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 int arg1 = (int) 0 ;
6782 wxQueryLayoutInfoEvent *result;
6783 char *kwnames[] = {
6784 (char *) "id", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6788 {
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6791
6792 wxPyEndAllowThreads(__tstate);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
6795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6796 return resultobj;
6797 fail:
6798 return NULL;
6799 }
6800
6801
6802 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6803 PyObject *resultobj;
6804 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6805 int arg2 ;
6806 PyObject * obj0 = 0 ;
6807 char *kwnames[] = {
6808 (char *) "self",(char *) "length", NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 (arg1)->SetRequestedLength(arg2);
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 Py_INCREF(Py_None); resultobj = Py_None;
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6830 int result;
6831 PyObject * obj0 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "self", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 resultobj = PyInt_FromLong((long)result);
6846 return resultobj;
6847 fail:
6848 return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6855 int arg2 ;
6856 PyObject * obj0 = 0 ;
6857 char *kwnames[] = {
6858 (char *) "self",(char *) "flags", NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 (arg1)->SetFlags(arg2);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 Py_INCREF(Py_None); resultobj = Py_None;
6871 return resultobj;
6872 fail:
6873 return NULL;
6874 }
6875
6876
6877 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6878 PyObject *resultobj;
6879 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6880 int result;
6881 PyObject * obj0 = 0 ;
6882 char *kwnames[] = {
6883 (char *) "self", NULL
6884 };
6885
6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 resultobj = PyInt_FromLong((long)result);
6896 return resultobj;
6897 fail:
6898 return NULL;
6899 }
6900
6901
6902 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6905 wxSize *arg2 = 0 ;
6906 wxSize temp2 ;
6907 PyObject * obj0 = 0 ;
6908 PyObject * obj1 = 0 ;
6909 char *kwnames[] = {
6910 (char *) "self",(char *) "size", NULL
6911 };
6912
6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6915 {
6916 arg2 = &temp2;
6917 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6918 }
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 (arg1)->SetSize((wxSize const &)*arg2);
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 Py_INCREF(Py_None); resultobj = Py_None;
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6936 wxSize result;
6937 PyObject * obj0 = 0 ;
6938 char *kwnames[] = {
6939 (char *) "self", NULL
6940 };
6941
6942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 {
6952 wxSize * resultptr;
6953 resultptr = new wxSize((wxSize &) result);
6954 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6955 }
6956 return resultobj;
6957 fail:
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6965 int arg2 ;
6966 PyObject * obj0 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self",(char *) "orient", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 Py_INCREF(Py_None); resultobj = Py_None;
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6990 int result;
6991 PyObject * obj0 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = PyInt_FromLong((long)result);
7006 return resultobj;
7007 fail:
7008 return NULL;
7009 }
7010
7011
7012 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7015 int arg2 ;
7016 PyObject * obj0 = 0 ;
7017 char *kwnames[] = {
7018 (char *) "self",(char *) "align", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 Py_INCREF(Py_None); resultobj = Py_None;
7031 return resultobj;
7032 fail:
7033 return NULL;
7034 }
7035
7036
7037 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7040 int result;
7041 PyObject * obj0 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 resultobj = PyInt_FromLong((long)result);
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7063 PyObject *obj;
7064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7065 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7066 Py_INCREF(obj);
7067 return Py_BuildValue((char *)"");
7068 }
7069 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj;
7071 int arg1 = (int) 0 ;
7072 wxCalculateLayoutEvent *result;
7073 char *kwnames[] = {
7074 (char *) "id", NULL
7075 };
7076
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7086 return resultobj;
7087 fail:
7088 return NULL;
7089 }
7090
7091
7092 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7095 int arg2 ;
7096 PyObject * obj0 = 0 ;
7097 char *kwnames[] = {
7098 (char *) "self",(char *) "flags", NULL
7099 };
7100
7101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 (arg1)->SetFlags(arg2);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 Py_INCREF(Py_None); resultobj = Py_None;
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7120 int result;
7121 PyObject * obj0 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 resultobj = PyInt_FromLong((long)result);
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7145 wxRect *arg2 = 0 ;
7146 wxRect temp2 ;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj1 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self",(char *) "rect", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7155 {
7156 arg2 = &temp2;
7157 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7158 }
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 (arg1)->SetRect((wxRect const &)*arg2);
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 Py_INCREF(Py_None); resultobj = Py_None;
7167 return resultobj;
7168 fail:
7169 return NULL;
7170 }
7171
7172
7173 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7176 wxRect result;
7177 PyObject * obj0 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7187
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 {
7192 wxRect * resultptr;
7193 resultptr = new wxRect((wxRect &) result);
7194 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7195 }
7196 return resultobj;
7197 fail:
7198 return NULL;
7199 }
7200
7201
7202 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7203 PyObject *obj;
7204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7205 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7206 Py_INCREF(obj);
7207 return Py_BuildValue((char *)"");
7208 }
7209 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7210 PyObject *resultobj;
7211 wxWindow *arg1 = (wxWindow *) 0 ;
7212 int arg2 ;
7213 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7214 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7215 wxSize const &arg4_defvalue = wxDefaultSize ;
7216 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7217 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7218 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7219 wxString *arg6 = (wxString *) &arg6_defvalue ;
7220 wxSashLayoutWindow *result;
7221 wxPoint temp3 ;
7222 wxSize temp4 ;
7223 bool temp6 = False ;
7224 PyObject * obj0 = 0 ;
7225 PyObject * obj2 = 0 ;
7226 PyObject * obj3 = 0 ;
7227 PyObject * obj5 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7234 if (obj2) {
7235 {
7236 arg3 = &temp3;
7237 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7238 }
7239 }
7240 if (obj3) {
7241 {
7242 arg4 = &temp4;
7243 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7244 }
7245 }
7246 if (obj5) {
7247 {
7248 arg6 = wxString_in_helper(obj5);
7249 if (arg6 == NULL) SWIG_fail;
7250 temp6 = True;
7251 }
7252 }
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7261 {
7262 if (temp6)
7263 delete arg6;
7264 }
7265 return resultobj;
7266 fail:
7267 {
7268 if (temp6)
7269 delete arg6;
7270 }
7271 return NULL;
7272 }
7273
7274
7275 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj;
7277 wxSashLayoutWindow *result;
7278 char *kwnames[] = {
7279 NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7300 wxWindow *arg2 = (wxWindow *) 0 ;
7301 int arg3 ;
7302 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7303 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7304 wxSize const &arg5_defvalue = wxDefaultSize ;
7305 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7306 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7307 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7308 wxString *arg7 = (wxString *) &arg7_defvalue ;
7309 bool result;
7310 wxPoint temp4 ;
7311 wxSize temp5 ;
7312 bool temp7 = False ;
7313 PyObject * obj0 = 0 ;
7314 PyObject * obj1 = 0 ;
7315 PyObject * obj3 = 0 ;
7316 PyObject * obj4 = 0 ;
7317 PyObject * obj6 = 0 ;
7318 char *kwnames[] = {
7319 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7320 };
7321
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7325 if (obj3) {
7326 {
7327 arg4 = &temp4;
7328 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7329 }
7330 }
7331 if (obj4) {
7332 {
7333 arg5 = &temp5;
7334 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7335 }
7336 }
7337 if (obj6) {
7338 {
7339 arg7 = wxString_in_helper(obj6);
7340 if (arg7 == NULL) SWIG_fail;
7341 temp7 = True;
7342 }
7343 }
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 resultobj = PyInt_FromLong((long)result);
7352 {
7353 if (temp7)
7354 delete arg7;
7355 }
7356 return resultobj;
7357 fail:
7358 {
7359 if (temp7)
7360 delete arg7;
7361 }
7362 return NULL;
7363 }
7364
7365
7366 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7367 PyObject *resultobj;
7368 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7369 int result;
7370 PyObject * obj0 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "self", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = (int)(arg1)->GetAlignment();
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 resultobj = PyInt_FromLong((long)result);
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7394 int result;
7395 PyObject * obj0 = 0 ;
7396 char *kwnames[] = {
7397 (char *) "self", NULL
7398 };
7399
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 result = (int)(arg1)->GetOrientation();
7405
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 resultobj = PyInt_FromLong((long)result);
7410 return resultobj;
7411 fail:
7412 return NULL;
7413 }
7414
7415
7416 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7419 int arg2 ;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self",(char *) "alignment", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438 }
7439
7440
7441 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7444 wxSize *arg2 = 0 ;
7445 wxSize temp2 ;
7446 PyObject * obj0 = 0 ;
7447 PyObject * obj1 = 0 ;
7448 char *kwnames[] = {
7449 (char *) "self",(char *) "size", NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7454 {
7455 arg2 = &temp2;
7456 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7457 }
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 Py_INCREF(Py_None); resultobj = Py_None;
7466 return resultobj;
7467 fail:
7468 return NULL;
7469 }
7470
7471
7472 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7475 int arg2 ;
7476 PyObject * obj0 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self",(char *) "orientation", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 Py_INCREF(Py_None); resultobj = Py_None;
7491 return resultobj;
7492 fail:
7493 return NULL;
7494 }
7495
7496
7497 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7498 PyObject *obj;
7499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7500 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7501 Py_INCREF(obj);
7502 return Py_BuildValue((char *)"");
7503 }
7504 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj;
7506 wxLayoutAlgorithm *result;
7507 char *kwnames[] = {
7508 NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7529 PyObject * obj0 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 delete arg1;
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 Py_INCREF(Py_None); resultobj = Py_None;
7544 return resultobj;
7545 fail:
7546 return NULL;
7547 }
7548
7549
7550 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj;
7552 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7553 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7554 wxRect *arg3 = (wxRect *) NULL ;
7555 bool result;
7556 PyObject * obj0 = 0 ;
7557 PyObject * obj1 = 0 ;
7558 PyObject * obj2 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self",(char *) "frame",(char *) "rect", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7566 if (obj2) {
7567 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7568 }
7569 {
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7572
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 resultobj = PyInt_FromLong((long)result);
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj;
7585 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7586 wxFrame *arg2 = (wxFrame *) 0 ;
7587 wxWindow *arg3 = (wxWindow *) NULL ;
7588 bool result;
7589 PyObject * obj0 = 0 ;
7590 PyObject * obj1 = 0 ;
7591 PyObject * obj2 = 0 ;
7592 char *kwnames[] = {
7593 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 if (obj2) {
7600 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7601 }
7602 {
7603 PyThreadState* __tstate = wxPyBeginAllowThreads();
7604 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7605
7606 wxPyEndAllowThreads(__tstate);
7607 if (PyErr_Occurred()) SWIG_fail;
7608 }
7609 resultobj = PyInt_FromLong((long)result);
7610 return resultobj;
7611 fail:
7612 return NULL;
7613 }
7614
7615
7616 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7617 PyObject *resultobj;
7618 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7619 wxWindow *arg2 = (wxWindow *) 0 ;
7620 wxWindow *arg3 = (wxWindow *) NULL ;
7621 bool result;
7622 PyObject * obj0 = 0 ;
7623 PyObject * obj1 = 0 ;
7624 PyObject * obj2 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 if (obj2) {
7633 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7634 }
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 resultobj = PyInt_FromLong((long)result);
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7650 PyObject *obj;
7651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7652 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7653 Py_INCREF(obj);
7654 return Py_BuildValue((char *)"");
7655 }
7656 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 wxWindow *arg1 = (wxWindow *) 0 ;
7659 int arg2 = (int) wxBORDER_NONE ;
7660 wxPopupWindow *result;
7661 PyObject * obj0 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "parent",(char *) "flags", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7683 PyObject *resultobj;
7684 wxPopupWindow *result;
7685 char *kwnames[] = {
7686 NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (wxPopupWindow *)new wxPopupWindow();
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7698 return resultobj;
7699 fail:
7700 return NULL;
7701 }
7702
7703
7704 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7705 PyObject *obj;
7706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7707 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7708 Py_INCREF(obj);
7709 return Py_BuildValue((char *)"");
7710 }
7711 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 wxWindow *arg1 = (wxWindow *) 0 ;
7714 int arg2 = (int) wxBORDER_NONE ;
7715 wxPyPopupTransientWindow *result;
7716 PyObject * obj0 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "parent",(char *) "style", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7731 return resultobj;
7732 fail:
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj;
7739 wxPyPopupTransientWindow *result;
7740 char *kwnames[] = {
7741 NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7753 return resultobj;
7754 fail:
7755 return NULL;
7756 }
7757
7758
7759 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7760 PyObject *obj;
7761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7762 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7763 Py_INCREF(obj);
7764 return Py_BuildValue((char *)"");
7765 }
7766 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj;
7768 wxWindow *arg1 = (wxWindow *) 0 ;
7769 wxString *arg2 = 0 ;
7770 int arg3 = (int) 100 ;
7771 wxRect *arg4 = (wxRect *) NULL ;
7772 wxTipWindow *result;
7773 bool temp2 = False ;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 PyObject * obj3 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7783 {
7784 arg2 = wxString_in_helper(obj1);
7785 if (arg2 == NULL) SWIG_fail;
7786 temp2 = True;
7787 }
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 {
7800 if (temp2)
7801 delete arg2;
7802 }
7803 return resultobj;
7804 fail:
7805 {
7806 if (temp2)
7807 delete arg2;
7808 }
7809 return NULL;
7810 }
7811
7812
7813 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7814 PyObject *resultobj;
7815 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7816 wxRect *arg2 = 0 ;
7817 wxRect temp2 ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self",(char *) "rectBound", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7826 {
7827 arg2 = &temp2;
7828 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7829 }
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7833
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 Py_INCREF(Py_None); resultobj = Py_None;
7838 return resultobj;
7839 fail:
7840 return NULL;
7841 }
7842
7843
7844 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj;
7846 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7847 PyObject * obj0 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "self", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 (arg1)->Close();
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 Py_INCREF(Py_None); resultobj = Py_None;
7862 return resultobj;
7863 fail:
7864 return NULL;
7865 }
7866
7867
7868 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7869 PyObject *obj;
7870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7871 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7872 Py_INCREF(obj);
7873 return Py_BuildValue((char *)"");
7874 }
7875 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxWindow *arg1 = (wxWindow *) 0 ;
7878 int arg2 = (int) wxID_ANY ;
7879 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7880 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7881 wxSize const &arg4_defvalue = wxDefaultSize ;
7882 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7883 long arg5 = (long) 0 ;
7884 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7885 wxString *arg6 = (wxString *) &arg6_defvalue ;
7886 wxPyVScrolledWindow *result;
7887 wxPoint temp3 ;
7888 wxSize temp4 ;
7889 bool temp6 = False ;
7890 PyObject * obj0 = 0 ;
7891 PyObject * obj2 = 0 ;
7892 PyObject * obj3 = 0 ;
7893 PyObject * obj5 = 0 ;
7894 char *kwnames[] = {
7895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7896 };
7897
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7900 if (obj2) {
7901 {
7902 arg3 = &temp3;
7903 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7904 }
7905 }
7906 if (obj3) {
7907 {
7908 arg4 = &temp4;
7909 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7910 }
7911 }
7912 if (obj5) {
7913 {
7914 arg6 = wxString_in_helper(obj5);
7915 if (arg6 == NULL) SWIG_fail;
7916 temp6 = True;
7917 }
7918 }
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7927 {
7928 if (temp6)
7929 delete arg6;
7930 }
7931 return resultobj;
7932 fail:
7933 {
7934 if (temp6)
7935 delete arg6;
7936 }
7937 return NULL;
7938 }
7939
7940
7941 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7942 PyObject *resultobj;
7943 wxPyVScrolledWindow *result;
7944 char *kwnames[] = {
7945 NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7966 PyObject *arg2 = (PyObject *) 0 ;
7967 PyObject *arg3 = (PyObject *) 0 ;
7968 PyObject * obj0 = 0 ;
7969 PyObject * obj1 = 0 ;
7970 PyObject * obj2 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "self",(char *) "_class", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7977 arg2 = obj1;
7978 arg3 = obj2;
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 (arg1)->_setCallbackInfo(arg2,arg3);
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 Py_INCREF(Py_None); resultobj = Py_None;
7987 return resultobj;
7988 fail:
7989 return NULL;
7990 }
7991
7992
7993 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj;
7995 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7996 wxWindow *arg2 = (wxWindow *) 0 ;
7997 int arg3 = (int) wxID_ANY ;
7998 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7999 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8000 wxSize const &arg5_defvalue = wxDefaultSize ;
8001 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8002 long arg6 = (long) 0 ;
8003 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8004 wxString *arg7 = (wxString *) &arg7_defvalue ;
8005 bool result;
8006 wxPoint temp4 ;
8007 wxSize temp5 ;
8008 bool temp7 = False ;
8009 PyObject * obj0 = 0 ;
8010 PyObject * obj1 = 0 ;
8011 PyObject * obj3 = 0 ;
8012 PyObject * obj4 = 0 ;
8013 PyObject * obj6 = 0 ;
8014 char *kwnames[] = {
8015 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8016 };
8017
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8021 if (obj3) {
8022 {
8023 arg4 = &temp4;
8024 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8025 }
8026 }
8027 if (obj4) {
8028 {
8029 arg5 = &temp5;
8030 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8031 }
8032 }
8033 if (obj6) {
8034 {
8035 arg7 = wxString_in_helper(obj6);
8036 if (arg7 == NULL) SWIG_fail;
8037 temp7 = True;
8038 }
8039 }
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 resultobj = PyInt_FromLong((long)result);
8048 {
8049 if (temp7)
8050 delete arg7;
8051 }
8052 return resultobj;
8053 fail:
8054 {
8055 if (temp7)
8056 delete arg7;
8057 }
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8065 size_t arg2 ;
8066 PyObject * obj0 = 0 ;
8067 PyObject * obj1 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self",(char *) "count", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8074 arg2 = (size_t) PyInt_AsLong(obj1);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 {
8077 PyThreadState* __tstate = wxPyBeginAllowThreads();
8078 (arg1)->SetLineCount(arg2);
8079
8080 wxPyEndAllowThreads(__tstate);
8081 if (PyErr_Occurred()) SWIG_fail;
8082 }
8083 Py_INCREF(Py_None); resultobj = Py_None;
8084 return resultobj;
8085 fail:
8086 return NULL;
8087 }
8088
8089
8090 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8091 PyObject *resultobj;
8092 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8093 size_t arg2 ;
8094 bool result;
8095 PyObject * obj0 = 0 ;
8096 PyObject * obj1 = 0 ;
8097 char *kwnames[] = {
8098 (char *) "self",(char *) "line", NULL
8099 };
8100
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8103 arg2 = (size_t) PyInt_AsLong(obj1);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = (bool)(arg1)->ScrollToLine(arg2);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 resultobj = PyInt_FromLong((long)result);
8113 return resultobj;
8114 fail:
8115 return NULL;
8116 }
8117
8118
8119 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8122 int arg2 ;
8123 bool result;
8124 PyObject * obj0 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "lines", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (bool)(arg1)->ScrollLines(arg2);
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 resultobj = PyInt_FromLong((long)result);
8139 return resultobj;
8140 fail:
8141 return NULL;
8142 }
8143
8144
8145 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8146 PyObject *resultobj;
8147 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8148 int arg2 ;
8149 bool result;
8150 PyObject * obj0 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "self",(char *) "pages", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (bool)(arg1)->ScrollPages(arg2);
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 resultobj = PyInt_FromLong((long)result);
8165 return resultobj;
8166 fail:
8167 return NULL;
8168 }
8169
8170
8171 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8174 size_t arg2 ;
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "self",(char *) "line", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8183 arg2 = (size_t) PyInt_AsLong(obj1);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 (arg1)->RefreshLine(arg2);
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 Py_INCREF(Py_None); resultobj = Py_None;
8193 return resultobj;
8194 fail:
8195 return NULL;
8196 }
8197
8198
8199 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8200 PyObject *resultobj;
8201 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8202 size_t arg2 ;
8203 size_t arg3 ;
8204 PyObject * obj0 = 0 ;
8205 PyObject * obj1 = 0 ;
8206 PyObject * obj2 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "self",(char *) "from",(char *) "to", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8213 arg2 = (size_t) PyInt_AsLong(obj1);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 arg3 = (size_t) PyInt_AsLong(obj2);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 (arg1)->RefreshLines(arg2,arg3);
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 Py_INCREF(Py_None); resultobj = Py_None;
8225 return resultobj;
8226 fail:
8227 return NULL;
8228 }
8229
8230
8231 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj;
8233 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8234 int arg2 ;
8235 int arg3 ;
8236 int result;
8237 PyObject * obj0 = 0 ;
8238 char *kwnames[] = {
8239 (char *) "self",(char *) "x",(char *) "y", NULL
8240 };
8241
8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 resultobj = PyInt_FromLong((long)result);
8252 return resultobj;
8253 fail:
8254 return NULL;
8255 }
8256
8257
8258 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8261 wxPoint *arg2 = 0 ;
8262 int result;
8263 wxPoint temp2 ;
8264 PyObject * obj0 = 0 ;
8265 PyObject * obj1 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self",(char *) "pt", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8272 {
8273 arg2 = &temp2;
8274 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8275 }
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = PyInt_FromLong((long)result);
8284 return resultobj;
8285 fail:
8286 return NULL;
8287 }
8288
8289
8290 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8293 PyObject * obj0 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 (arg1)->RefreshAll();
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 Py_INCREF(Py_None); resultobj = Py_None;
8308 return resultobj;
8309 fail:
8310 return NULL;
8311 }
8312
8313
8314 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8315 PyObject *resultobj;
8316 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8317 size_t result;
8318 PyObject * obj0 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 resultobj = PyInt_FromLong((long)result);
8333 return resultobj;
8334 fail:
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8342 size_t result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 resultobj = PyInt_FromLong((long)result);
8358 return resultobj;
8359 fail:
8360 return NULL;
8361 }
8362
8363
8364 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8365 PyObject *resultobj;
8366 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8367 size_t result;
8368 PyObject * obj0 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8377 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 resultobj = PyInt_FromLong((long)result);
8383 return resultobj;
8384 fail:
8385 return NULL;
8386 }
8387
8388
8389 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8390 PyObject *resultobj;
8391 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8392 size_t arg2 ;
8393 bool result;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
8396 char *kwnames[] = {
8397 (char *) "self",(char *) "line", NULL
8398 };
8399
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8402 arg2 = (size_t) PyInt_AsLong(obj1);
8403 if (PyErr_Occurred()) SWIG_fail;
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8407
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 resultobj = PyInt_FromLong((long)result);
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8419 PyObject *obj;
8420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8421 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8422 Py_INCREF(obj);
8423 return Py_BuildValue((char *)"");
8424 }
8425 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxWindow *arg1 = (wxWindow *) 0 ;
8428 int arg2 = (int) wxID_ANY ;
8429 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8430 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8431 wxSize const &arg4_defvalue = wxDefaultSize ;
8432 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8433 long arg5 = (long) 0 ;
8434 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8435 wxString *arg6 = (wxString *) &arg6_defvalue ;
8436 wxPyVListBox *result;
8437 wxPoint temp3 ;
8438 wxSize temp4 ;
8439 bool temp6 = False ;
8440 PyObject * obj0 = 0 ;
8441 PyObject * obj2 = 0 ;
8442 PyObject * obj3 = 0 ;
8443 PyObject * obj5 = 0 ;
8444 char *kwnames[] = {
8445 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8446 };
8447
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8450 if (obj2) {
8451 {
8452 arg3 = &temp3;
8453 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8454 }
8455 }
8456 if (obj3) {
8457 {
8458 arg4 = &temp4;
8459 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8460 }
8461 }
8462 if (obj5) {
8463 {
8464 arg6 = wxString_in_helper(obj5);
8465 if (arg6 == NULL) SWIG_fail;
8466 temp6 = True;
8467 }
8468 }
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8477 {
8478 if (temp6)
8479 delete arg6;
8480 }
8481 return resultobj;
8482 fail:
8483 {
8484 if (temp6)
8485 delete arg6;
8486 }
8487 return NULL;
8488 }
8489
8490
8491 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxPyVListBox *result;
8494 char *kwnames[] = {
8495 NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8499 {
8500 PyThreadState* __tstate = wxPyBeginAllowThreads();
8501 result = (wxPyVListBox *)new wxPyVListBox();
8502
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8507 return resultobj;
8508 fail:
8509 return NULL;
8510 }
8511
8512
8513 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj;
8515 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8516 PyObject *arg2 = (PyObject *) 0 ;
8517 PyObject *arg3 = (PyObject *) 0 ;
8518 PyObject * obj0 = 0 ;
8519 PyObject * obj1 = 0 ;
8520 PyObject * obj2 = 0 ;
8521 char *kwnames[] = {
8522 (char *) "self",(char *) "self",(char *) "_class", NULL
8523 };
8524
8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8527 arg2 = obj1;
8528 arg3 = obj2;
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 (arg1)->_setCallbackInfo(arg2,arg3);
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 Py_INCREF(Py_None); resultobj = Py_None;
8537 return resultobj;
8538 fail:
8539 return NULL;
8540 }
8541
8542
8543 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8544 PyObject *resultobj;
8545 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8546 wxWindow *arg2 = (wxWindow *) 0 ;
8547 int arg3 = (int) wxID_ANY ;
8548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8550 wxSize const &arg5_defvalue = wxDefaultSize ;
8551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8552 long arg6 = (long) 0 ;
8553 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8554 wxString *arg7 = (wxString *) &arg7_defvalue ;
8555 bool result;
8556 wxPoint temp4 ;
8557 wxSize temp5 ;
8558 bool temp7 = False ;
8559 PyObject * obj0 = 0 ;
8560 PyObject * obj1 = 0 ;
8561 PyObject * obj3 = 0 ;
8562 PyObject * obj4 = 0 ;
8563 PyObject * obj6 = 0 ;
8564 char *kwnames[] = {
8565 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8566 };
8567
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8571 if (obj3) {
8572 {
8573 arg4 = &temp4;
8574 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8575 }
8576 }
8577 if (obj4) {
8578 {
8579 arg5 = &temp5;
8580 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8581 }
8582 }
8583 if (obj6) {
8584 {
8585 arg7 = wxString_in_helper(obj6);
8586 if (arg7 == NULL) SWIG_fail;
8587 temp7 = True;
8588 }
8589 }
8590 {
8591 PyThreadState* __tstate = wxPyBeginAllowThreads();
8592 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8593
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 resultobj = PyInt_FromLong((long)result);
8598 {
8599 if (temp7)
8600 delete arg7;
8601 }
8602 return resultobj;
8603 fail:
8604 {
8605 if (temp7)
8606 delete arg7;
8607 }
8608 return NULL;
8609 }
8610
8611
8612 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8613 PyObject *resultobj;
8614 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8615 size_t result;
8616 PyObject * obj0 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 resultobj = PyInt_FromLong((long)result);
8631 return resultobj;
8632 fail:
8633 return NULL;
8634 }
8635
8636
8637 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8640 bool result;
8641 PyObject * obj0 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "self", NULL
8644 };
8645
8646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8651
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 resultobj = PyInt_FromLong((long)result);
8656 return resultobj;
8657 fail:
8658 return NULL;
8659 }
8660
8661
8662 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8665 int result;
8666 PyObject * obj0 = 0 ;
8667 char *kwnames[] = {
8668 (char *) "self", NULL
8669 };
8670
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8676
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 resultobj = PyInt_FromLong((long)result);
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj;
8689 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8690 size_t arg2 ;
8691 bool result;
8692 PyObject * obj0 = 0 ;
8693 PyObject * obj1 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "item", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8700 arg2 = (size_t) PyInt_AsLong(obj1);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8705
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 resultobj = PyInt_FromLong((long)result);
8710 return resultobj;
8711 fail:
8712 return NULL;
8713 }
8714
8715
8716 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8717 PyObject *resultobj;
8718 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8719 size_t arg2 ;
8720 bool result;
8721 PyObject * obj0 = 0 ;
8722 PyObject * obj1 = 0 ;
8723 char *kwnames[] = {
8724 (char *) "self",(char *) "item", NULL
8725 };
8726
8727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8729 arg2 = (size_t) PyInt_AsLong(obj1);
8730 if (PyErr_Occurred()) SWIG_fail;
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 resultobj = PyInt_FromLong((long)result);
8739 return resultobj;
8740 fail:
8741 return NULL;
8742 }
8743
8744
8745 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj;
8747 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8748 size_t result;
8749 PyObject * obj0 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8756 {
8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
8758 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8759
8760 wxPyEndAllowThreads(__tstate);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 resultobj = PyInt_FromLong((long)result);
8764 return resultobj;
8765 fail:
8766 return NULL;
8767 }
8768
8769
8770 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8771 PyObject *resultobj;
8772 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8773 unsigned long *arg2 = 0 ;
8774 int result;
8775 PyObject * obj0 = 0 ;
8776 PyObject * obj1 = 0 ;
8777 char *kwnames[] = {
8778 (char *) "self",(char *) "cookie", NULL
8779 };
8780
8781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8784 if (arg2 == NULL) {
8785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8786 }
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8790
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 resultobj = PyInt_FromLong((long)result);
8795 return resultobj;
8796 fail:
8797 return NULL;
8798 }
8799
8800
8801 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj;
8803 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8804 unsigned long *arg2 = 0 ;
8805 int result;
8806 PyObject * obj0 = 0 ;
8807 PyObject * obj1 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self",(char *) "cookie", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8815 if (arg2 == NULL) {
8816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8817 }
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 resultobj = PyInt_FromLong((long)result);
8826 return resultobj;
8827 fail:
8828 return NULL;
8829 }
8830
8831
8832 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8835 wxPoint result;
8836 PyObject * obj0 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = ((wxPyVListBox const *)arg1)->GetMargins();
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 {
8851 wxPoint * resultptr;
8852 resultptr = new wxPoint((wxPoint &) result);
8853 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8854 }
8855 return resultobj;
8856 fail:
8857 return NULL;
8858 }
8859
8860
8861 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8862 PyObject *resultobj;
8863 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8864 wxColour *result;
8865 PyObject * obj0 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 {
8875 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8876 result = (wxColour *) &_result_ref;
8877 }
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8892 size_t arg2 ;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self",(char *) "count", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8901 arg2 = (size_t) PyInt_AsLong(obj1);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 (arg1)->SetItemCount(arg2);
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 Py_INCREF(Py_None); resultobj = Py_None;
8911 return resultobj;
8912 fail:
8913 return NULL;
8914 }
8915
8916
8917 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj;
8919 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8920 PyObject * obj0 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 (arg1)->Clear();
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 Py_INCREF(Py_None); resultobj = Py_None;
8935 return resultobj;
8936 fail:
8937 return NULL;
8938 }
8939
8940
8941 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj;
8943 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8944 int arg2 ;
8945 PyObject * obj0 = 0 ;
8946 char *kwnames[] = {
8947 (char *) "self",(char *) "selection", NULL
8948 };
8949
8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 (arg1)->SetSelection(arg2);
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 Py_INCREF(Py_None); resultobj = Py_None;
8960 return resultobj;
8961 fail:
8962 return NULL;
8963 }
8964
8965
8966 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj;
8968 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8969 size_t arg2 ;
8970 bool arg3 = (bool) True ;
8971 bool result;
8972 PyObject * obj0 = 0 ;
8973 PyObject * obj1 = 0 ;
8974 PyObject * obj2 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self",(char *) "item",(char *) "select", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8981 arg2 = (size_t) PyInt_AsLong(obj1);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 if (obj2) {
8984 arg3 = PyInt_AsLong(obj2) ? true : false;
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 result = (bool)(arg1)->Select(arg2,arg3);
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 resultobj = PyInt_FromLong((long)result);
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj;
9003 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9004 size_t arg2 ;
9005 size_t arg3 ;
9006 bool result;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 PyObject * obj2 = 0 ;
9010 char *kwnames[] = {
9011 (char *) "self",(char *) "from",(char *) "to", NULL
9012 };
9013
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9016 arg2 = (size_t) PyInt_AsLong(obj1);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 arg3 = (size_t) PyInt_AsLong(obj2);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 result = (bool)(arg1)->SelectRange(arg2,arg3);
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 resultobj = PyInt_FromLong((long)result);
9028 return resultobj;
9029 fail:
9030 return NULL;
9031 }
9032
9033
9034 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9037 size_t arg2 ;
9038 PyObject * obj0 = 0 ;
9039 PyObject * obj1 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self",(char *) "item", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 arg2 = (size_t) PyInt_AsLong(obj1);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 (arg1)->Toggle(arg2);
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 Py_INCREF(Py_None); resultobj = Py_None;
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj;
9064 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9065 bool result;
9066 PyObject * obj0 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9073 {
9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
9075 result = (bool)(arg1)->SelectAll();
9076
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 resultobj = PyInt_FromLong((long)result);
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj;
9089 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9090 bool result;
9091 PyObject * obj0 = 0 ;
9092 char *kwnames[] = {
9093 (char *) "self", NULL
9094 };
9095
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 result = (bool)(arg1)->DeselectAll();
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 resultobj = PyInt_FromLong((long)result);
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9115 wxPoint *arg2 = 0 ;
9116 wxPoint temp2 ;
9117 PyObject * obj0 = 0 ;
9118 PyObject * obj1 = 0 ;
9119 char *kwnames[] = {
9120 (char *) "self",(char *) "pt", NULL
9121 };
9122
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9125 {
9126 arg2 = &temp2;
9127 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9128 }
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->SetMargins((wxPoint const &)*arg2);
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 Py_INCREF(Py_None); resultobj = Py_None;
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9146 int arg2 ;
9147 int arg3 ;
9148 PyObject * obj0 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self",(char *) "x",(char *) "y", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 (arg1)->SetMargins(arg2,arg3);
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 Py_INCREF(Py_None); resultobj = Py_None;
9163 return resultobj;
9164 fail:
9165 return NULL;
9166 }
9167
9168
9169 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9170 PyObject *resultobj;
9171 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9172 wxColour *arg2 = 0 ;
9173 wxColour temp2 ;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self",(char *) "col", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9182 {
9183 arg2 = &temp2;
9184 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9185 }
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 Py_INCREF(Py_None); resultobj = Py_None;
9194 return resultobj;
9195 fail:
9196 return NULL;
9197 }
9198
9199
9200 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9201 PyObject *obj;
9202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9203 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9204 Py_INCREF(obj);
9205 return Py_BuildValue((char *)"");
9206 }
9207 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj;
9209 wxWindow *arg1 = (wxWindow *) 0 ;
9210 int arg2 = (int) wxID_ANY ;
9211 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9212 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9213 wxSize const &arg4_defvalue = wxDefaultSize ;
9214 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9215 long arg5 = (long) 0 ;
9216 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9217 wxString *arg6 = (wxString *) &arg6_defvalue ;
9218 wxPyHtmlListBox *result;
9219 wxPoint temp3 ;
9220 wxSize temp4 ;
9221 bool temp6 = False ;
9222 PyObject * obj0 = 0 ;
9223 PyObject * obj2 = 0 ;
9224 PyObject * obj3 = 0 ;
9225 PyObject * obj5 = 0 ;
9226 char *kwnames[] = {
9227 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9228 };
9229
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9232 if (obj2) {
9233 {
9234 arg3 = &temp3;
9235 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9236 }
9237 }
9238 if (obj3) {
9239 {
9240 arg4 = &temp4;
9241 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9242 }
9243 }
9244 if (obj5) {
9245 {
9246 arg6 = wxString_in_helper(obj5);
9247 if (arg6 == NULL) SWIG_fail;
9248 temp6 = True;
9249 }
9250 }
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9259 {
9260 if (temp6)
9261 delete arg6;
9262 }
9263 return resultobj;
9264 fail:
9265 {
9266 if (temp6)
9267 delete arg6;
9268 }
9269 return NULL;
9270 }
9271
9272
9273 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9274 PyObject *resultobj;
9275 wxPyHtmlListBox *result;
9276 char *kwnames[] = {
9277 NULL
9278 };
9279
9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9289 return resultobj;
9290 fail:
9291 return NULL;
9292 }
9293
9294
9295 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9298 PyObject *arg2 = (PyObject *) 0 ;
9299 PyObject *arg3 = (PyObject *) 0 ;
9300 PyObject * obj0 = 0 ;
9301 PyObject * obj1 = 0 ;
9302 PyObject * obj2 = 0 ;
9303 char *kwnames[] = {
9304 (char *) "self",(char *) "self",(char *) "_class", NULL
9305 };
9306
9307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9309 arg2 = obj1;
9310 arg3 = obj2;
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 (arg1)->_setCallbackInfo(arg2,arg3);
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 Py_INCREF(Py_None); resultobj = Py_None;
9319 return resultobj;
9320 fail:
9321 return NULL;
9322 }
9323
9324
9325 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9328 wxWindow *arg2 = (wxWindow *) 0 ;
9329 int arg3 = (int) wxID_ANY ;
9330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9332 wxSize const &arg5_defvalue = wxDefaultSize ;
9333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9334 long arg6 = (long) 0 ;
9335 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9336 wxString *arg7 = (wxString *) &arg7_defvalue ;
9337 bool result;
9338 wxPoint temp4 ;
9339 wxSize temp5 ;
9340 bool temp7 = False ;
9341 PyObject * obj0 = 0 ;
9342 PyObject * obj1 = 0 ;
9343 PyObject * obj3 = 0 ;
9344 PyObject * obj4 = 0 ;
9345 PyObject * obj6 = 0 ;
9346 char *kwnames[] = {
9347 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9348 };
9349
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9353 if (obj3) {
9354 {
9355 arg4 = &temp4;
9356 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9357 }
9358 }
9359 if (obj4) {
9360 {
9361 arg5 = &temp5;
9362 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9363 }
9364 }
9365 if (obj6) {
9366 {
9367 arg7 = wxString_in_helper(obj6);
9368 if (arg7 == NULL) SWIG_fail;
9369 temp7 = True;
9370 }
9371 }
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 resultobj = PyInt_FromLong((long)result);
9380 {
9381 if (temp7)
9382 delete arg7;
9383 }
9384 return resultobj;
9385 fail:
9386 {
9387 if (temp7)
9388 delete arg7;
9389 }
9390 return NULL;
9391 }
9392
9393
9394 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9395 PyObject *resultobj;
9396 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9397 PyObject * obj0 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 (arg1)->RefreshAll();
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 Py_INCREF(Py_None); resultobj = Py_None;
9412 return resultobj;
9413 fail:
9414 return NULL;
9415 }
9416
9417
9418 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj;
9420 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9421 size_t arg2 ;
9422 PyObject * obj0 = 0 ;
9423 PyObject * obj1 = 0 ;
9424 char *kwnames[] = {
9425 (char *) "self",(char *) "count", NULL
9426 };
9427
9428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9430 arg2 = (size_t) PyInt_AsLong(obj1);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 (arg1)->SetItemCount(arg2);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 Py_INCREF(Py_None); resultobj = Py_None;
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9447 PyObject *obj;
9448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9449 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9450 Py_INCREF(obj);
9451 return Py_BuildValue((char *)"");
9452 }
9453 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9454 PyObject *resultobj;
9455 wxTaskBarIcon *result;
9456 char *kwnames[] = {
9457 NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9478 PyObject * obj0 = 0 ;
9479 char *kwnames[] = {
9480 (char *) "self", NULL
9481 };
9482
9483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 delete arg1;
9488
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
9492 Py_INCREF(Py_None); resultobj = Py_None;
9493 return resultobj;
9494 fail:
9495 return NULL;
9496 }
9497
9498
9499 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9500 PyObject *obj;
9501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9502 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9503 Py_INCREF(obj);
9504 return Py_BuildValue((char *)"");
9505 }
9506 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxEventType arg1 ;
9509 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9510 wxTaskBarIconEvent *result;
9511 PyObject * obj1 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "evtType",(char *) "tbIcon", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9518 {
9519 PyThreadState* __tstate = wxPyBeginAllowThreads();
9520 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9521
9522 wxPyEndAllowThreads(__tstate);
9523 if (PyErr_Occurred()) SWIG_fail;
9524 }
9525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9526 return resultobj;
9527 fail:
9528 return NULL;
9529 }
9530
9531
9532 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9533 PyObject *obj;
9534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9535 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9536 Py_INCREF(obj);
9537 return Py_BuildValue((char *)"");
9538 }
9539 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject *resultobj;
9541 wxColourData *result;
9542 char *kwnames[] = {
9543 NULL
9544 };
9545
9546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (wxColourData *)new wxColourData();
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxColourData *arg1 = (wxColourData *) 0 ;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 delete arg1;
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 Py_INCREF(Py_None); resultobj = Py_None;
9579 return resultobj;
9580 fail:
9581 return NULL;
9582 }
9583
9584
9585 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxColourData *arg1 = (wxColourData *) 0 ;
9588 bool result;
9589 PyObject * obj0 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 result = (bool)(arg1)->GetChooseFull();
9599
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 resultobj = PyInt_FromLong((long)result);
9604 return resultobj;
9605 fail:
9606 return NULL;
9607 }
9608
9609
9610 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9611 PyObject *resultobj;
9612 wxColourData *arg1 = (wxColourData *) 0 ;
9613 wxColour result;
9614 PyObject * obj0 = 0 ;
9615 char *kwnames[] = {
9616 (char *) "self", NULL
9617 };
9618
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 result = (arg1)->GetColour();
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629 wxColour * resultptr;
9630 resultptr = new wxColour((wxColour &) result);
9631 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9632 }
9633 return resultobj;
9634 fail:
9635 return NULL;
9636 }
9637
9638
9639 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9640 PyObject *resultobj;
9641 wxColourData *arg1 = (wxColourData *) 0 ;
9642 int arg2 ;
9643 wxColour result;
9644 PyObject * obj0 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self",(char *) "i", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 result = (arg1)->GetCustomColour(arg2);
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 {
9659 wxColour * resultptr;
9660 resultptr = new wxColour((wxColour &) result);
9661 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9662 }
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxColourData *arg1 = (wxColourData *) 0 ;
9672 int arg2 ;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self",(char *) "flag", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 (arg1)->SetChooseFull(arg2);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 Py_INCREF(Py_None); resultobj = Py_None;
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxColourData *arg1 = (wxColourData *) 0 ;
9697 wxColour *arg2 = 0 ;
9698 wxColour temp2 ;
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "colour", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9707 {
9708 arg2 = &temp2;
9709 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9710 }
9711 {
9712 PyThreadState* __tstate = wxPyBeginAllowThreads();
9713 (arg1)->SetColour((wxColour const &)*arg2);
9714
9715 wxPyEndAllowThreads(__tstate);
9716 if (PyErr_Occurred()) SWIG_fail;
9717 }
9718 Py_INCREF(Py_None); resultobj = Py_None;
9719 return resultobj;
9720 fail:
9721 return NULL;
9722 }
9723
9724
9725 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9726 PyObject *resultobj;
9727 wxColourData *arg1 = (wxColourData *) 0 ;
9728 int arg2 ;
9729 wxColour *arg3 = 0 ;
9730 wxColour temp3 ;
9731 PyObject * obj0 = 0 ;
9732 PyObject * obj2 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "i",(char *) "colour", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9739 {
9740 arg3 = &temp3;
9741 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9742 }
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 Py_INCREF(Py_None); resultobj = Py_None;
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9758 PyObject *obj;
9759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9760 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9761 Py_INCREF(obj);
9762 return Py_BuildValue((char *)"");
9763 }
9764 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj;
9766 wxWindow *arg1 = (wxWindow *) 0 ;
9767 wxColourData *arg2 = (wxColourData *) NULL ;
9768 wxColourDialog *result;
9769 PyObject * obj0 = 0 ;
9770 PyObject * obj1 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "parent",(char *) "data", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9777 if (obj1) {
9778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9779 }
9780 {
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9783
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9788 return resultobj;
9789 fail:
9790 return NULL;
9791 }
9792
9793
9794 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9795 PyObject *resultobj;
9796 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9797 wxColourData *result;
9798 PyObject * obj0 = 0 ;
9799 char *kwnames[] = {
9800 (char *) "self", NULL
9801 };
9802
9803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 {
9808 wxColourData &_result_ref = (arg1)->GetColourData();
9809 result = (wxColourData *) &_result_ref;
9810 }
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9825 int result;
9826 PyObject * obj0 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "self", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9833 {
9834 PyThreadState* __tstate = wxPyBeginAllowThreads();
9835 result = (int)(arg1)->ShowModal();
9836
9837 wxPyEndAllowThreads(__tstate);
9838 if (PyErr_Occurred()) SWIG_fail;
9839 }
9840 resultobj = PyInt_FromLong((long)result);
9841 return resultobj;
9842 fail:
9843 return NULL;
9844 }
9845
9846
9847 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9848 PyObject *obj;
9849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9850 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9851 Py_INCREF(obj);
9852 return Py_BuildValue((char *)"");
9853 }
9854 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj;
9856 wxWindow *arg1 = (wxWindow *) 0 ;
9857 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9858 wxString *arg2 = (wxString *) &arg2_defvalue ;
9859 wxString const &arg3_defvalue = wxPyEmptyString ;
9860 wxString *arg3 = (wxString *) &arg3_defvalue ;
9861 long arg4 = (long) 0 ;
9862 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9863 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9864 wxSize const &arg6_defvalue = wxDefaultSize ;
9865 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9866 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9867 wxString *arg7 = (wxString *) &arg7_defvalue ;
9868 wxDirDialog *result;
9869 bool temp2 = False ;
9870 bool temp3 = False ;
9871 wxPoint temp5 ;
9872 wxSize temp6 ;
9873 bool temp7 = False ;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 PyObject * obj2 = 0 ;
9877 PyObject * obj4 = 0 ;
9878 PyObject * obj5 = 0 ;
9879 PyObject * obj6 = 0 ;
9880 char *kwnames[] = {
9881 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9882 };
9883
9884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9886 if (obj1) {
9887 {
9888 arg2 = wxString_in_helper(obj1);
9889 if (arg2 == NULL) SWIG_fail;
9890 temp2 = True;
9891 }
9892 }
9893 if (obj2) {
9894 {
9895 arg3 = wxString_in_helper(obj2);
9896 if (arg3 == NULL) SWIG_fail;
9897 temp3 = True;
9898 }
9899 }
9900 if (obj4) {
9901 {
9902 arg5 = &temp5;
9903 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9904 }
9905 }
9906 if (obj5) {
9907 {
9908 arg6 = &temp6;
9909 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9910 }
9911 }
9912 if (obj6) {
9913 {
9914 arg7 = wxString_in_helper(obj6);
9915 if (arg7 == NULL) SWIG_fail;
9916 temp7 = True;
9917 }
9918 }
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9927 {
9928 if (temp2)
9929 delete arg2;
9930 }
9931 {
9932 if (temp3)
9933 delete arg3;
9934 }
9935 {
9936 if (temp7)
9937 delete arg7;
9938 }
9939 return resultobj;
9940 fail:
9941 {
9942 if (temp2)
9943 delete arg2;
9944 }
9945 {
9946 if (temp3)
9947 delete arg3;
9948 }
9949 {
9950 if (temp7)
9951 delete arg7;
9952 }
9953 return NULL;
9954 }
9955
9956
9957 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9960 wxString result;
9961 PyObject * obj0 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 result = (arg1)->GetPath();
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 {
9976 #if wxUSE_UNICODE
9977 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9978 #else
9979 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9980 #endif
9981 }
9982 return resultobj;
9983 fail:
9984 return NULL;
9985 }
9986
9987
9988 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9991 wxString result;
9992 PyObject * obj0 = 0 ;
9993 char *kwnames[] = {
9994 (char *) "self", NULL
9995 };
9996
9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (arg1)->GetMessage();
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 {
10007 #if wxUSE_UNICODE
10008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10009 #else
10010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10011 #endif
10012 }
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10022 long result;
10023 PyObject * obj0 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 result = (long)(arg1)->GetStyle();
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 resultobj = PyInt_FromLong((long)result);
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10045 PyObject *resultobj;
10046 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10047 wxString *arg2 = 0 ;
10048 bool temp2 = False ;
10049 PyObject * obj0 = 0 ;
10050 PyObject * obj1 = 0 ;
10051 char *kwnames[] = {
10052 (char *) "self",(char *) "message", NULL
10053 };
10054
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10057 {
10058 arg2 = wxString_in_helper(obj1);
10059 if (arg2 == NULL) SWIG_fail;
10060 temp2 = True;
10061 }
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 (arg1)->SetMessage((wxString const &)*arg2);
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 Py_INCREF(Py_None); resultobj = Py_None;
10070 {
10071 if (temp2)
10072 delete arg2;
10073 }
10074 return resultobj;
10075 fail:
10076 {
10077 if (temp2)
10078 delete arg2;
10079 }
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10087 wxString *arg2 = 0 ;
10088 bool temp2 = False ;
10089 PyObject * obj0 = 0 ;
10090 PyObject * obj1 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "self",(char *) "path", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10097 {
10098 arg2 = wxString_in_helper(obj1);
10099 if (arg2 == NULL) SWIG_fail;
10100 temp2 = True;
10101 }
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 (arg1)->SetPath((wxString const &)*arg2);
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 Py_INCREF(Py_None); resultobj = Py_None;
10110 {
10111 if (temp2)
10112 delete arg2;
10113 }
10114 return resultobj;
10115 fail:
10116 {
10117 if (temp2)
10118 delete arg2;
10119 }
10120 return NULL;
10121 }
10122
10123
10124 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10125 PyObject *resultobj;
10126 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10127 int result;
10128 PyObject * obj0 = 0 ;
10129 char *kwnames[] = {
10130 (char *) "self", NULL
10131 };
10132
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (int)(arg1)->ShowModal();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = PyInt_FromLong((long)result);
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10150 PyObject *obj;
10151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10152 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10153 Py_INCREF(obj);
10154 return Py_BuildValue((char *)"");
10155 }
10156 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj;
10158 wxWindow *arg1 = (wxWindow *) 0 ;
10159 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10160 wxString *arg2 = (wxString *) &arg2_defvalue ;
10161 wxString const &arg3_defvalue = wxPyEmptyString ;
10162 wxString *arg3 = (wxString *) &arg3_defvalue ;
10163 wxString const &arg4_defvalue = wxPyEmptyString ;
10164 wxString *arg4 = (wxString *) &arg4_defvalue ;
10165 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10166 wxString *arg5 = (wxString *) &arg5_defvalue ;
10167 long arg6 = (long) 0 ;
10168 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10169 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10170 wxFileDialog *result;
10171 bool temp2 = False ;
10172 bool temp3 = False ;
10173 bool temp4 = False ;
10174 bool temp5 = False ;
10175 wxPoint temp7 ;
10176 PyObject * obj0 = 0 ;
10177 PyObject * obj1 = 0 ;
10178 PyObject * obj2 = 0 ;
10179 PyObject * obj3 = 0 ;
10180 PyObject * obj4 = 0 ;
10181 PyObject * obj6 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10184 };
10185
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10188 if (obj1) {
10189 {
10190 arg2 = wxString_in_helper(obj1);
10191 if (arg2 == NULL) SWIG_fail;
10192 temp2 = True;
10193 }
10194 }
10195 if (obj2) {
10196 {
10197 arg3 = wxString_in_helper(obj2);
10198 if (arg3 == NULL) SWIG_fail;
10199 temp3 = True;
10200 }
10201 }
10202 if (obj3) {
10203 {
10204 arg4 = wxString_in_helper(obj3);
10205 if (arg4 == NULL) SWIG_fail;
10206 temp4 = True;
10207 }
10208 }
10209 if (obj4) {
10210 {
10211 arg5 = wxString_in_helper(obj4);
10212 if (arg5 == NULL) SWIG_fail;
10213 temp5 = True;
10214 }
10215 }
10216 if (obj6) {
10217 {
10218 arg7 = &temp7;
10219 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10220 }
10221 }
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10230 {
10231 if (temp2)
10232 delete arg2;
10233 }
10234 {
10235 if (temp3)
10236 delete arg3;
10237 }
10238 {
10239 if (temp4)
10240 delete arg4;
10241 }
10242 {
10243 if (temp5)
10244 delete arg5;
10245 }
10246 return resultobj;
10247 fail:
10248 {
10249 if (temp2)
10250 delete arg2;
10251 }
10252 {
10253 if (temp3)
10254 delete arg3;
10255 }
10256 {
10257 if (temp4)
10258 delete arg4;
10259 }
10260 {
10261 if (temp5)
10262 delete arg5;
10263 }
10264 return NULL;
10265 }
10266
10267
10268 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj;
10270 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10271 wxString *arg2 = 0 ;
10272 bool temp2 = False ;
10273 PyObject * obj0 = 0 ;
10274 PyObject * obj1 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "message", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10281 {
10282 arg2 = wxString_in_helper(obj1);
10283 if (arg2 == NULL) SWIG_fail;
10284 temp2 = True;
10285 }
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 (arg1)->SetMessage((wxString const &)*arg2);
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 Py_INCREF(Py_None); resultobj = Py_None;
10294 {
10295 if (temp2)
10296 delete arg2;
10297 }
10298 return resultobj;
10299 fail:
10300 {
10301 if (temp2)
10302 delete arg2;
10303 }
10304 return NULL;
10305 }
10306
10307
10308 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10309 PyObject *resultobj;
10310 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10311 wxString *arg2 = 0 ;
10312 bool temp2 = False ;
10313 PyObject * obj0 = 0 ;
10314 PyObject * obj1 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self",(char *) "path", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10321 {
10322 arg2 = wxString_in_helper(obj1);
10323 if (arg2 == NULL) SWIG_fail;
10324 temp2 = True;
10325 }
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 (arg1)->SetPath((wxString const &)*arg2);
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 Py_INCREF(Py_None); resultobj = Py_None;
10334 {
10335 if (temp2)
10336 delete arg2;
10337 }
10338 return resultobj;
10339 fail:
10340 {
10341 if (temp2)
10342 delete arg2;
10343 }
10344 return NULL;
10345 }
10346
10347
10348 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10349 PyObject *resultobj;
10350 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10351 wxString *arg2 = 0 ;
10352 bool temp2 = False ;
10353 PyObject * obj0 = 0 ;
10354 PyObject * obj1 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self",(char *) "dir", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10361 {
10362 arg2 = wxString_in_helper(obj1);
10363 if (arg2 == NULL) SWIG_fail;
10364 temp2 = True;
10365 }
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 (arg1)->SetDirectory((wxString const &)*arg2);
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 Py_INCREF(Py_None); resultobj = Py_None;
10374 {
10375 if (temp2)
10376 delete arg2;
10377 }
10378 return resultobj;
10379 fail:
10380 {
10381 if (temp2)
10382 delete arg2;
10383 }
10384 return NULL;
10385 }
10386
10387
10388 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10391 wxString *arg2 = 0 ;
10392 bool temp2 = False ;
10393 PyObject * obj0 = 0 ;
10394 PyObject * obj1 = 0 ;
10395 char *kwnames[] = {
10396 (char *) "self",(char *) "name", NULL
10397 };
10398
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10401 {
10402 arg2 = wxString_in_helper(obj1);
10403 if (arg2 == NULL) SWIG_fail;
10404 temp2 = True;
10405 }
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->SetFilename((wxString const &)*arg2);
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 Py_INCREF(Py_None); resultobj = Py_None;
10414 {
10415 if (temp2)
10416 delete arg2;
10417 }
10418 return resultobj;
10419 fail:
10420 {
10421 if (temp2)
10422 delete arg2;
10423 }
10424 return NULL;
10425 }
10426
10427
10428 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj;
10430 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10431 wxString *arg2 = 0 ;
10432 bool temp2 = False ;
10433 PyObject * obj0 = 0 ;
10434 PyObject * obj1 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self",(char *) "wildCard", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10441 {
10442 arg2 = wxString_in_helper(obj1);
10443 if (arg2 == NULL) SWIG_fail;
10444 temp2 = True;
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 (arg1)->SetWildcard((wxString const &)*arg2);
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 Py_INCREF(Py_None); resultobj = Py_None;
10454 {
10455 if (temp2)
10456 delete arg2;
10457 }
10458 return resultobj;
10459 fail:
10460 {
10461 if (temp2)
10462 delete arg2;
10463 }
10464 return NULL;
10465 }
10466
10467
10468 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10469 PyObject *resultobj;
10470 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10471 long arg2 ;
10472 PyObject * obj0 = 0 ;
10473 char *kwnames[] = {
10474 (char *) "self",(char *) "style", NULL
10475 };
10476
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10479 {
10480 PyThreadState* __tstate = wxPyBeginAllowThreads();
10481 (arg1)->SetStyle(arg2);
10482
10483 wxPyEndAllowThreads(__tstate);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 Py_INCREF(Py_None); resultobj = Py_None;
10487 return resultobj;
10488 fail:
10489 return NULL;
10490 }
10491
10492
10493 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10494 PyObject *resultobj;
10495 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10496 int arg2 ;
10497 PyObject * obj0 = 0 ;
10498 char *kwnames[] = {
10499 (char *) "self",(char *) "filterIndex", NULL
10500 };
10501
10502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 (arg1)->SetFilterIndex(arg2);
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 Py_INCREF(Py_None); resultobj = Py_None;
10512 return resultobj;
10513 fail:
10514 return NULL;
10515 }
10516
10517
10518 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10521 wxString result;
10522 PyObject * obj0 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = ((wxFileDialog const *)arg1)->GetMessage();
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 {
10537 #if wxUSE_UNICODE
10538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10539 #else
10540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10541 #endif
10542 }
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj;
10551 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10552 wxString result;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 result = ((wxFileDialog const *)arg1)->GetPath();
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 {
10568 #if wxUSE_UNICODE
10569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10570 #else
10571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10572 #endif
10573 }
10574 return resultobj;
10575 fail:
10576 return NULL;
10577 }
10578
10579
10580 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj;
10582 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10583 wxString result;
10584 PyObject * obj0 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591 {
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 result = ((wxFileDialog const *)arg1)->GetDirectory();
10594
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 {
10599 #if wxUSE_UNICODE
10600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10601 #else
10602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10603 #endif
10604 }
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10614 wxString result;
10615 PyObject * obj0 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 result = ((wxFileDialog const *)arg1)->GetFilename();
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 {
10630 #if wxUSE_UNICODE
10631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10632 #else
10633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10634 #endif
10635 }
10636 return resultobj;
10637 fail:
10638 return NULL;
10639 }
10640
10641
10642 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject *resultobj;
10644 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10645 wxString result;
10646 PyObject * obj0 = 0 ;
10647 char *kwnames[] = {
10648 (char *) "self", NULL
10649 };
10650
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 result = ((wxFileDialog const *)arg1)->GetWildcard();
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 {
10661 #if wxUSE_UNICODE
10662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10663 #else
10664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10665 #endif
10666 }
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10676 long result;
10677 PyObject * obj0 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self", NULL
10680 };
10681
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 resultobj = PyInt_FromLong((long)result);
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10699 PyObject *resultobj;
10700 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10701 int result;
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 resultobj = PyInt_FromLong((long)result);
10717 return resultobj;
10718 fail:
10719 return NULL;
10720 }
10721
10722
10723 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10724 PyObject *resultobj;
10725 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10726 PyObject *result;
10727 PyObject * obj0 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 resultobj = result;
10742 return resultobj;
10743 fail:
10744 return NULL;
10745 }
10746
10747
10748 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10749 PyObject *resultobj;
10750 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10751 PyObject *result;
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 resultobj = result;
10767 return resultobj;
10768 fail:
10769 return NULL;
10770 }
10771
10772
10773 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10774 PyObject *obj;
10775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10776 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10777 Py_INCREF(obj);
10778 return Py_BuildValue((char *)"");
10779 }
10780 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj;
10782 wxWindow *arg1 = (wxWindow *) 0 ;
10783 wxString *arg2 = 0 ;
10784 wxString *arg3 = 0 ;
10785 int arg4 ;
10786 wxString *arg5 = (wxString *) 0 ;
10787 long arg6 = (long) wxCHOICEDLG_STYLE ;
10788 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10789 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10790 wxMultiChoiceDialog *result;
10791 bool temp2 = False ;
10792 bool temp3 = False ;
10793 wxPoint temp7 ;
10794 PyObject * obj0 = 0 ;
10795 PyObject * obj1 = 0 ;
10796 PyObject * obj2 = 0 ;
10797 PyObject * obj4 = 0 ;
10798 PyObject * obj6 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10805 {
10806 arg2 = wxString_in_helper(obj1);
10807 if (arg2 == NULL) SWIG_fail;
10808 temp2 = True;
10809 }
10810 {
10811 arg3 = wxString_in_helper(obj2);
10812 if (arg3 == NULL) SWIG_fail;
10813 temp3 = True;
10814 }
10815 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10816 if (obj6) {
10817 {
10818 arg7 = &temp7;
10819 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10820 }
10821 }
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10830 {
10831 if (temp2)
10832 delete arg2;
10833 }
10834 {
10835 if (temp3)
10836 delete arg3;
10837 }
10838 return resultobj;
10839 fail:
10840 {
10841 if (temp2)
10842 delete arg2;
10843 }
10844 {
10845 if (temp3)
10846 delete arg3;
10847 }
10848 return NULL;
10849 }
10850
10851
10852 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10855 wxArrayInt *arg2 = 0 ;
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 char *kwnames[] = {
10859 (char *) "self",(char *) "selections", NULL
10860 };
10861
10862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10864 {
10865 if (! PySequence_Check(obj1)) {
10866 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10867 SWIG_fail;
10868 }
10869 arg2 = new wxArrayInt;
10870 int i, len=PySequence_Length(obj1);
10871 for (i=0; i<len; i++) {
10872 PyObject* item = PySequence_GetItem(obj1, i);
10873 PyObject* number = PyNumber_Int(item);
10874 arg2->Add(PyInt_AS_LONG(number));
10875 Py_DECREF(item);
10876 Py_DECREF(number);
10877 }
10878 }
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 {
10888 if (arg2) delete arg2;
10889 }
10890 return resultobj;
10891 fail:
10892 {
10893 if (arg2) delete arg2;
10894 }
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10902 PyObject *result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 resultobj = result;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10925 PyObject *obj;
10926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10927 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10928 Py_INCREF(obj);
10929 return Py_BuildValue((char *)"");
10930 }
10931 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj;
10933 wxWindow *arg1 = (wxWindow *) 0 ;
10934 wxString *arg2 = 0 ;
10935 wxString *arg3 = 0 ;
10936 int arg4 ;
10937 wxString *arg5 = (wxString *) 0 ;
10938 long arg6 = (long) wxCHOICEDLG_STYLE ;
10939 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10940 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10941 wxSingleChoiceDialog *result;
10942 bool temp2 = False ;
10943 bool temp3 = False ;
10944 wxPoint temp6 ;
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 PyObject * obj2 = 0 ;
10948 PyObject * obj3 = 0 ;
10949 PyObject * obj5 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10956 {
10957 arg2 = wxString_in_helper(obj1);
10958 if (arg2 == NULL) SWIG_fail;
10959 temp2 = True;
10960 }
10961 {
10962 arg3 = wxString_in_helper(obj2);
10963 if (arg3 == NULL) SWIG_fail;
10964 temp3 = True;
10965 }
10966 {
10967 arg4 = PyList_Size(obj3);
10968 arg5 = wxString_LIST_helper(obj3);
10969 if (arg5 == NULL) SWIG_fail;
10970 }
10971 if (obj5) {
10972 {
10973 arg7 = &temp6;
10974 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10975 }
10976 }
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10985 {
10986 if (temp2)
10987 delete arg2;
10988 }
10989 {
10990 if (temp3)
10991 delete arg3;
10992 }
10993 {
10994 if (arg5) delete [] arg5;
10995 }
10996 return resultobj;
10997 fail:
10998 {
10999 if (temp2)
11000 delete arg2;
11001 }
11002 {
11003 if (temp3)
11004 delete arg3;
11005 }
11006 {
11007 if (arg5) delete [] arg5;
11008 }
11009 return NULL;
11010 }
11011
11012
11013 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11016 int result;
11017 PyObject * obj0 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (int)(arg1)->GetSelection();
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 resultobj = PyInt_FromLong((long)result);
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11041 wxString result;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 result = (arg1)->GetStringSelection();
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 {
11057 #if wxUSE_UNICODE
11058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11059 #else
11060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11061 #endif
11062 }
11063 return resultobj;
11064 fail:
11065 return NULL;
11066 }
11067
11068
11069 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj;
11071 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11072 int arg2 ;
11073 PyObject * obj0 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self",(char *) "sel", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->SetSelection(arg2);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11097 int result;
11098 PyObject * obj0 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (int)(arg1)->ShowModal();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = PyInt_FromLong((long)result);
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11120 PyObject *obj;
11121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11122 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11123 Py_INCREF(obj);
11124 return Py_BuildValue((char *)"");
11125 }
11126 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxWindow *arg1 = (wxWindow *) 0 ;
11129 wxString *arg2 = 0 ;
11130 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11131 wxString *arg3 = (wxString *) &arg3_defvalue ;
11132 wxString const &arg4_defvalue = wxPyEmptyString ;
11133 wxString *arg4 = (wxString *) &arg4_defvalue ;
11134 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11135 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11136 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11137 wxTextEntryDialog *result;
11138 bool temp2 = False ;
11139 bool temp3 = False ;
11140 bool temp4 = False ;
11141 wxPoint temp6 ;
11142 PyObject * obj0 = 0 ;
11143 PyObject * obj1 = 0 ;
11144 PyObject * obj2 = 0 ;
11145 PyObject * obj3 = 0 ;
11146 PyObject * obj5 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11153 {
11154 arg2 = wxString_in_helper(obj1);
11155 if (arg2 == NULL) SWIG_fail;
11156 temp2 = True;
11157 }
11158 if (obj2) {
11159 {
11160 arg3 = wxString_in_helper(obj2);
11161 if (arg3 == NULL) SWIG_fail;
11162 temp3 = True;
11163 }
11164 }
11165 if (obj3) {
11166 {
11167 arg4 = wxString_in_helper(obj3);
11168 if (arg4 == NULL) SWIG_fail;
11169 temp4 = True;
11170 }
11171 }
11172 if (obj5) {
11173 {
11174 arg6 = &temp6;
11175 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11176 }
11177 }
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11186 {
11187 if (temp2)
11188 delete arg2;
11189 }
11190 {
11191 if (temp3)
11192 delete arg3;
11193 }
11194 {
11195 if (temp4)
11196 delete arg4;
11197 }
11198 return resultobj;
11199 fail:
11200 {
11201 if (temp2)
11202 delete arg2;
11203 }
11204 {
11205 if (temp3)
11206 delete arg3;
11207 }
11208 {
11209 if (temp4)
11210 delete arg4;
11211 }
11212 return NULL;
11213 }
11214
11215
11216 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11217 PyObject *resultobj;
11218 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11219 wxString result;
11220 PyObject * obj0 = 0 ;
11221 char *kwnames[] = {
11222 (char *) "self", NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 result = (arg1)->GetValue();
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 {
11235 #if wxUSE_UNICODE
11236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11237 #else
11238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11239 #endif
11240 }
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11250 wxString *arg2 = 0 ;
11251 bool temp2 = False ;
11252 PyObject * obj0 = 0 ;
11253 PyObject * obj1 = 0 ;
11254 char *kwnames[] = {
11255 (char *) "self",(char *) "value", NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 {
11261 arg2 = wxString_in_helper(obj1);
11262 if (arg2 == NULL) SWIG_fail;
11263 temp2 = True;
11264 }
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 (arg1)->SetValue((wxString const &)*arg2);
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 Py_INCREF(Py_None); resultobj = Py_None;
11273 {
11274 if (temp2)
11275 delete arg2;
11276 }
11277 return resultobj;
11278 fail:
11279 {
11280 if (temp2)
11281 delete arg2;
11282 }
11283 return NULL;
11284 }
11285
11286
11287 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj;
11289 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11290 int result;
11291 PyObject * obj0 = 0 ;
11292 char *kwnames[] = {
11293 (char *) "self", NULL
11294 };
11295
11296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11298 {
11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
11300 result = (int)(arg1)->ShowModal();
11301
11302 wxPyEndAllowThreads(__tstate);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 resultobj = PyInt_FromLong((long)result);
11306 return resultobj;
11307 fail:
11308 return NULL;
11309 }
11310
11311
11312 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11313 PyObject *obj;
11314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11315 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11316 Py_INCREF(obj);
11317 return Py_BuildValue((char *)"");
11318 }
11319 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11320 PyObject *resultobj;
11321 wxFontData *result;
11322 char *kwnames[] = {
11323 NULL
11324 };
11325
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 result = (wxFontData *)new wxFontData();
11330
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11335 return resultobj;
11336 fail:
11337 return NULL;
11338 }
11339
11340
11341 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11342 PyObject *resultobj;
11343 wxFontData *arg1 = (wxFontData *) 0 ;
11344 PyObject * obj0 = 0 ;
11345 char *kwnames[] = {
11346 (char *) "self", NULL
11347 };
11348
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 delete arg1;
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 Py_INCREF(Py_None); resultobj = Py_None;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxFontData *arg1 = (wxFontData *) 0 ;
11368 bool arg2 ;
11369 PyObject * obj0 = 0 ;
11370 PyObject * obj1 = 0 ;
11371 char *kwnames[] = {
11372 (char *) "self",(char *) "enable", NULL
11373 };
11374
11375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11377 arg2 = PyInt_AsLong(obj1) ? true : false;
11378 if (PyErr_Occurred()) SWIG_fail;
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 (arg1)->EnableEffects(arg2);
11382
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 Py_INCREF(Py_None); resultobj = Py_None;
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj;
11395 wxFontData *arg1 = (wxFontData *) 0 ;
11396 bool result;
11397 PyObject * obj0 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 result = (bool)(arg1)->GetAllowSymbols();
11407
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 resultobj = PyInt_FromLong((long)result);
11412 return resultobj;
11413 fail:
11414 return NULL;
11415 }
11416
11417
11418 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj;
11420 wxFontData *arg1 = (wxFontData *) 0 ;
11421 wxColour result;
11422 PyObject * obj0 = 0 ;
11423 char *kwnames[] = {
11424 (char *) "self", NULL
11425 };
11426
11427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (arg1)->GetColour();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 {
11437 wxColour * resultptr;
11438 resultptr = new wxColour((wxColour &) result);
11439 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11440 }
11441 return resultobj;
11442 fail:
11443 return NULL;
11444 }
11445
11446
11447 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11448 PyObject *resultobj;
11449 wxFontData *arg1 = (wxFontData *) 0 ;
11450 wxFont result;
11451 PyObject * obj0 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (arg1)->GetChosenFont();
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 {
11466 wxFont * resultptr;
11467 resultptr = new wxFont((wxFont &) result);
11468 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11469 }
11470 return resultobj;
11471 fail:
11472 return NULL;
11473 }
11474
11475
11476 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11477 PyObject *resultobj;
11478 wxFontData *arg1 = (wxFontData *) 0 ;
11479 bool result;
11480 PyObject * obj0 = 0 ;
11481 char *kwnames[] = {
11482 (char *) "self", NULL
11483 };
11484
11485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = (bool)(arg1)->GetEnableEffects();
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 resultobj = PyInt_FromLong((long)result);
11495 return resultobj;
11496 fail:
11497 return NULL;
11498 }
11499
11500
11501 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxFontData *arg1 = (wxFontData *) 0 ;
11504 wxFont result;
11505 PyObject * obj0 = 0 ;
11506 char *kwnames[] = {
11507 (char *) "self", NULL
11508 };
11509
11510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 result = (arg1)->GetInitialFont();
11515
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 {
11520 wxFont * resultptr;
11521 resultptr = new wxFont((wxFont &) result);
11522 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11523 }
11524 return resultobj;
11525 fail:
11526 return NULL;
11527 }
11528
11529
11530 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxFontData *arg1 = (wxFontData *) 0 ;
11533 bool result;
11534 PyObject * obj0 = 0 ;
11535 char *kwnames[] = {
11536 (char *) "self", NULL
11537 };
11538
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (bool)(arg1)->GetShowHelp();
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 resultobj = PyInt_FromLong((long)result);
11549 return resultobj;
11550 fail:
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxFontData *arg1 = (wxFontData *) 0 ;
11558 bool arg2 ;
11559 PyObject * obj0 = 0 ;
11560 PyObject * obj1 = 0 ;
11561 char *kwnames[] = {
11562 (char *) "self",(char *) "allowSymbols", NULL
11563 };
11564
11565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11567 arg2 = PyInt_AsLong(obj1) ? true : false;
11568 if (PyErr_Occurred()) SWIG_fail;
11569 {
11570 PyThreadState* __tstate = wxPyBeginAllowThreads();
11571 (arg1)->SetAllowSymbols(arg2);
11572
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 Py_INCREF(Py_None); resultobj = Py_None;
11577 return resultobj;
11578 fail:
11579 return NULL;
11580 }
11581
11582
11583 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 wxFontData *arg1 = (wxFontData *) 0 ;
11586 wxFont *arg2 = 0 ;
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "font", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11596 if (arg2 == NULL) {
11597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11598 }
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 (arg1)->SetChosenFont((wxFont const &)*arg2);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 Py_INCREF(Py_None); resultobj = Py_None;
11607 return resultobj;
11608 fail:
11609 return NULL;
11610 }
11611
11612
11613 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxFontData *arg1 = (wxFontData *) 0 ;
11616 wxColour *arg2 = 0 ;
11617 wxColour temp2 ;
11618 PyObject * obj0 = 0 ;
11619 PyObject * obj1 = 0 ;
11620 char *kwnames[] = {
11621 (char *) "self",(char *) "colour", NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11626 {
11627 arg2 = &temp2;
11628 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11629 }
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 (arg1)->SetColour((wxColour const &)*arg2);
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
11637 Py_INCREF(Py_None); resultobj = Py_None;
11638 return resultobj;
11639 fail:
11640 return NULL;
11641 }
11642
11643
11644 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj;
11646 wxFontData *arg1 = (wxFontData *) 0 ;
11647 wxFont *arg2 = 0 ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self",(char *) "font", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11657 if (arg2 == NULL) {
11658 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11659 }
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 (arg1)->SetInitialFont((wxFont const &)*arg2);
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 Py_INCREF(Py_None); resultobj = Py_None;
11668 return resultobj;
11669 fail:
11670 return NULL;
11671 }
11672
11673
11674 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj;
11676 wxFontData *arg1 = (wxFontData *) 0 ;
11677 int arg2 ;
11678 int arg3 ;
11679 PyObject * obj0 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "min",(char *) "max", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 (arg1)->SetRange(arg2,arg3);
11689
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 Py_INCREF(Py_None); resultobj = Py_None;
11694 return resultobj;
11695 fail:
11696 return NULL;
11697 }
11698
11699
11700 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj;
11702 wxFontData *arg1 = (wxFontData *) 0 ;
11703 bool arg2 ;
11704 PyObject * obj0 = 0 ;
11705 PyObject * obj1 = 0 ;
11706 char *kwnames[] = {
11707 (char *) "self",(char *) "showHelp", NULL
11708 };
11709
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11712 arg2 = PyInt_AsLong(obj1) ? true : false;
11713 if (PyErr_Occurred()) SWIG_fail;
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 (arg1)->SetShowHelp(arg2);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 Py_INCREF(Py_None); resultobj = Py_None;
11722 return resultobj;
11723 fail:
11724 return NULL;
11725 }
11726
11727
11728 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11729 PyObject *obj;
11730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11731 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11732 Py_INCREF(obj);
11733 return Py_BuildValue((char *)"");
11734 }
11735 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxWindow *arg1 = (wxWindow *) 0 ;
11738 wxFontData *arg2 = 0 ;
11739 wxFontDialog *result;
11740 PyObject * obj0 = 0 ;
11741 PyObject * obj1 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "parent",(char *) "data", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11749 if (arg2 == NULL) {
11750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11751 }
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11760 return resultobj;
11761 fail:
11762 return NULL;
11763 }
11764
11765
11766 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11769 wxFontData *result;
11770 PyObject * obj0 = 0 ;
11771 char *kwnames[] = {
11772 (char *) "self", NULL
11773 };
11774
11775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 {
11780 wxFontData &_result_ref = (arg1)->GetFontData();
11781 result = (wxFontData *) &_result_ref;
11782 }
11783
11784 wxPyEndAllowThreads(__tstate);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
11787 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11788 return resultobj;
11789 fail:
11790 return NULL;
11791 }
11792
11793
11794 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11795 PyObject *resultobj;
11796 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11797 int result;
11798 PyObject * obj0 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 result = (int)(arg1)->ShowModal();
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 resultobj = PyInt_FromLong((long)result);
11813 return resultobj;
11814 fail:
11815 return NULL;
11816 }
11817
11818
11819 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11820 PyObject *obj;
11821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11822 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11823 Py_INCREF(obj);
11824 return Py_BuildValue((char *)"");
11825 }
11826 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11827 PyObject *resultobj;
11828 wxWindow *arg1 = (wxWindow *) 0 ;
11829 wxString *arg2 = 0 ;
11830 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11831 wxString *arg3 = (wxString *) &arg3_defvalue ;
11832 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11833 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11834 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11835 wxMessageDialog *result;
11836 bool temp2 = False ;
11837 bool temp3 = False ;
11838 wxPoint temp5 ;
11839 PyObject * obj0 = 0 ;
11840 PyObject * obj1 = 0 ;
11841 PyObject * obj2 = 0 ;
11842 PyObject * obj4 = 0 ;
11843 char *kwnames[] = {
11844 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11845 };
11846
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11849 {
11850 arg2 = wxString_in_helper(obj1);
11851 if (arg2 == NULL) SWIG_fail;
11852 temp2 = True;
11853 }
11854 if (obj2) {
11855 {
11856 arg3 = wxString_in_helper(obj2);
11857 if (arg3 == NULL) SWIG_fail;
11858 temp3 = True;
11859 }
11860 }
11861 if (obj4) {
11862 {
11863 arg5 = &temp5;
11864 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11865 }
11866 }
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
11869 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
11874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11875 {
11876 if (temp2)
11877 delete arg2;
11878 }
11879 {
11880 if (temp3)
11881 delete arg3;
11882 }
11883 return resultobj;
11884 fail:
11885 {
11886 if (temp2)
11887 delete arg2;
11888 }
11889 {
11890 if (temp3)
11891 delete arg3;
11892 }
11893 return NULL;
11894 }
11895
11896
11897 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11898 PyObject *resultobj;
11899 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11900 int result;
11901 PyObject * obj0 = 0 ;
11902 char *kwnames[] = {
11903 (char *) "self", NULL
11904 };
11905
11906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 result = (int)(arg1)->ShowModal();
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = PyInt_FromLong((long)result);
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11923 PyObject *obj;
11924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11925 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11926 Py_INCREF(obj);
11927 return Py_BuildValue((char *)"");
11928 }
11929 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11930 PyObject *resultobj;
11931 wxString *arg1 = 0 ;
11932 wxString *arg2 = 0 ;
11933 int arg3 = (int) 100 ;
11934 wxWindow *arg4 = (wxWindow *) NULL ;
11935 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11936 wxProgressDialog *result;
11937 bool temp1 = False ;
11938 bool temp2 = False ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 PyObject * obj3 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11947 {
11948 arg1 = wxString_in_helper(obj0);
11949 if (arg1 == NULL) SWIG_fail;
11950 temp1 = True;
11951 }
11952 {
11953 arg2 = wxString_in_helper(obj1);
11954 if (arg2 == NULL) SWIG_fail;
11955 temp2 = True;
11956 }
11957 if (obj3) {
11958 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11959 }
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11968 {
11969 if (temp1)
11970 delete arg1;
11971 }
11972 {
11973 if (temp2)
11974 delete arg2;
11975 }
11976 return resultobj;
11977 fail:
11978 {
11979 if (temp1)
11980 delete arg1;
11981 }
11982 {
11983 if (temp2)
11984 delete arg2;
11985 }
11986 return NULL;
11987 }
11988
11989
11990 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11991 PyObject *resultobj;
11992 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11993 int arg2 ;
11994 wxString const &arg3_defvalue = wxPyEmptyString ;
11995 wxString *arg3 = (wxString *) &arg3_defvalue ;
11996 bool result;
11997 bool temp3 = False ;
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj2 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12006 if (obj2) {
12007 {
12008 arg3 = wxString_in_helper(obj2);
12009 if (arg3 == NULL) SWIG_fail;
12010 temp3 = True;
12011 }
12012 }
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 resultobj = PyInt_FromLong((long)result);
12021 {
12022 if (temp3)
12023 delete arg3;
12024 }
12025 return resultobj;
12026 fail:
12027 {
12028 if (temp3)
12029 delete arg3;
12030 }
12031 return NULL;
12032 }
12033
12034
12035 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 (arg1)->Resume();
12048
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 }
12052 Py_INCREF(Py_None); resultobj = Py_None;
12053 return resultobj;
12054 fail:
12055 return NULL;
12056 }
12057
12058
12059 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12060 PyObject *obj;
12061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12062 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12063 Py_INCREF(obj);
12064 return Py_BuildValue((char *)"");
12065 }
12066 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12069 int arg2 = (int) 0 ;
12070 wxFindDialogEvent *result;
12071 char *kwnames[] = {
12072 (char *) "commandType",(char *) "id", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12091 PyObject *resultobj;
12092 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12093 int result;
12094 PyObject * obj0 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "self", NULL
12097 };
12098
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12101 {
12102 PyThreadState* __tstate = wxPyBeginAllowThreads();
12103 result = (int)(arg1)->GetFlags();
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 resultobj = PyInt_FromLong((long)result);
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12118 wxString result;
12119 PyObject * obj0 = 0 ;
12120 char *kwnames[] = {
12121 (char *) "self", NULL
12122 };
12123
12124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (arg1)->GetFindString();
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 {
12134 #if wxUSE_UNICODE
12135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12136 #else
12137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12138 #endif
12139 }
12140 return resultobj;
12141 fail:
12142 return NULL;
12143 }
12144
12145
12146 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12149 wxString *result;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 {
12160 wxString const &_result_ref = (arg1)->GetReplaceString();
12161 result = (wxString *) &_result_ref;
12162 }
12163
12164 wxPyEndAllowThreads(__tstate);
12165 if (PyErr_Occurred()) SWIG_fail;
12166 }
12167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12168 return resultobj;
12169 fail:
12170 return NULL;
12171 }
12172
12173
12174 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12175 PyObject *resultobj;
12176 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12177 wxFindReplaceDialog *result;
12178 PyObject * obj0 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj;
12201 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12202 int arg2 ;
12203 PyObject * obj0 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self",(char *) "flags", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 (arg1)->SetFlags(arg2);
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
12217 Py_INCREF(Py_None); resultobj = Py_None;
12218 return resultobj;
12219 fail:
12220 return NULL;
12221 }
12222
12223
12224 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj;
12226 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12227 wxString *arg2 = 0 ;
12228 bool temp2 = False ;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj1 = 0 ;
12231 char *kwnames[] = {
12232 (char *) "self",(char *) "str", NULL
12233 };
12234
12235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12237 {
12238 arg2 = wxString_in_helper(obj1);
12239 if (arg2 == NULL) SWIG_fail;
12240 temp2 = True;
12241 }
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 (arg1)->SetFindString((wxString const &)*arg2);
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 Py_INCREF(Py_None); resultobj = Py_None;
12250 {
12251 if (temp2)
12252 delete arg2;
12253 }
12254 return resultobj;
12255 fail:
12256 {
12257 if (temp2)
12258 delete arg2;
12259 }
12260 return NULL;
12261 }
12262
12263
12264 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12265 PyObject *resultobj;
12266 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12267 wxString *arg2 = 0 ;
12268 bool temp2 = False ;
12269 PyObject * obj0 = 0 ;
12270 PyObject * obj1 = 0 ;
12271 char *kwnames[] = {
12272 (char *) "self",(char *) "str", NULL
12273 };
12274
12275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12277 {
12278 arg2 = wxString_in_helper(obj1);
12279 if (arg2 == NULL) SWIG_fail;
12280 temp2 = True;
12281 }
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 (arg1)->SetReplaceString((wxString const &)*arg2);
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 Py_INCREF(Py_None); resultobj = Py_None;
12290 {
12291 if (temp2)
12292 delete arg2;
12293 }
12294 return resultobj;
12295 fail:
12296 {
12297 if (temp2)
12298 delete arg2;
12299 }
12300 return NULL;
12301 }
12302
12303
12304 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12305 PyObject *obj;
12306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12307 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12308 Py_INCREF(obj);
12309 return Py_BuildValue((char *)"");
12310 }
12311 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj;
12313 int arg1 = (int) 0 ;
12314 wxFindReplaceData *result;
12315 char *kwnames[] = {
12316 (char *) "flags", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12323
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12328 return resultobj;
12329 fail:
12330 return NULL;
12331 }
12332
12333
12334 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12335 PyObject *resultobj;
12336 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12337 PyObject * obj0 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 delete arg1;
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 Py_INCREF(Py_None); resultobj = Py_None;
12352 return resultobj;
12353 fail:
12354 return NULL;
12355 }
12356
12357
12358 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj;
12360 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12361 wxString *result;
12362 PyObject * obj0 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "self", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 {
12372 wxString const &_result_ref = (arg1)->GetFindString();
12373 result = (wxString *) &_result_ref;
12374 }
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12380 return resultobj;
12381 fail:
12382 return NULL;
12383 }
12384
12385
12386 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12387 PyObject *resultobj;
12388 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12389 wxString *result;
12390 PyObject * obj0 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 {
12400 wxString const &_result_ref = (arg1)->GetReplaceString();
12401 result = (wxString *) &_result_ref;
12402 }
12403
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
12407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12408 return resultobj;
12409 fail:
12410 return NULL;
12411 }
12412
12413
12414 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj;
12416 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12417 int result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (int)(arg1)->GetFlags();
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 resultobj = PyInt_FromLong((long)result);
12433 return resultobj;
12434 fail:
12435 return NULL;
12436 }
12437
12438
12439 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12442 int arg2 ;
12443 PyObject * obj0 = 0 ;
12444 char *kwnames[] = {
12445 (char *) "self",(char *) "flags", NULL
12446 };
12447
12448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 (arg1)->SetFlags(arg2);
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 Py_INCREF(Py_None); resultobj = Py_None;
12458 return resultobj;
12459 fail:
12460 return NULL;
12461 }
12462
12463
12464 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12467 wxString *arg2 = 0 ;
12468 bool temp2 = False ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "str", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12477 {
12478 arg2 = wxString_in_helper(obj1);
12479 if (arg2 == NULL) SWIG_fail;
12480 temp2 = True;
12481 }
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 (arg1)->SetFindString((wxString const &)*arg2);
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 Py_INCREF(Py_None); resultobj = Py_None;
12490 {
12491 if (temp2)
12492 delete arg2;
12493 }
12494 return resultobj;
12495 fail:
12496 {
12497 if (temp2)
12498 delete arg2;
12499 }
12500 return NULL;
12501 }
12502
12503
12504 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12505 PyObject *resultobj;
12506 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12507 wxString *arg2 = 0 ;
12508 bool temp2 = False ;
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self",(char *) "str", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12517 {
12518 arg2 = wxString_in_helper(obj1);
12519 if (arg2 == NULL) SWIG_fail;
12520 temp2 = True;
12521 }
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->SetReplaceString((wxString const &)*arg2);
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 Py_INCREF(Py_None); resultobj = Py_None;
12530 {
12531 if (temp2)
12532 delete arg2;
12533 }
12534 return resultobj;
12535 fail:
12536 {
12537 if (temp2)
12538 delete arg2;
12539 }
12540 return NULL;
12541 }
12542
12543
12544 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12545 PyObject *obj;
12546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12547 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12548 Py_INCREF(obj);
12549 return Py_BuildValue((char *)"");
12550 }
12551 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxWindow *arg1 = (wxWindow *) 0 ;
12554 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12555 wxString *arg3 = 0 ;
12556 int arg4 = (int) 0 ;
12557 wxFindReplaceDialog *result;
12558 bool temp3 = False ;
12559 PyObject * obj0 = 0 ;
12560 PyObject * obj1 = 0 ;
12561 PyObject * obj2 = 0 ;
12562 char *kwnames[] = {
12563 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12564 };
12565
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12569 {
12570 arg3 = wxString_in_helper(obj2);
12571 if (arg3 == NULL) SWIG_fail;
12572 temp3 = True;
12573 }
12574 {
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12577
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12582 {
12583 if (temp3)
12584 delete arg3;
12585 }
12586 return resultobj;
12587 fail:
12588 {
12589 if (temp3)
12590 delete arg3;
12591 }
12592 return NULL;
12593 }
12594
12595
12596 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj;
12598 wxFindReplaceDialog *result;
12599 char *kwnames[] = {
12600 NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12612 return resultobj;
12613 fail:
12614 return NULL;
12615 }
12616
12617
12618 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj;
12620 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12621 wxWindow *arg2 = (wxWindow *) 0 ;
12622 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12623 wxString *arg4 = 0 ;
12624 int arg5 = (int) 0 ;
12625 bool result;
12626 bool temp4 = False ;
12627 PyObject * obj0 = 0 ;
12628 PyObject * obj1 = 0 ;
12629 PyObject * obj2 = 0 ;
12630 PyObject * obj3 = 0 ;
12631 char *kwnames[] = {
12632 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12633 };
12634
12635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12638 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12639 {
12640 arg4 = wxString_in_helper(obj3);
12641 if (arg4 == NULL) SWIG_fail;
12642 temp4 = True;
12643 }
12644 {
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 resultobj = PyInt_FromLong((long)result);
12652 {
12653 if (temp4)
12654 delete arg4;
12655 }
12656 return resultobj;
12657 fail:
12658 {
12659 if (temp4)
12660 delete arg4;
12661 }
12662 return NULL;
12663 }
12664
12665
12666 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12667 PyObject *resultobj;
12668 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12669 wxFindReplaceData *result;
12670 PyObject * obj0 = 0 ;
12671 char *kwnames[] = {
12672 (char *) "self", NULL
12673 };
12674
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (wxFindReplaceData *)(arg1)->GetData();
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12685 return resultobj;
12686 fail:
12687 return NULL;
12688 }
12689
12690
12691 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj;
12693 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12694 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12695 PyObject * obj0 = 0 ;
12696 PyObject * obj1 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self",(char *) "data", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 (arg1)->SetData(arg2);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 Py_INCREF(Py_None); resultobj = Py_None;
12712 return resultobj;
12713 fail:
12714 return NULL;
12715 }
12716
12717
12718 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12719 PyObject *obj;
12720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12722 Py_INCREF(obj);
12723 return Py_BuildValue((char *)"");
12724 }
12725 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxWindow *arg1 = (wxWindow *) 0 ;
12728 int arg2 ;
12729 wxString *arg3 = 0 ;
12730 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12731 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12732 wxSize const &arg5_defvalue = wxDefaultSize ;
12733 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12734 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12735 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12736 wxString *arg7 = (wxString *) &arg7_defvalue ;
12737 wxMDIParentFrame *result;
12738 bool temp3 = False ;
12739 wxPoint temp4 ;
12740 wxSize temp5 ;
12741 bool temp7 = False ;
12742 PyObject * obj0 = 0 ;
12743 PyObject * obj2 = 0 ;
12744 PyObject * obj3 = 0 ;
12745 PyObject * obj4 = 0 ;
12746 PyObject * obj6 = 0 ;
12747 char *kwnames[] = {
12748 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12749 };
12750
12751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12753 {
12754 arg3 = wxString_in_helper(obj2);
12755 if (arg3 == NULL) SWIG_fail;
12756 temp3 = True;
12757 }
12758 if (obj3) {
12759 {
12760 arg4 = &temp4;
12761 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12762 }
12763 }
12764 if (obj4) {
12765 {
12766 arg5 = &temp5;
12767 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12768 }
12769 }
12770 if (obj6) {
12771 {
12772 arg7 = wxString_in_helper(obj6);
12773 if (arg7 == NULL) SWIG_fail;
12774 temp7 = True;
12775 }
12776 }
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12785 {
12786 if (temp3)
12787 delete arg3;
12788 }
12789 {
12790 if (temp7)
12791 delete arg7;
12792 }
12793 return resultobj;
12794 fail:
12795 {
12796 if (temp3)
12797 delete arg3;
12798 }
12799 {
12800 if (temp7)
12801 delete arg7;
12802 }
12803 return NULL;
12804 }
12805
12806
12807 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxMDIParentFrame *result;
12810 char *kwnames[] = {
12811 NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12818
12819 wxPyEndAllowThreads(__tstate);
12820 if (PyErr_Occurred()) SWIG_fail;
12821 }
12822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12823 return resultobj;
12824 fail:
12825 return NULL;
12826 }
12827
12828
12829 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12830 PyObject *resultobj;
12831 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12832 wxWindow *arg2 = (wxWindow *) 0 ;
12833 int arg3 ;
12834 wxString *arg4 = 0 ;
12835 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12836 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12837 wxSize const &arg6_defvalue = wxDefaultSize ;
12838 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12839 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12840 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12841 wxString *arg8 = (wxString *) &arg8_defvalue ;
12842 bool result;
12843 bool temp4 = False ;
12844 wxPoint temp5 ;
12845 wxSize temp6 ;
12846 bool temp8 = False ;
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 PyObject * obj3 = 0 ;
12850 PyObject * obj4 = 0 ;
12851 PyObject * obj5 = 0 ;
12852 PyObject * obj7 = 0 ;
12853 char *kwnames[] = {
12854 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12855 };
12856
12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12860 {
12861 arg4 = wxString_in_helper(obj3);
12862 if (arg4 == NULL) SWIG_fail;
12863 temp4 = True;
12864 }
12865 if (obj4) {
12866 {
12867 arg5 = &temp5;
12868 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12869 }
12870 }
12871 if (obj5) {
12872 {
12873 arg6 = &temp6;
12874 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12875 }
12876 }
12877 if (obj7) {
12878 {
12879 arg8 = wxString_in_helper(obj7);
12880 if (arg8 == NULL) SWIG_fail;
12881 temp8 = True;
12882 }
12883 }
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 resultobj = PyInt_FromLong((long)result);
12892 {
12893 if (temp4)
12894 delete arg4;
12895 }
12896 {
12897 if (temp8)
12898 delete arg8;
12899 }
12900 return resultobj;
12901 fail:
12902 {
12903 if (temp4)
12904 delete arg4;
12905 }
12906 {
12907 if (temp8)
12908 delete arg8;
12909 }
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12917 PyObject * obj0 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12924 {
12925 PyThreadState* __tstate = wxPyBeginAllowThreads();
12926 (arg1)->ActivateNext();
12927
12928 wxPyEndAllowThreads(__tstate);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 Py_INCREF(Py_None); resultobj = Py_None;
12932 return resultobj;
12933 fail:
12934 return NULL;
12935 }
12936
12937
12938 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12939 PyObject *resultobj;
12940 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12941 PyObject * obj0 = 0 ;
12942 char *kwnames[] = {
12943 (char *) "self", NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12948 {
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 (arg1)->ActivatePrevious();
12951
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 Py_INCREF(Py_None); resultobj = Py_None;
12956 return resultobj;
12957 fail:
12958 return NULL;
12959 }
12960
12961
12962 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj;
12964 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12965 PyObject * obj0 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "self", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 (arg1)->ArrangeIcons();
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 Py_INCREF(Py_None); resultobj = Py_None;
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj;
12988 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12989 PyObject * obj0 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 (arg1)->Cascade();
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
13003 Py_INCREF(Py_None); resultobj = Py_None;
13004 return resultobj;
13005 fail:
13006 return NULL;
13007 }
13008
13009
13010 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13011 PyObject *resultobj;
13012 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13013 wxMDIChildFrame *result;
13014 PyObject * obj0 = 0 ;
13015 char *kwnames[] = {
13016 (char *) "self", NULL
13017 };
13018
13019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13021 {
13022 PyThreadState* __tstate = wxPyBeginAllowThreads();
13023 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13024
13025 wxPyEndAllowThreads(__tstate);
13026 if (PyErr_Occurred()) SWIG_fail;
13027 }
13028 {
13029 resultobj = wxPyMake_wxObject(result);
13030 }
13031 return resultobj;
13032 fail:
13033 return NULL;
13034 }
13035
13036
13037 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13038 PyObject *resultobj;
13039 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13040 wxMDIClientWindow *result;
13041 PyObject * obj0 = 0 ;
13042 char *kwnames[] = {
13043 (char *) "self", NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13051
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 {
13056 resultobj = wxPyMake_wxObject(result);
13057 }
13058 return resultobj;
13059 fail:
13060 return NULL;
13061 }
13062
13063
13064 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13065 PyObject *resultobj;
13066 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13067 wxWindow *result;
13068 PyObject * obj0 = 0 ;
13069 char *kwnames[] = {
13070 (char *) "self", NULL
13071 };
13072
13073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13075 {
13076 PyThreadState* __tstate = wxPyBeginAllowThreads();
13077 result = (wxWindow *)(arg1)->GetToolBar();
13078
13079 wxPyEndAllowThreads(__tstate);
13080 if (PyErr_Occurred()) SWIG_fail;
13081 }
13082 {
13083 resultobj = wxPyMake_wxObject(result);
13084 }
13085 return resultobj;
13086 fail:
13087 return NULL;
13088 }
13089
13090
13091 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13092 PyObject *resultobj;
13093 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13094 PyObject * obj0 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "self", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 (arg1)->Tile();
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 Py_INCREF(Py_None); resultobj = Py_None;
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13116 PyObject *obj;
13117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13118 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13119 Py_INCREF(obj);
13120 return Py_BuildValue((char *)"");
13121 }
13122 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13123 PyObject *resultobj;
13124 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13125 int arg2 ;
13126 wxString *arg3 = 0 ;
13127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13129 wxSize const &arg5_defvalue = wxDefaultSize ;
13130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13131 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13132 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13133 wxString *arg7 = (wxString *) &arg7_defvalue ;
13134 wxMDIChildFrame *result;
13135 bool temp3 = False ;
13136 wxPoint temp4 ;
13137 wxSize temp5 ;
13138 bool temp7 = False ;
13139 PyObject * obj0 = 0 ;
13140 PyObject * obj2 = 0 ;
13141 PyObject * obj3 = 0 ;
13142 PyObject * obj4 = 0 ;
13143 PyObject * obj6 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13150 {
13151 arg3 = wxString_in_helper(obj2);
13152 if (arg3 == NULL) SWIG_fail;
13153 temp3 = True;
13154 }
13155 if (obj3) {
13156 {
13157 arg4 = &temp4;
13158 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13159 }
13160 }
13161 if (obj4) {
13162 {
13163 arg5 = &temp5;
13164 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13165 }
13166 }
13167 if (obj6) {
13168 {
13169 arg7 = wxString_in_helper(obj6);
13170 if (arg7 == NULL) SWIG_fail;
13171 temp7 = True;
13172 }
13173 }
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 {
13182 resultobj = wxPyMake_wxObject(result);
13183 }
13184 {
13185 if (temp3)
13186 delete arg3;
13187 }
13188 {
13189 if (temp7)
13190 delete arg7;
13191 }
13192 return resultobj;
13193 fail:
13194 {
13195 if (temp3)
13196 delete arg3;
13197 }
13198 {
13199 if (temp7)
13200 delete arg7;
13201 }
13202 return NULL;
13203 }
13204
13205
13206 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13207 PyObject *resultobj;
13208 wxMDIChildFrame *result;
13209 char *kwnames[] = {
13210 NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13214 {
13215 PyThreadState* __tstate = wxPyBeginAllowThreads();
13216 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13217
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 {
13222 resultobj = wxPyMake_wxObject(result);
13223 }
13224 return resultobj;
13225 fail:
13226 return NULL;
13227 }
13228
13229
13230 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13233 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13234 int arg3 ;
13235 wxString *arg4 = 0 ;
13236 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13237 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13238 wxSize const &arg6_defvalue = wxDefaultSize ;
13239 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13240 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13241 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13242 wxString *arg8 = (wxString *) &arg8_defvalue ;
13243 bool result;
13244 bool temp4 = False ;
13245 wxPoint temp5 ;
13246 wxSize temp6 ;
13247 bool temp8 = False ;
13248 PyObject * obj0 = 0 ;
13249 PyObject * obj1 = 0 ;
13250 PyObject * obj3 = 0 ;
13251 PyObject * obj4 = 0 ;
13252 PyObject * obj5 = 0 ;
13253 PyObject * obj7 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13261 {
13262 arg4 = wxString_in_helper(obj3);
13263 if (arg4 == NULL) SWIG_fail;
13264 temp4 = True;
13265 }
13266 if (obj4) {
13267 {
13268 arg5 = &temp5;
13269 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13270 }
13271 }
13272 if (obj5) {
13273 {
13274 arg6 = &temp6;
13275 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13276 }
13277 }
13278 if (obj7) {
13279 {
13280 arg8 = wxString_in_helper(obj7);
13281 if (arg8 == NULL) SWIG_fail;
13282 temp8 = True;
13283 }
13284 }
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 resultobj = PyInt_FromLong((long)result);
13293 {
13294 if (temp4)
13295 delete arg4;
13296 }
13297 {
13298 if (temp8)
13299 delete arg8;
13300 }
13301 return resultobj;
13302 fail:
13303 {
13304 if (temp4)
13305 delete arg4;
13306 }
13307 {
13308 if (temp8)
13309 delete arg8;
13310 }
13311 return NULL;
13312 }
13313
13314
13315 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13316 PyObject *resultobj;
13317 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13318 PyObject * obj0 = 0 ;
13319 char *kwnames[] = {
13320 (char *) "self", NULL
13321 };
13322
13323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13325 {
13326 PyThreadState* __tstate = wxPyBeginAllowThreads();
13327 (arg1)->Activate();
13328
13329 wxPyEndAllowThreads(__tstate);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 }
13332 Py_INCREF(Py_None); resultobj = Py_None;
13333 return resultobj;
13334 fail:
13335 return NULL;
13336 }
13337
13338
13339 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13342 bool arg2 ;
13343 PyObject * obj0 = 0 ;
13344 PyObject * obj1 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self",(char *) "maximize", NULL
13347 };
13348
13349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13351 arg2 = PyInt_AsLong(obj1) ? true : false;
13352 if (PyErr_Occurred()) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 (arg1)->Maximize(arg2);
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 Py_INCREF(Py_None); resultobj = Py_None;
13361 return resultobj;
13362 fail:
13363 return NULL;
13364 }
13365
13366
13367 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13370 PyObject * obj0 = 0 ;
13371 char *kwnames[] = {
13372 (char *) "self", NULL
13373 };
13374
13375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 (arg1)->Restore();
13380
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 Py_INCREF(Py_None); resultobj = Py_None;
13385 return resultobj;
13386 fail:
13387 return NULL;
13388 }
13389
13390
13391 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13392 PyObject *obj;
13393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13394 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13395 Py_INCREF(obj);
13396 return Py_BuildValue((char *)"");
13397 }
13398 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13399 PyObject *resultobj;
13400 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13401 long arg2 = (long) 0 ;
13402 wxMDIClientWindow *result;
13403 PyObject * obj0 = 0 ;
13404 char *kwnames[] = {
13405 (char *) "parent",(char *) "style", NULL
13406 };
13407
13408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 {
13418 resultobj = wxPyMake_wxObject(result);
13419 }
13420 return resultobj;
13421 fail:
13422 return NULL;
13423 }
13424
13425
13426 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13427 PyObject *resultobj;
13428 wxMDIClientWindow *result;
13429 char *kwnames[] = {
13430 NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13437
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 {
13442 resultobj = wxPyMake_wxObject(result);
13443 }
13444 return resultobj;
13445 fail:
13446 return NULL;
13447 }
13448
13449
13450 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13451 PyObject *resultobj;
13452 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13453 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13454 long arg3 = (long) 0 ;
13455 bool result;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 char *kwnames[] = {
13459 (char *) "self",(char *) "parent",(char *) "style", NULL
13460 };
13461
13462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 result = (bool)(arg1)->Create(arg2,arg3);
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 resultobj = PyInt_FromLong((long)result);
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13480 PyObject *obj;
13481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13482 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13483 Py_INCREF(obj);
13484 return Py_BuildValue((char *)"");
13485 }
13486 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxWindow *arg1 = (wxWindow *) 0 ;
13489 int arg2 ;
13490 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13491 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13492 wxSize const &arg4_defvalue = wxDefaultSize ;
13493 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13494 long arg5 = (long) 0 ;
13495 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13496 wxString *arg6 = (wxString *) &arg6_defvalue ;
13497 wxPyWindow *result;
13498 wxPoint temp3 ;
13499 wxSize temp4 ;
13500 bool temp6 = False ;
13501 PyObject * obj0 = 0 ;
13502 PyObject * obj2 = 0 ;
13503 PyObject * obj3 = 0 ;
13504 PyObject * obj5 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13511 if (obj2) {
13512 {
13513 arg3 = &temp3;
13514 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13515 }
13516 }
13517 if (obj3) {
13518 {
13519 arg4 = &temp4;
13520 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13521 }
13522 }
13523 if (obj5) {
13524 {
13525 arg6 = wxString_in_helper(obj5);
13526 if (arg6 == NULL) SWIG_fail;
13527 temp6 = True;
13528 }
13529 }
13530 {
13531 PyThreadState* __tstate = wxPyBeginAllowThreads();
13532 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13533
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13538 {
13539 if (temp6)
13540 delete arg6;
13541 }
13542 return resultobj;
13543 fail:
13544 {
13545 if (temp6)
13546 delete arg6;
13547 }
13548 return NULL;
13549 }
13550
13551
13552 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13553 PyObject *resultobj;
13554 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13555 PyObject *arg2 = (PyObject *) 0 ;
13556 PyObject *arg3 = (PyObject *) 0 ;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13559 PyObject * obj2 = 0 ;
13560 char *kwnames[] = {
13561 (char *) "self",(char *) "self",(char *) "_class", NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13566 arg2 = obj1;
13567 arg3 = obj2;
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 (arg1)->_setCallbackInfo(arg2,arg3);
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 Py_INCREF(Py_None); resultobj = Py_None;
13576 return resultobj;
13577 fail:
13578 return NULL;
13579 }
13580
13581
13582 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj;
13584 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13585 int arg2 ;
13586 int arg3 ;
13587 int arg4 ;
13588 int arg5 ;
13589 PyObject * obj0 = 0 ;
13590 char *kwnames[] = {
13591 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13596 {
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13599
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 Py_INCREF(Py_None); resultobj = Py_None;
13604 return resultobj;
13605 fail:
13606 return NULL;
13607 }
13608
13609
13610 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj;
13612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13613 int arg2 ;
13614 int arg3 ;
13615 int arg4 ;
13616 int arg5 ;
13617 int arg6 = (int) wxSIZE_AUTO ;
13618 PyObject * obj0 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 Py_INCREF(Py_None); resultobj = Py_None;
13633 return resultobj;
13634 fail:
13635 return NULL;
13636 }
13637
13638
13639 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj;
13641 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13642 int arg2 ;
13643 int arg3 ;
13644 PyObject * obj0 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self",(char *) "width",(char *) "height", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13651 {
13652 PyThreadState* __tstate = wxPyBeginAllowThreads();
13653 (arg1)->base_DoSetClientSize(arg2,arg3);
13654
13655 wxPyEndAllowThreads(__tstate);
13656 if (PyErr_Occurred()) SWIG_fail;
13657 }
13658 Py_INCREF(Py_None); resultobj = Py_None;
13659 return resultobj;
13660 fail:
13661 return NULL;
13662 }
13663
13664
13665 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj;
13667 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13668 int arg2 ;
13669 int arg3 ;
13670 PyObject * obj0 = 0 ;
13671 char *kwnames[] = {
13672 (char *) "self",(char *) "x",(char *) "y", NULL
13673 };
13674
13675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 Py_INCREF(Py_None); resultobj = Py_None;
13685 return resultobj;
13686 fail:
13687 return NULL;
13688 }
13689
13690
13691 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13692 PyObject *resultobj;
13693 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13694 int *arg2 = (int *) 0 ;
13695 int *arg3 = (int *) 0 ;
13696 int temp2 ;
13697 int temp3 ;
13698 PyObject * obj0 = 0 ;
13699 char *kwnames[] = {
13700 (char *) "self", NULL
13701 };
13702
13703 arg2 = &temp2;
13704 arg3 = &temp3;
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13707 {
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13710
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
13714 Py_INCREF(Py_None); resultobj = Py_None;
13715 {
13716 PyObject *o = PyInt_FromLong((long) (*arg2));
13717 resultobj = t_output_helper(resultobj,o);
13718 }
13719 {
13720 PyObject *o = PyInt_FromLong((long) (*arg3));
13721 resultobj = t_output_helper(resultobj,o);
13722 }
13723 return resultobj;
13724 fail:
13725 return NULL;
13726 }
13727
13728
13729 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13730 PyObject *resultobj;
13731 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13732 int *arg2 = (int *) 0 ;
13733 int *arg3 = (int *) 0 ;
13734 int temp2 ;
13735 int temp3 ;
13736 PyObject * obj0 = 0 ;
13737 char *kwnames[] = {
13738 (char *) "self", NULL
13739 };
13740
13741 arg2 = &temp2;
13742 arg3 = &temp3;
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13748
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 Py_INCREF(Py_None); resultobj = Py_None;
13753 {
13754 PyObject *o = PyInt_FromLong((long) (*arg2));
13755 resultobj = t_output_helper(resultobj,o);
13756 }
13757 {
13758 PyObject *o = PyInt_FromLong((long) (*arg3));
13759 resultobj = t_output_helper(resultobj,o);
13760 }
13761 return resultobj;
13762 fail:
13763 return NULL;
13764 }
13765
13766
13767 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13768 PyObject *resultobj;
13769 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13770 int *arg2 = (int *) 0 ;
13771 int *arg3 = (int *) 0 ;
13772 int temp2 ;
13773 int temp3 ;
13774 PyObject * obj0 = 0 ;
13775 char *kwnames[] = {
13776 (char *) "self", NULL
13777 };
13778
13779 arg2 = &temp2;
13780 arg3 = &temp3;
13781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13783 {
13784 PyThreadState* __tstate = wxPyBeginAllowThreads();
13785 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13786
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 Py_INCREF(Py_None); resultobj = Py_None;
13791 {
13792 PyObject *o = PyInt_FromLong((long) (*arg2));
13793 resultobj = t_output_helper(resultobj,o);
13794 }
13795 {
13796 PyObject *o = PyInt_FromLong((long) (*arg3));
13797 resultobj = t_output_helper(resultobj,o);
13798 }
13799 return resultobj;
13800 fail:
13801 return NULL;
13802 }
13803
13804
13805 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13808 wxSize result;
13809 PyObject * obj0 = 0 ;
13810 char *kwnames[] = {
13811 (char *) "self", NULL
13812 };
13813
13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 {
13824 wxSize * resultptr;
13825 resultptr = new wxSize((wxSize &) result);
13826 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13827 }
13828 return resultobj;
13829 fail:
13830 return NULL;
13831 }
13832
13833
13834 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13837 wxSize result;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13848
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 {
13853 wxSize * resultptr;
13854 resultptr = new wxSize((wxSize &) result);
13855 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13856 }
13857 return resultobj;
13858 fail:
13859 return NULL;
13860 }
13861
13862
13863 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13866 PyObject * obj0 = 0 ;
13867 char *kwnames[] = {
13868 (char *) "self", NULL
13869 };
13870
13871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 (arg1)->base_InitDialog();
13876
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 Py_INCREF(Py_None); resultobj = Py_None;
13881 return resultobj;
13882 fail:
13883 return NULL;
13884 }
13885
13886
13887 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13890 bool result;
13891 PyObject * obj0 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (bool)(arg1)->base_TransferDataToWindow();
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 resultobj = PyInt_FromLong((long)result);
13906 return resultobj;
13907 fail:
13908 return NULL;
13909 }
13910
13911
13912 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13913 PyObject *resultobj;
13914 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13915 bool result;
13916 PyObject * obj0 = 0 ;
13917 char *kwnames[] = {
13918 (char *) "self", NULL
13919 };
13920
13921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 result = (bool)(arg1)->base_TransferDataFromWindow();
13926
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 resultobj = PyInt_FromLong((long)result);
13931 return resultobj;
13932 fail:
13933 return NULL;
13934 }
13935
13936
13937 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13938 PyObject *resultobj;
13939 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13940 bool result;
13941 PyObject * obj0 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 result = (bool)(arg1)->base_Validate();
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
13955 resultobj = PyInt_FromLong((long)result);
13956 return resultobj;
13957 fail:
13958 return NULL;
13959 }
13960
13961
13962 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13963 PyObject *resultobj;
13964 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13965 bool result;
13966 PyObject * obj0 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13976
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
13980 resultobj = PyInt_FromLong((long)result);
13981 return resultobj;
13982 fail:
13983 return NULL;
13984 }
13985
13986
13987 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13988 PyObject *resultobj;
13989 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13990 bool result;
13991 PyObject * obj0 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 resultobj = PyInt_FromLong((long)result);
14006 return resultobj;
14007 fail:
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14015 wxSize result;
14016 PyObject * obj0 = 0 ;
14017 char *kwnames[] = {
14018 (char *) "self", NULL
14019 };
14020
14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14023 {
14024 PyThreadState* __tstate = wxPyBeginAllowThreads();
14025 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14026
14027 wxPyEndAllowThreads(__tstate);
14028 if (PyErr_Occurred()) SWIG_fail;
14029 }
14030 {
14031 wxSize * resultptr;
14032 resultptr = new wxSize((wxSize &) result);
14033 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14034 }
14035 return resultobj;
14036 fail:
14037 return NULL;
14038 }
14039
14040
14041 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj;
14043 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14044 wxWindow *arg2 = (wxWindow *) 0 ;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self",(char *) "child", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
14056 (arg1)->base_AddChild(arg2);
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 Py_INCREF(Py_None); resultobj = Py_None;
14062 return resultobj;
14063 fail:
14064 return NULL;
14065 }
14066
14067
14068 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14071 wxWindow *arg2 = (wxWindow *) 0 ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "child", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14081 {
14082 PyThreadState* __tstate = wxPyBeginAllowThreads();
14083 (arg1)->base_RemoveChild(arg2);
14084
14085 wxPyEndAllowThreads(__tstate);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 Py_INCREF(Py_None); resultobj = Py_None;
14089 return resultobj;
14090 fail:
14091 return NULL;
14092 }
14093
14094
14095 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14096 PyObject *obj;
14097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14098 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14099 Py_INCREF(obj);
14100 return Py_BuildValue((char *)"");
14101 }
14102 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14103 PyObject *resultobj;
14104 wxWindow *arg1 = (wxWindow *) 0 ;
14105 int arg2 ;
14106 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14107 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14108 wxSize const &arg4_defvalue = wxDefaultSize ;
14109 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14110 long arg5 = (long) 0 ;
14111 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14112 wxString *arg6 = (wxString *) &arg6_defvalue ;
14113 wxPyPanel *result;
14114 wxPoint temp3 ;
14115 wxSize temp4 ;
14116 bool temp6 = False ;
14117 PyObject * obj0 = 0 ;
14118 PyObject * obj2 = 0 ;
14119 PyObject * obj3 = 0 ;
14120 PyObject * obj5 = 0 ;
14121 char *kwnames[] = {
14122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14123 };
14124
14125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14127 if (obj2) {
14128 {
14129 arg3 = &temp3;
14130 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14131 }
14132 }
14133 if (obj3) {
14134 {
14135 arg4 = &temp4;
14136 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14137 }
14138 }
14139 if (obj5) {
14140 {
14141 arg6 = wxString_in_helper(obj5);
14142 if (arg6 == NULL) SWIG_fail;
14143 temp6 = True;
14144 }
14145 }
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14154 {
14155 if (temp6)
14156 delete arg6;
14157 }
14158 return resultobj;
14159 fail:
14160 {
14161 if (temp6)
14162 delete arg6;
14163 }
14164 return NULL;
14165 }
14166
14167
14168 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14169 PyObject *resultobj;
14170 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14171 PyObject *arg2 = (PyObject *) 0 ;
14172 PyObject *arg3 = (PyObject *) 0 ;
14173 PyObject * obj0 = 0 ;
14174 PyObject * obj1 = 0 ;
14175 PyObject * obj2 = 0 ;
14176 char *kwnames[] = {
14177 (char *) "self",(char *) "self",(char *) "_class", NULL
14178 };
14179
14180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14182 arg2 = obj1;
14183 arg3 = obj2;
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 (arg1)->_setCallbackInfo(arg2,arg3);
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 Py_INCREF(Py_None); resultobj = Py_None;
14192 return resultobj;
14193 fail:
14194 return NULL;
14195 }
14196
14197
14198 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14201 int arg2 ;
14202 int arg3 ;
14203 int arg4 ;
14204 int arg5 ;
14205 PyObject * obj0 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 Py_INCREF(Py_None); resultobj = Py_None;
14220 return resultobj;
14221 fail:
14222 return NULL;
14223 }
14224
14225
14226 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14227 PyObject *resultobj;
14228 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14229 int arg2 ;
14230 int arg3 ;
14231 int arg4 ;
14232 int arg5 ;
14233 int arg6 = (int) wxSIZE_AUTO ;
14234 PyObject * obj0 = 0 ;
14235 char *kwnames[] = {
14236 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14237 };
14238
14239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14244
14245 wxPyEndAllowThreads(__tstate);
14246 if (PyErr_Occurred()) SWIG_fail;
14247 }
14248 Py_INCREF(Py_None); resultobj = Py_None;
14249 return resultobj;
14250 fail:
14251 return NULL;
14252 }
14253
14254
14255 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14256 PyObject *resultobj;
14257 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14258 int arg2 ;
14259 int arg3 ;
14260 PyObject * obj0 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "self",(char *) "width",(char *) "height", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14267 {
14268 PyThreadState* __tstate = wxPyBeginAllowThreads();
14269 (arg1)->base_DoSetClientSize(arg2,arg3);
14270
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 Py_INCREF(Py_None); resultobj = Py_None;
14275 return resultobj;
14276 fail:
14277 return NULL;
14278 }
14279
14280
14281 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14282 PyObject *resultobj;
14283 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14284 int arg2 ;
14285 int arg3 ;
14286 PyObject * obj0 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "self",(char *) "x",(char *) "y", NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 Py_INCREF(Py_None); resultobj = Py_None;
14301 return resultobj;
14302 fail:
14303 return NULL;
14304 }
14305
14306
14307 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj;
14309 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14310 int *arg2 = (int *) 0 ;
14311 int *arg3 = (int *) 0 ;
14312 int temp2 ;
14313 int temp3 ;
14314 PyObject * obj0 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self", NULL
14317 };
14318
14319 arg2 = &temp2;
14320 arg3 = &temp3;
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 Py_INCREF(Py_None); resultobj = Py_None;
14331 {
14332 PyObject *o = PyInt_FromLong((long) (*arg2));
14333 resultobj = t_output_helper(resultobj,o);
14334 }
14335 {
14336 PyObject *o = PyInt_FromLong((long) (*arg3));
14337 resultobj = t_output_helper(resultobj,o);
14338 }
14339 return resultobj;
14340 fail:
14341 return NULL;
14342 }
14343
14344
14345 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14346 PyObject *resultobj;
14347 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14348 int *arg2 = (int *) 0 ;
14349 int *arg3 = (int *) 0 ;
14350 int temp2 ;
14351 int temp3 ;
14352 PyObject * obj0 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "self", NULL
14355 };
14356
14357 arg2 = &temp2;
14358 arg3 = &temp3;
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 Py_INCREF(Py_None); resultobj = Py_None;
14369 {
14370 PyObject *o = PyInt_FromLong((long) (*arg2));
14371 resultobj = t_output_helper(resultobj,o);
14372 }
14373 {
14374 PyObject *o = PyInt_FromLong((long) (*arg3));
14375 resultobj = t_output_helper(resultobj,o);
14376 }
14377 return resultobj;
14378 fail:
14379 return NULL;
14380 }
14381
14382
14383 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14384 PyObject *resultobj;
14385 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14386 int *arg2 = (int *) 0 ;
14387 int *arg3 = (int *) 0 ;
14388 int temp2 ;
14389 int temp3 ;
14390 PyObject * obj0 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self", NULL
14393 };
14394
14395 arg2 = &temp2;
14396 arg3 = &temp3;
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14402
14403 wxPyEndAllowThreads(__tstate);
14404 if (PyErr_Occurred()) SWIG_fail;
14405 }
14406 Py_INCREF(Py_None); resultobj = Py_None;
14407 {
14408 PyObject *o = PyInt_FromLong((long) (*arg2));
14409 resultobj = t_output_helper(resultobj,o);
14410 }
14411 {
14412 PyObject *o = PyInt_FromLong((long) (*arg3));
14413 resultobj = t_output_helper(resultobj,o);
14414 }
14415 return resultobj;
14416 fail:
14417 return NULL;
14418 }
14419
14420
14421 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14424 wxSize result;
14425 PyObject * obj0 = 0 ;
14426 char *kwnames[] = {
14427 (char *) "self", NULL
14428 };
14429
14430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14435
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 {
14440 wxSize * resultptr;
14441 resultptr = new wxSize((wxSize &) result);
14442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14443 }
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14453 wxSize result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 {
14469 wxSize * resultptr;
14470 resultptr = new wxSize((wxSize &) result);
14471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14472 }
14473 return resultobj;
14474 fail:
14475 return NULL;
14476 }
14477
14478
14479 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 (arg1)->base_InitDialog();
14492
14493 wxPyEndAllowThreads(__tstate);
14494 if (PyErr_Occurred()) SWIG_fail;
14495 }
14496 Py_INCREF(Py_None); resultobj = Py_None;
14497 return resultobj;
14498 fail:
14499 return NULL;
14500 }
14501
14502
14503 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14504 PyObject *resultobj;
14505 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14506 bool result;
14507 PyObject * obj0 = 0 ;
14508 char *kwnames[] = {
14509 (char *) "self", NULL
14510 };
14511
14512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = (bool)(arg1)->base_TransferDataToWindow();
14517
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 resultobj = PyInt_FromLong((long)result);
14522 return resultobj;
14523 fail:
14524 return NULL;
14525 }
14526
14527
14528 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14531 bool result;
14532 PyObject * obj0 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "self", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 result = (bool)(arg1)->base_TransferDataFromWindow();
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 resultobj = PyInt_FromLong((long)result);
14547 return resultobj;
14548 fail:
14549 return NULL;
14550 }
14551
14552
14553 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14556 bool result;
14557 PyObject * obj0 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = (bool)(arg1)->base_Validate();
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 resultobj = PyInt_FromLong((long)result);
14572 return resultobj;
14573 fail:
14574 return NULL;
14575 }
14576
14577
14578 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj;
14580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14581 bool result;
14582 PyObject * obj0 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 resultobj = PyInt_FromLong((long)result);
14597 return resultobj;
14598 fail:
14599 return NULL;
14600 }
14601
14602
14603 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj;
14605 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14606 bool result;
14607 PyObject * obj0 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 resultobj = PyInt_FromLong((long)result);
14622 return resultobj;
14623 fail:
14624 return NULL;
14625 }
14626
14627
14628 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14631 wxSize result;
14632 PyObject * obj0 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14642
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 {
14647 wxSize * resultptr;
14648 resultptr = new wxSize((wxSize &) result);
14649 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14650 }
14651 return resultobj;
14652 fail:
14653 return NULL;
14654 }
14655
14656
14657 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14660 wxWindow *arg2 = (wxWindow *) 0 ;
14661 PyObject * obj0 = 0 ;
14662 PyObject * obj1 = 0 ;
14663 char *kwnames[] = {
14664 (char *) "self",(char *) "child", NULL
14665 };
14666
14667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14669 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14670 {
14671 PyThreadState* __tstate = wxPyBeginAllowThreads();
14672 (arg1)->base_AddChild(arg2);
14673
14674 wxPyEndAllowThreads(__tstate);
14675 if (PyErr_Occurred()) SWIG_fail;
14676 }
14677 Py_INCREF(Py_None); resultobj = Py_None;
14678 return resultobj;
14679 fail:
14680 return NULL;
14681 }
14682
14683
14684 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14685 PyObject *resultobj;
14686 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14687 wxWindow *arg2 = (wxWindow *) 0 ;
14688 PyObject * obj0 = 0 ;
14689 PyObject * obj1 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self",(char *) "child", NULL
14692 };
14693
14694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14696 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 (arg1)->base_RemoveChild(arg2);
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 Py_INCREF(Py_None); resultobj = Py_None;
14705 return resultobj;
14706 fail:
14707 return NULL;
14708 }
14709
14710
14711 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14712 PyObject *obj;
14713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14714 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14715 Py_INCREF(obj);
14716 return Py_BuildValue((char *)"");
14717 }
14718 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14719 PyObject *resultobj;
14720 wxPrintData *result;
14721 char *kwnames[] = {
14722 NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = (wxPrintData *)new wxPrintData();
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14734 return resultobj;
14735 fail:
14736 return NULL;
14737 }
14738
14739
14740 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxPrintData *arg1 = (wxPrintData *) 0 ;
14743 PyObject * obj0 = 0 ;
14744 char *kwnames[] = {
14745 (char *) "self", NULL
14746 };
14747
14748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14750 {
14751 PyThreadState* __tstate = wxPyBeginAllowThreads();
14752 delete arg1;
14753
14754 wxPyEndAllowThreads(__tstate);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 }
14757 Py_INCREF(Py_None); resultobj = Py_None;
14758 return resultobj;
14759 fail:
14760 return NULL;
14761 }
14762
14763
14764 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14765 PyObject *resultobj;
14766 wxPrintData *arg1 = (wxPrintData *) 0 ;
14767 int result;
14768 PyObject * obj0 = 0 ;
14769 char *kwnames[] = {
14770 (char *) "self", NULL
14771 };
14772
14773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 result = (int)(arg1)->GetNoCopies();
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 resultobj = PyInt_FromLong((long)result);
14783 return resultobj;
14784 fail:
14785 return NULL;
14786 }
14787
14788
14789 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14790 PyObject *resultobj;
14791 wxPrintData *arg1 = (wxPrintData *) 0 ;
14792 bool result;
14793 PyObject * obj0 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "self", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 result = (bool)(arg1)->GetCollate();
14803
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 resultobj = PyInt_FromLong((long)result);
14808 return resultobj;
14809 fail:
14810 return NULL;
14811 }
14812
14813
14814 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14815 PyObject *resultobj;
14816 wxPrintData *arg1 = (wxPrintData *) 0 ;
14817 int result;
14818 PyObject * obj0 = 0 ;
14819 char *kwnames[] = {
14820 (char *) "self", NULL
14821 };
14822
14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (int)(arg1)->GetOrientation();
14828
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 resultobj = PyInt_FromLong((long)result);
14833 return resultobj;
14834 fail:
14835 return NULL;
14836 }
14837
14838
14839 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj;
14841 wxPrintData *arg1 = (wxPrintData *) 0 ;
14842 bool result;
14843 PyObject * obj0 = 0 ;
14844 char *kwnames[] = {
14845 (char *) "self", NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14850 {
14851 PyThreadState* __tstate = wxPyBeginAllowThreads();
14852 result = (bool)(arg1)->Ok();
14853
14854 wxPyEndAllowThreads(__tstate);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 resultobj = PyInt_FromLong((long)result);
14858 return resultobj;
14859 fail:
14860 return NULL;
14861 }
14862
14863
14864 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxPrintData *arg1 = (wxPrintData *) 0 ;
14867 wxString *result;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 {
14878 wxString const &_result_ref = (arg1)->GetPrinterName();
14879 result = (wxString *) &_result_ref;
14880 }
14881
14882 wxPyEndAllowThreads(__tstate);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 }
14885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14886 return resultobj;
14887 fail:
14888 return NULL;
14889 }
14890
14891
14892 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj;
14894 wxPrintData *arg1 = (wxPrintData *) 0 ;
14895 bool result;
14896 PyObject * obj0 = 0 ;
14897 char *kwnames[] = {
14898 (char *) "self", NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (bool)(arg1)->GetColour();
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 resultobj = PyInt_FromLong((long)result);
14911 return resultobj;
14912 fail:
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxPrintData *arg1 = (wxPrintData *) 0 ;
14920 int result;
14921 PyObject * obj0 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 result = (int)(arg1)->GetDuplex();
14931
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 resultobj = PyInt_FromLong((long)result);
14936 return resultobj;
14937 fail:
14938 return NULL;
14939 }
14940
14941
14942 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14943 PyObject *resultobj;
14944 wxPrintData *arg1 = (wxPrintData *) 0 ;
14945 int result;
14946 PyObject * obj0 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "self", NULL
14949 };
14950
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14953 {
14954 PyThreadState* __tstate = wxPyBeginAllowThreads();
14955 result = (int)(arg1)->GetPaperId();
14956
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
14960 resultobj = PyInt_FromLong((long)result);
14961 return resultobj;
14962 fail:
14963 return NULL;
14964 }
14965
14966
14967 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14968 PyObject *resultobj;
14969 wxPrintData *arg1 = (wxPrintData *) 0 ;
14970 wxSize *result;
14971 PyObject * obj0 = 0 ;
14972 char *kwnames[] = {
14973 (char *) "self", NULL
14974 };
14975
14976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14978 {
14979 PyThreadState* __tstate = wxPyBeginAllowThreads();
14980 {
14981 wxSize const &_result_ref = (arg1)->GetPaperSize();
14982 result = (wxSize *) &_result_ref;
14983 }
14984
14985 wxPyEndAllowThreads(__tstate);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14989 return resultobj;
14990 fail:
14991 return NULL;
14992 }
14993
14994
14995 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14996 PyObject *resultobj;
14997 wxPrintData *arg1 = (wxPrintData *) 0 ;
14998 wxPrintQuality result;
14999 PyObject * obj0 = 0 ;
15000 char *kwnames[] = {
15001 (char *) "self", NULL
15002 };
15003
15004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = (arg1)->GetQuality();
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 {
15014 wxPrintQuality * resultptr;
15015 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15016 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15017 }
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxPrintData *arg1 = (wxPrintData *) 0 ;
15027 int arg2 ;
15028 PyObject * obj0 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self",(char *) "v", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 (arg1)->SetNoCopies(arg2);
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 Py_INCREF(Py_None); resultobj = Py_None;
15043 return resultobj;
15044 fail:
15045 return NULL;
15046 }
15047
15048
15049 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15050 PyObject *resultobj;
15051 wxPrintData *arg1 = (wxPrintData *) 0 ;
15052 bool arg2 ;
15053 PyObject * obj0 = 0 ;
15054 PyObject * obj1 = 0 ;
15055 char *kwnames[] = {
15056 (char *) "self",(char *) "flag", NULL
15057 };
15058
15059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15061 arg2 = PyInt_AsLong(obj1) ? true : false;
15062 if (PyErr_Occurred()) SWIG_fail;
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 (arg1)->SetCollate(arg2);
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 Py_INCREF(Py_None); resultobj = Py_None;
15071 return resultobj;
15072 fail:
15073 return NULL;
15074 }
15075
15076
15077 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 wxPrintData *arg1 = (wxPrintData *) 0 ;
15080 int arg2 ;
15081 PyObject * obj0 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self",(char *) "orient", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 (arg1)->SetOrientation(arg2);
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 Py_INCREF(Py_None); resultobj = Py_None;
15096 return resultobj;
15097 fail:
15098 return NULL;
15099 }
15100
15101
15102 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15103 PyObject *resultobj;
15104 wxPrintData *arg1 = (wxPrintData *) 0 ;
15105 wxString *arg2 = 0 ;
15106 bool temp2 = False ;
15107 PyObject * obj0 = 0 ;
15108 PyObject * obj1 = 0 ;
15109 char *kwnames[] = {
15110 (char *) "self",(char *) "name", NULL
15111 };
15112
15113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15115 {
15116 arg2 = wxString_in_helper(obj1);
15117 if (arg2 == NULL) SWIG_fail;
15118 temp2 = True;
15119 }
15120 {
15121 PyThreadState* __tstate = wxPyBeginAllowThreads();
15122 (arg1)->SetPrinterName((wxString const &)*arg2);
15123
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 Py_INCREF(Py_None); resultobj = Py_None;
15128 {
15129 if (temp2)
15130 delete arg2;
15131 }
15132 return resultobj;
15133 fail:
15134 {
15135 if (temp2)
15136 delete arg2;
15137 }
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxPrintData *arg1 = (wxPrintData *) 0 ;
15145 bool arg2 ;
15146 PyObject * obj0 = 0 ;
15147 PyObject * obj1 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self",(char *) "colour", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15154 arg2 = PyInt_AsLong(obj1) ? true : false;
15155 if (PyErr_Occurred()) SWIG_fail;
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 (arg1)->SetColour(arg2);
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 Py_INCREF(Py_None); resultobj = Py_None;
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxPrintData *arg1 = (wxPrintData *) 0 ;
15173 int arg2 ;
15174 PyObject * obj0 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self",(char *) "duplex", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 (arg1)->SetDuplex((wxDuplexMode )arg2);
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 Py_INCREF(Py_None); resultobj = Py_None;
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 wxPrintData *arg1 = (wxPrintData *) 0 ;
15198 int arg2 ;
15199 PyObject * obj0 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self",(char *) "sizeId", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 (arg1)->SetPaperId((wxPaperSize )arg2);
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 Py_INCREF(Py_None); resultobj = Py_None;
15214 return resultobj;
15215 fail:
15216 return NULL;
15217 }
15218
15219
15220 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj;
15222 wxPrintData *arg1 = (wxPrintData *) 0 ;
15223 wxSize *arg2 = 0 ;
15224 wxSize temp2 ;
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
15227 char *kwnames[] = {
15228 (char *) "self",(char *) "sz", NULL
15229 };
15230
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15233 {
15234 arg2 = &temp2;
15235 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15236 }
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 (arg1)->SetPaperSize((wxSize const &)*arg2);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 Py_INCREF(Py_None); resultobj = Py_None;
15245 return resultobj;
15246 fail:
15247 return NULL;
15248 }
15249
15250
15251 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxPrintData *arg1 = (wxPrintData *) 0 ;
15254 wxPrintQuality arg2 ;
15255 wxPrintQuality *argp2 ;
15256 PyObject * obj0 = 0 ;
15257 PyObject * obj1 = 0 ;
15258 char *kwnames[] = {
15259 (char *) "self",(char *) "quality", NULL
15260 };
15261
15262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15264 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15265 arg2 = *argp2;
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 (arg1)->SetQuality(arg2);
15269
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 Py_INCREF(Py_None); resultobj = Py_None;
15274 return resultobj;
15275 fail:
15276 return NULL;
15277 }
15278
15279
15280 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15281 PyObject *resultobj;
15282 wxPrintData *arg1 = (wxPrintData *) 0 ;
15283 wxString *result;
15284 PyObject * obj0 = 0 ;
15285 char *kwnames[] = {
15286 (char *) "self", NULL
15287 };
15288
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 {
15294 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15295 result = (wxString *) &_result_ref;
15296 }
15297
15298 wxPyEndAllowThreads(__tstate);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
15301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15302 return resultobj;
15303 fail:
15304 return NULL;
15305 }
15306
15307
15308 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15309 PyObject *resultobj;
15310 wxPrintData *arg1 = (wxPrintData *) 0 ;
15311 wxString *result;
15312 PyObject * obj0 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "self", NULL
15315 };
15316
15317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 {
15322 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15323 result = (wxString *) &_result_ref;
15324 }
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxPrintData *arg1 = (wxPrintData *) 0 ;
15339 wxString *result;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 {
15350 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15351 result = (wxString *) &_result_ref;
15352 }
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxPrintData *arg1 = (wxPrintData *) 0 ;
15367 wxString *result;
15368 PyObject * obj0 = 0 ;
15369 char *kwnames[] = {
15370 (char *) "self", NULL
15371 };
15372
15373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15375 {
15376 PyThreadState* __tstate = wxPyBeginAllowThreads();
15377 {
15378 wxString const &_result_ref = (arg1)->GetFilename();
15379 result = (wxString *) &_result_ref;
15380 }
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15386 return resultobj;
15387 fail:
15388 return NULL;
15389 }
15390
15391
15392 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15393 PyObject *resultobj;
15394 wxPrintData *arg1 = (wxPrintData *) 0 ;
15395 wxString *result;
15396 PyObject * obj0 = 0 ;
15397 char *kwnames[] = {
15398 (char *) "self", NULL
15399 };
15400
15401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 {
15406 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15407 result = (wxString *) &_result_ref;
15408 }
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15414 return resultobj;
15415 fail:
15416 return NULL;
15417 }
15418
15419
15420 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 wxPrintData *arg1 = (wxPrintData *) 0 ;
15423 double result;
15424 PyObject * obj0 = 0 ;
15425 char *kwnames[] = {
15426 (char *) "self", NULL
15427 };
15428
15429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 result = (double)(arg1)->GetPrinterScaleX();
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 resultobj = PyFloat_FromDouble(result);
15439 return resultobj;
15440 fail:
15441 return NULL;
15442 }
15443
15444
15445 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15446 PyObject *resultobj;
15447 wxPrintData *arg1 = (wxPrintData *) 0 ;
15448 double result;
15449 PyObject * obj0 = 0 ;
15450 char *kwnames[] = {
15451 (char *) "self", NULL
15452 };
15453
15454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15456 {
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 result = (double)(arg1)->GetPrinterScaleY();
15459
15460 wxPyEndAllowThreads(__tstate);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 resultobj = PyFloat_FromDouble(result);
15464 return resultobj;
15465 fail:
15466 return NULL;
15467 }
15468
15469
15470 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj;
15472 wxPrintData *arg1 = (wxPrintData *) 0 ;
15473 long result;
15474 PyObject * obj0 = 0 ;
15475 char *kwnames[] = {
15476 (char *) "self", NULL
15477 };
15478
15479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15481 {
15482 PyThreadState* __tstate = wxPyBeginAllowThreads();
15483 result = (long)(arg1)->GetPrinterTranslateX();
15484
15485 wxPyEndAllowThreads(__tstate);
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
15488 resultobj = PyInt_FromLong((long)result);
15489 return resultobj;
15490 fail:
15491 return NULL;
15492 }
15493
15494
15495 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15496 PyObject *resultobj;
15497 wxPrintData *arg1 = (wxPrintData *) 0 ;
15498 long result;
15499 PyObject * obj0 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (long)(arg1)->GetPrinterTranslateY();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 resultobj = PyInt_FromLong((long)result);
15514 return resultobj;
15515 fail:
15516 return NULL;
15517 }
15518
15519
15520 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15521 PyObject *resultobj;
15522 wxPrintData *arg1 = (wxPrintData *) 0 ;
15523 int result;
15524 PyObject * obj0 = 0 ;
15525 char *kwnames[] = {
15526 (char *) "self", NULL
15527 };
15528
15529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 result = (int)(arg1)->GetPrintMode();
15534
15535 wxPyEndAllowThreads(__tstate);
15536 if (PyErr_Occurred()) SWIG_fail;
15537 }
15538 resultobj = PyInt_FromLong((long)result);
15539 return resultobj;
15540 fail:
15541 return NULL;
15542 }
15543
15544
15545 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxPrintData *arg1 = (wxPrintData *) 0 ;
15548 wxString *arg2 = 0 ;
15549 bool temp2 = False ;
15550 PyObject * obj0 = 0 ;
15551 PyObject * obj1 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self",(char *) "command", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15558 {
15559 arg2 = wxString_in_helper(obj1);
15560 if (arg2 == NULL) SWIG_fail;
15561 temp2 = True;
15562 }
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 Py_INCREF(Py_None); resultobj = Py_None;
15571 {
15572 if (temp2)
15573 delete arg2;
15574 }
15575 return resultobj;
15576 fail:
15577 {
15578 if (temp2)
15579 delete arg2;
15580 }
15581 return NULL;
15582 }
15583
15584
15585 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15586 PyObject *resultobj;
15587 wxPrintData *arg1 = (wxPrintData *) 0 ;
15588 wxString *arg2 = 0 ;
15589 bool temp2 = False ;
15590 PyObject * obj0 = 0 ;
15591 PyObject * obj1 = 0 ;
15592 char *kwnames[] = {
15593 (char *) "self",(char *) "options", NULL
15594 };
15595
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15598 {
15599 arg2 = wxString_in_helper(obj1);
15600 if (arg2 == NULL) SWIG_fail;
15601 temp2 = True;
15602 }
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 Py_INCREF(Py_None); resultobj = Py_None;
15611 {
15612 if (temp2)
15613 delete arg2;
15614 }
15615 return resultobj;
15616 fail:
15617 {
15618 if (temp2)
15619 delete arg2;
15620 }
15621 return NULL;
15622 }
15623
15624
15625 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15626 PyObject *resultobj;
15627 wxPrintData *arg1 = (wxPrintData *) 0 ;
15628 wxString *arg2 = 0 ;
15629 bool temp2 = False ;
15630 PyObject * obj0 = 0 ;
15631 PyObject * obj1 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self",(char *) "command", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15638 {
15639 arg2 = wxString_in_helper(obj1);
15640 if (arg2 == NULL) SWIG_fail;
15641 temp2 = True;
15642 }
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 Py_INCREF(Py_None); resultobj = Py_None;
15651 {
15652 if (temp2)
15653 delete arg2;
15654 }
15655 return resultobj;
15656 fail:
15657 {
15658 if (temp2)
15659 delete arg2;
15660 }
15661 return NULL;
15662 }
15663
15664
15665 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj;
15667 wxPrintData *arg1 = (wxPrintData *) 0 ;
15668 wxString *arg2 = 0 ;
15669 bool temp2 = False ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 char *kwnames[] = {
15673 (char *) "self",(char *) "filename", NULL
15674 };
15675
15676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15678 {
15679 arg2 = wxString_in_helper(obj1);
15680 if (arg2 == NULL) SWIG_fail;
15681 temp2 = True;
15682 }
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 (arg1)->SetFilename((wxString const &)*arg2);
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 Py_INCREF(Py_None); resultobj = Py_None;
15691 {
15692 if (temp2)
15693 delete arg2;
15694 }
15695 return resultobj;
15696 fail:
15697 {
15698 if (temp2)
15699 delete arg2;
15700 }
15701 return NULL;
15702 }
15703
15704
15705 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15706 PyObject *resultobj;
15707 wxPrintData *arg1 = (wxPrintData *) 0 ;
15708 wxString *arg2 = 0 ;
15709 bool temp2 = False ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self",(char *) "path", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15718 {
15719 arg2 = wxString_in_helper(obj1);
15720 if (arg2 == NULL) SWIG_fail;
15721 temp2 = True;
15722 }
15723 {
15724 PyThreadState* __tstate = wxPyBeginAllowThreads();
15725 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15726
15727 wxPyEndAllowThreads(__tstate);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 Py_INCREF(Py_None); resultobj = Py_None;
15731 {
15732 if (temp2)
15733 delete arg2;
15734 }
15735 return resultobj;
15736 fail:
15737 {
15738 if (temp2)
15739 delete arg2;
15740 }
15741 return NULL;
15742 }
15743
15744
15745 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxPrintData *arg1 = (wxPrintData *) 0 ;
15748 double arg2 ;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self",(char *) "x", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 (arg1)->SetPrinterScaleX(arg2);
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 Py_INCREF(Py_None); resultobj = Py_None;
15764 return resultobj;
15765 fail:
15766 return NULL;
15767 }
15768
15769
15770 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj;
15772 wxPrintData *arg1 = (wxPrintData *) 0 ;
15773 double arg2 ;
15774 PyObject * obj0 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "self",(char *) "y", NULL
15777 };
15778
15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15781 {
15782 PyThreadState* __tstate = wxPyBeginAllowThreads();
15783 (arg1)->SetPrinterScaleY(arg2);
15784
15785 wxPyEndAllowThreads(__tstate);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 Py_INCREF(Py_None); resultobj = Py_None;
15789 return resultobj;
15790 fail:
15791 return NULL;
15792 }
15793
15794
15795 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15796 PyObject *resultobj;
15797 wxPrintData *arg1 = (wxPrintData *) 0 ;
15798 double arg2 ;
15799 double arg3 ;
15800 PyObject * obj0 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "self",(char *) "x",(char *) "y", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->SetPrinterScaling(arg2,arg3);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxPrintData *arg1 = (wxPrintData *) 0 ;
15824 long arg2 ;
15825 PyObject * obj0 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self",(char *) "x", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15832 {
15833 PyThreadState* __tstate = wxPyBeginAllowThreads();
15834 (arg1)->SetPrinterTranslateX(arg2);
15835
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 Py_INCREF(Py_None); resultobj = Py_None;
15840 return resultobj;
15841 fail:
15842 return NULL;
15843 }
15844
15845
15846 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15847 PyObject *resultobj;
15848 wxPrintData *arg1 = (wxPrintData *) 0 ;
15849 long arg2 ;
15850 PyObject * obj0 = 0 ;
15851 char *kwnames[] = {
15852 (char *) "self",(char *) "y", NULL
15853 };
15854
15855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 (arg1)->SetPrinterTranslateY(arg2);
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 Py_INCREF(Py_None); resultobj = Py_None;
15865 return resultobj;
15866 fail:
15867 return NULL;
15868 }
15869
15870
15871 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15872 PyObject *resultobj;
15873 wxPrintData *arg1 = (wxPrintData *) 0 ;
15874 long arg2 ;
15875 long arg3 ;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self",(char *) "x",(char *) "y", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 (arg1)->SetPrinterTranslation(arg2,arg3);
15886
15887 wxPyEndAllowThreads(__tstate);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 Py_INCREF(Py_None); resultobj = Py_None;
15891 return resultobj;
15892 fail:
15893 return NULL;
15894 }
15895
15896
15897 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15898 PyObject *resultobj;
15899 wxPrintData *arg1 = (wxPrintData *) 0 ;
15900 int arg2 ;
15901 PyObject * obj0 = 0 ;
15902 char *kwnames[] = {
15903 (char *) "self",(char *) "printMode", NULL
15904 };
15905
15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15908 {
15909 PyThreadState* __tstate = wxPyBeginAllowThreads();
15910 (arg1)->SetPrintMode((wxPrintMode )arg2);
15911
15912 wxPyEndAllowThreads(__tstate);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 }
15915 Py_INCREF(Py_None); resultobj = Py_None;
15916 return resultobj;
15917 fail:
15918 return NULL;
15919 }
15920
15921
15922 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15923 PyObject *obj;
15924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15925 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15926 Py_INCREF(obj);
15927 return Py_BuildValue((char *)"");
15928 }
15929 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxPageSetupDialogData *result;
15932 char *kwnames[] = {
15933 NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15945 return resultobj;
15946 fail:
15947 return NULL;
15948 }
15949
15950
15951 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15952 PyObject *resultobj;
15953 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15954 PyObject * obj0 = 0 ;
15955 char *kwnames[] = {
15956 (char *) "self", NULL
15957 };
15958
15959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15961 {
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 delete arg1;
15964
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 Py_INCREF(Py_None); resultobj = Py_None;
15969 return resultobj;
15970 fail:
15971 return NULL;
15972 }
15973
15974
15975 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15976 PyObject *resultobj;
15977 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15978 bool arg2 ;
15979 PyObject * obj0 = 0 ;
15980 PyObject * obj1 = 0 ;
15981 char *kwnames[] = {
15982 (char *) "self",(char *) "flag", NULL
15983 };
15984
15985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15987 arg2 = PyInt_AsLong(obj1) ? true : false;
15988 if (PyErr_Occurred()) SWIG_fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 (arg1)->EnableHelp(arg2);
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 Py_INCREF(Py_None); resultobj = Py_None;
15997 return resultobj;
15998 fail:
15999 return NULL;
16000 }
16001
16002
16003 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj;
16005 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16006 bool arg2 ;
16007 PyObject * obj0 = 0 ;
16008 PyObject * obj1 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self",(char *) "flag", NULL
16011 };
16012
16013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16015 arg2 = PyInt_AsLong(obj1) ? true : false;
16016 if (PyErr_Occurred()) SWIG_fail;
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 (arg1)->EnableMargins(arg2);
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 Py_INCREF(Py_None); resultobj = Py_None;
16025 return resultobj;
16026 fail:
16027 return NULL;
16028 }
16029
16030
16031 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16034 bool arg2 ;
16035 PyObject * obj0 = 0 ;
16036 PyObject * obj1 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "flag", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16043 arg2 = PyInt_AsLong(obj1) ? true : false;
16044 if (PyErr_Occurred()) SWIG_fail;
16045 {
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 (arg1)->EnableOrientation(arg2);
16048
16049 wxPyEndAllowThreads(__tstate);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 }
16052 Py_INCREF(Py_None); resultobj = Py_None;
16053 return resultobj;
16054 fail:
16055 return NULL;
16056 }
16057
16058
16059 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16062 bool arg2 ;
16063 PyObject * obj0 = 0 ;
16064 PyObject * obj1 = 0 ;
16065 char *kwnames[] = {
16066 (char *) "self",(char *) "flag", NULL
16067 };
16068
16069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16071 arg2 = PyInt_AsLong(obj1) ? true : false;
16072 if (PyErr_Occurred()) SWIG_fail;
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 (arg1)->EnablePaper(arg2);
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 Py_INCREF(Py_None); resultobj = Py_None;
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16090 bool arg2 ;
16091 PyObject * obj0 = 0 ;
16092 PyObject * obj1 = 0 ;
16093 char *kwnames[] = {
16094 (char *) "self",(char *) "flag", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16099 arg2 = PyInt_AsLong(obj1) ? true : false;
16100 if (PyErr_Occurred()) SWIG_fail;
16101 {
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 (arg1)->EnablePrinter(arg2);
16104
16105 wxPyEndAllowThreads(__tstate);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 }
16108 Py_INCREF(Py_None); resultobj = Py_None;
16109 return resultobj;
16110 fail:
16111 return NULL;
16112 }
16113
16114
16115 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16118 bool result;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = (bool)(arg1)->GetDefaultMinMargins();
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 resultobj = PyInt_FromLong((long)result);
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16141 PyObject *resultobj;
16142 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16143 bool result;
16144 PyObject * obj0 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 result = (bool)(arg1)->GetEnableMargins();
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 resultobj = PyInt_FromLong((long)result);
16159 return resultobj;
16160 fail:
16161 return NULL;
16162 }
16163
16164
16165 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16166 PyObject *resultobj;
16167 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16168 bool result;
16169 PyObject * obj0 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 result = (bool)(arg1)->GetEnableOrientation();
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 resultobj = PyInt_FromLong((long)result);
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj;
16192 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16193 bool result;
16194 PyObject * obj0 = 0 ;
16195 char *kwnames[] = {
16196 (char *) "self", NULL
16197 };
16198
16199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
16203 result = (bool)(arg1)->GetEnablePaper();
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
16208 resultobj = PyInt_FromLong((long)result);
16209 return resultobj;
16210 fail:
16211 return NULL;
16212 }
16213
16214
16215 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj;
16217 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16218 bool result;
16219 PyObject * obj0 = 0 ;
16220 char *kwnames[] = {
16221 (char *) "self", NULL
16222 };
16223
16224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = (bool)(arg1)->GetEnablePrinter();
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 resultobj = PyInt_FromLong((long)result);
16234 return resultobj;
16235 fail:
16236 return NULL;
16237 }
16238
16239
16240 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16241 PyObject *resultobj;
16242 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16243 bool result;
16244 PyObject * obj0 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "self", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 result = (bool)(arg1)->GetEnableHelp();
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
16258 resultobj = PyInt_FromLong((long)result);
16259 return resultobj;
16260 fail:
16261 return NULL;
16262 }
16263
16264
16265 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj;
16267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16268 bool result;
16269 PyObject * obj0 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self", NULL
16272 };
16273
16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (bool)(arg1)->GetDefaultInfo();
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 resultobj = PyInt_FromLong((long)result);
16284 return resultobj;
16285 fail:
16286 return NULL;
16287 }
16288
16289
16290 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16291 PyObject *resultobj;
16292 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16293 wxPoint result;
16294 PyObject * obj0 = 0 ;
16295 char *kwnames[] = {
16296 (char *) "self", NULL
16297 };
16298
16299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 result = (arg1)->GetMarginTopLeft();
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 {
16309 wxPoint * resultptr;
16310 resultptr = new wxPoint((wxPoint &) result);
16311 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16312 }
16313 return resultobj;
16314 fail:
16315 return NULL;
16316 }
16317
16318
16319 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16320 PyObject *resultobj;
16321 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16322 wxPoint result;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 result = (arg1)->GetMarginBottomRight();
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 {
16338 wxPoint * resultptr;
16339 resultptr = new wxPoint((wxPoint &) result);
16340 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16341 }
16342 return resultobj;
16343 fail:
16344 return NULL;
16345 }
16346
16347
16348 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16351 wxPoint result;
16352 PyObject * obj0 = 0 ;
16353 char *kwnames[] = {
16354 (char *) "self", NULL
16355 };
16356
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = (arg1)->GetMinMarginTopLeft();
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 {
16367 wxPoint * resultptr;
16368 resultptr = new wxPoint((wxPoint &) result);
16369 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16370 }
16371 return resultobj;
16372 fail:
16373 return NULL;
16374 }
16375
16376
16377 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16380 wxPoint result;
16381 PyObject * obj0 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 result = (arg1)->GetMinMarginBottomRight();
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 {
16396 wxPoint * resultptr;
16397 resultptr = new wxPoint((wxPoint &) result);
16398 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16399 }
16400 return resultobj;
16401 fail:
16402 return NULL;
16403 }
16404
16405
16406 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16407 PyObject *resultobj;
16408 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16409 int result;
16410 PyObject * obj0 = 0 ;
16411 char *kwnames[] = {
16412 (char *) "self", NULL
16413 };
16414
16415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 result = (int)(arg1)->GetPaperId();
16420
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 resultobj = PyInt_FromLong((long)result);
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj;
16433 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16434 wxSize result;
16435 PyObject * obj0 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16442 {
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 result = (arg1)->GetPaperSize();
16445
16446 wxPyEndAllowThreads(__tstate);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 {
16450 wxSize * resultptr;
16451 resultptr = new wxSize((wxSize &) result);
16452 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16453 }
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16463 wxPrintData *result;
16464 PyObject * obj0 = 0 ;
16465 char *kwnames[] = {
16466 (char *) "self", NULL
16467 };
16468
16469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 {
16474 wxPrintData &_result_ref = (arg1)->GetPrintData();
16475 result = (wxPrintData *) &_result_ref;
16476 }
16477
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj;
16490 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16491 bool result;
16492 PyObject * obj0 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (bool)(arg1)->Ok();
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 resultobj = PyInt_FromLong((long)result);
16507 return resultobj;
16508 fail:
16509 return NULL;
16510 }
16511
16512
16513 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16514 PyObject *resultobj;
16515 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16516 bool arg2 ;
16517 PyObject * obj0 = 0 ;
16518 PyObject * obj1 = 0 ;
16519 char *kwnames[] = {
16520 (char *) "self",(char *) "flag", NULL
16521 };
16522
16523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16525 arg2 = PyInt_AsLong(obj1) ? true : false;
16526 if (PyErr_Occurred()) SWIG_fail;
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 (arg1)->SetDefaultInfo(arg2);
16530
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 Py_INCREF(Py_None); resultobj = Py_None;
16535 return resultobj;
16536 fail:
16537 return NULL;
16538 }
16539
16540
16541 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16542 PyObject *resultobj;
16543 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16544 bool arg2 ;
16545 PyObject * obj0 = 0 ;
16546 PyObject * obj1 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self",(char *) "flag", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16553 arg2 = PyInt_AsLong(obj1) ? true : false;
16554 if (PyErr_Occurred()) SWIG_fail;
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 (arg1)->SetDefaultMinMargins(arg2);
16558
16559 wxPyEndAllowThreads(__tstate);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 Py_INCREF(Py_None); resultobj = Py_None;
16563 return resultobj;
16564 fail:
16565 return NULL;
16566 }
16567
16568
16569 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16570 PyObject *resultobj;
16571 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16572 wxPoint *arg2 = 0 ;
16573 wxPoint temp2 ;
16574 PyObject * obj0 = 0 ;
16575 PyObject * obj1 = 0 ;
16576 char *kwnames[] = {
16577 (char *) "self",(char *) "pt", NULL
16578 };
16579
16580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16582 {
16583 arg2 = &temp2;
16584 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16585 }
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 Py_INCREF(Py_None); resultobj = Py_None;
16594 return resultobj;
16595 fail:
16596 return NULL;
16597 }
16598
16599
16600 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16601 PyObject *resultobj;
16602 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16603 wxPoint *arg2 = 0 ;
16604 wxPoint temp2 ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "self",(char *) "pt", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16613 {
16614 arg2 = &temp2;
16615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16616 }
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16620
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 Py_INCREF(Py_None); resultobj = Py_None;
16625 return resultobj;
16626 fail:
16627 return NULL;
16628 }
16629
16630
16631 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16632 PyObject *resultobj;
16633 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16634 wxPoint *arg2 = 0 ;
16635 wxPoint temp2 ;
16636 PyObject * obj0 = 0 ;
16637 PyObject * obj1 = 0 ;
16638 char *kwnames[] = {
16639 (char *) "self",(char *) "pt", NULL
16640 };
16641
16642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16644 {
16645 arg2 = &temp2;
16646 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16647 }
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 Py_INCREF(Py_None); resultobj = Py_None;
16656 return resultobj;
16657 fail:
16658 return NULL;
16659 }
16660
16661
16662 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16665 wxPoint *arg2 = 0 ;
16666 wxPoint temp2 ;
16667 PyObject * obj0 = 0 ;
16668 PyObject * obj1 = 0 ;
16669 char *kwnames[] = {
16670 (char *) "self",(char *) "pt", NULL
16671 };
16672
16673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16675 {
16676 arg2 = &temp2;
16677 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16678 }
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 Py_INCREF(Py_None); resultobj = Py_None;
16687 return resultobj;
16688 fail:
16689 return NULL;
16690 }
16691
16692
16693 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16696 int arg2 ;
16697 PyObject * obj0 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "self",(char *) "id", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 (arg1)->SetPaperId((wxPaperSize )arg2);
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 Py_INCREF(Py_None); resultobj = Py_None;
16712 return resultobj;
16713 fail:
16714 return NULL;
16715 }
16716
16717
16718 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16719 PyObject *resultobj;
16720 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16721 wxSize *arg2 = 0 ;
16722 wxSize temp2 ;
16723 PyObject * obj0 = 0 ;
16724 PyObject * obj1 = 0 ;
16725 char *kwnames[] = {
16726 (char *) "self",(char *) "size", NULL
16727 };
16728
16729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16731 {
16732 arg2 = &temp2;
16733 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16734 }
16735 {
16736 PyThreadState* __tstate = wxPyBeginAllowThreads();
16737 (arg1)->SetPaperSize((wxSize const &)*arg2);
16738
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 Py_INCREF(Py_None); resultobj = Py_None;
16743 return resultobj;
16744 fail:
16745 return NULL;
16746 }
16747
16748
16749 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16750 PyObject *resultobj;
16751 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16752 wxPrintData *arg2 = 0 ;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self",(char *) "printData", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16762 if (arg2 == NULL) {
16763 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16764 }
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 Py_INCREF(Py_None); resultobj = Py_None;
16773 return resultobj;
16774 fail:
16775 return NULL;
16776 }
16777
16778
16779 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16780 PyObject *obj;
16781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16782 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16783 Py_INCREF(obj);
16784 return Py_BuildValue((char *)"");
16785 }
16786 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj;
16788 wxWindow *arg1 = (wxWindow *) 0 ;
16789 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16790 wxPageSetupDialog *result;
16791 PyObject * obj0 = 0 ;
16792 PyObject * obj1 = 0 ;
16793 char *kwnames[] = {
16794 (char *) "parent",(char *) "data", NULL
16795 };
16796
16797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16799 if (obj1) {
16800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16801 }
16802 {
16803 PyThreadState* __tstate = wxPyBeginAllowThreads();
16804 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16805
16806 wxPyEndAllowThreads(__tstate);
16807 if (PyErr_Occurred()) SWIG_fail;
16808 }
16809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16810 return resultobj;
16811 fail:
16812 return NULL;
16813 }
16814
16815
16816 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16817 PyObject *resultobj;
16818 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16819 wxPageSetupDialogData *result;
16820 PyObject * obj0 = 0 ;
16821 char *kwnames[] = {
16822 (char *) "self", NULL
16823 };
16824
16825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 {
16830 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16831 result = (wxPageSetupDialogData *) &_result_ref;
16832 }
16833
16834 wxPyEndAllowThreads(__tstate);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16838 return resultobj;
16839 fail:
16840 return NULL;
16841 }
16842
16843
16844 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj;
16846 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16847 int result;
16848 PyObject * obj0 = 0 ;
16849 char *kwnames[] = {
16850 (char *) "self", NULL
16851 };
16852
16853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 result = (int)(arg1)->ShowModal();
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 resultobj = PyInt_FromLong((long)result);
16863 return resultobj;
16864 fail:
16865 return NULL;
16866 }
16867
16868
16869 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16870 PyObject *obj;
16871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16872 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16873 Py_INCREF(obj);
16874 return Py_BuildValue((char *)"");
16875 }
16876 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxPrintDialogData *result;
16879 char *kwnames[] = {
16880 NULL
16881 };
16882
16883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = (wxPrintDialogData *)new wxPrintDialogData();
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16901 PyObject * obj0 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self", NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16908 {
16909 PyThreadState* __tstate = wxPyBeginAllowThreads();
16910 delete arg1;
16911
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 Py_INCREF(Py_None); resultobj = Py_None;
16916 return resultobj;
16917 fail:
16918 return NULL;
16919 }
16920
16921
16922 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16923 PyObject *resultobj;
16924 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16925 int result;
16926 PyObject * obj0 = 0 ;
16927 char *kwnames[] = {
16928 (char *) "self", NULL
16929 };
16930
16931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
16935 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16936
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
16940 resultobj = PyInt_FromLong((long)result);
16941 return resultobj;
16942 fail:
16943 return NULL;
16944 }
16945
16946
16947 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16948 PyObject *resultobj;
16949 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16950 int result;
16951 PyObject * obj0 = 0 ;
16952 char *kwnames[] = {
16953 (char *) "self", NULL
16954 };
16955
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16961
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 resultobj = PyInt_FromLong((long)result);
16966 return resultobj;
16967 fail:
16968 return NULL;
16969 }
16970
16971
16972 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj;
16974 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16975 int result;
16976 PyObject * obj0 = 0 ;
16977 char *kwnames[] = {
16978 (char *) "self", NULL
16979 };
16980
16981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 resultobj = PyInt_FromLong((long)result);
16991 return resultobj;
16992 fail:
16993 return NULL;
16994 }
16995
16996
16997 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17000 int result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 resultobj = PyInt_FromLong((long)result);
17016 return resultobj;
17017 fail:
17018 return NULL;
17019 }
17020
17021
17022 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17025 int result;
17026 PyObject * obj0 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 {
17034 PyThreadState* __tstate = wxPyBeginAllowThreads();
17035 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17036
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
17040 resultobj = PyInt_FromLong((long)result);
17041 return resultobj;
17042 fail:
17043 return NULL;
17044 }
17045
17046
17047 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17050 bool result;
17051 PyObject * obj0 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17061
17062 wxPyEndAllowThreads(__tstate);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 }
17065 resultobj = PyInt_FromLong((long)result);
17066 return resultobj;
17067 fail:
17068 return NULL;
17069 }
17070
17071
17072 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17073 PyObject *resultobj;
17074 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17075 bool result;
17076 PyObject * obj0 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17083 {
17084 PyThreadState* __tstate = wxPyBeginAllowThreads();
17085 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17086
17087 wxPyEndAllowThreads(__tstate);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 }
17090 resultobj = PyInt_FromLong((long)result);
17091 return resultobj;
17092 fail:
17093 return NULL;
17094 }
17095
17096
17097 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17098 PyObject *resultobj;
17099 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17100 bool result;
17101 PyObject * obj0 = 0 ;
17102 char *kwnames[] = {
17103 (char *) "self", NULL
17104 };
17105
17106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17108 {
17109 PyThreadState* __tstate = wxPyBeginAllowThreads();
17110 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17111
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 resultobj = PyInt_FromLong((long)result);
17116 return resultobj;
17117 fail:
17118 return NULL;
17119 }
17120
17121
17122 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17123 PyObject *resultobj;
17124 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17125 bool result;
17126 PyObject * obj0 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "self", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17133 {
17134 PyThreadState* __tstate = wxPyBeginAllowThreads();
17135 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17136
17137 wxPyEndAllowThreads(__tstate);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 resultobj = PyInt_FromLong((long)result);
17141 return resultobj;
17142 fail:
17143 return NULL;
17144 }
17145
17146
17147 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17150 bool result;
17151 PyObject * obj0 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 resultobj = PyInt_FromLong((long)result);
17166 return resultobj;
17167 fail:
17168 return NULL;
17169 }
17170
17171
17172 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17173 PyObject *resultobj;
17174 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17175 int arg2 ;
17176 PyObject * obj0 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self",(char *) "v", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 (arg1)->SetFromPage(arg2);
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 Py_INCREF(Py_None); resultobj = Py_None;
17191 return resultobj;
17192 fail:
17193 return NULL;
17194 }
17195
17196
17197 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj;
17199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17200 int arg2 ;
17201 PyObject * obj0 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self",(char *) "v", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 (arg1)->SetToPage(arg2);
17211
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 Py_INCREF(Py_None); resultobj = Py_None;
17216 return resultobj;
17217 fail:
17218 return NULL;
17219 }
17220
17221
17222 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17223 PyObject *resultobj;
17224 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17225 int arg2 ;
17226 PyObject * obj0 = 0 ;
17227 char *kwnames[] = {
17228 (char *) "self",(char *) "v", NULL
17229 };
17230
17231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 (arg1)->SetMinPage(arg2);
17236
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 Py_INCREF(Py_None); resultobj = Py_None;
17241 return resultobj;
17242 fail:
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17250 int arg2 ;
17251 PyObject * obj0 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "self",(char *) "v", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17258 {
17259 PyThreadState* __tstate = wxPyBeginAllowThreads();
17260 (arg1)->SetMaxPage(arg2);
17261
17262 wxPyEndAllowThreads(__tstate);
17263 if (PyErr_Occurred()) SWIG_fail;
17264 }
17265 Py_INCREF(Py_None); resultobj = Py_None;
17266 return resultobj;
17267 fail:
17268 return NULL;
17269 }
17270
17271
17272 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17273 PyObject *resultobj;
17274 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17275 int arg2 ;
17276 PyObject * obj0 = 0 ;
17277 char *kwnames[] = {
17278 (char *) "self",(char *) "v", NULL
17279 };
17280
17281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 (arg1)->SetNoCopies(arg2);
17286
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 Py_INCREF(Py_None); resultobj = Py_None;
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17300 bool arg2 ;
17301 PyObject * obj0 = 0 ;
17302 PyObject * obj1 = 0 ;
17303 char *kwnames[] = {
17304 (char *) "self",(char *) "flag", NULL
17305 };
17306
17307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17309 arg2 = PyInt_AsLong(obj1) ? true : false;
17310 if (PyErr_Occurred()) SWIG_fail;
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 (arg1)->SetAllPages(arg2);
17314
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 Py_INCREF(Py_None); resultobj = Py_None;
17319 return resultobj;
17320 fail:
17321 return NULL;
17322 }
17323
17324
17325 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17326 PyObject *resultobj;
17327 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17328 bool arg2 ;
17329 PyObject * obj0 = 0 ;
17330 PyObject * obj1 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self",(char *) "flag", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17337 arg2 = PyInt_AsLong(obj1) ? true : false;
17338 if (PyErr_Occurred()) SWIG_fail;
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 (arg1)->SetSelection(arg2);
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 Py_INCREF(Py_None); resultobj = Py_None;
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj;
17355 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17356 bool arg2 ;
17357 PyObject * obj0 = 0 ;
17358 PyObject * obj1 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "flag", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17365 arg2 = PyInt_AsLong(obj1) ? true : false;
17366 if (PyErr_Occurred()) SWIG_fail;
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 (arg1)->SetCollate(arg2);
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 Py_INCREF(Py_None); resultobj = Py_None;
17375 return resultobj;
17376 fail:
17377 return NULL;
17378 }
17379
17380
17381 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17384 bool arg2 ;
17385 PyObject * obj0 = 0 ;
17386 PyObject * obj1 = 0 ;
17387 char *kwnames[] = {
17388 (char *) "self",(char *) "flag", NULL
17389 };
17390
17391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17393 arg2 = PyInt_AsLong(obj1) ? true : false;
17394 if (PyErr_Occurred()) SWIG_fail;
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 (arg1)->SetPrintToFile(arg2);
17398
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
17402 Py_INCREF(Py_None); resultobj = Py_None;
17403 return resultobj;
17404 fail:
17405 return NULL;
17406 }
17407
17408
17409 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj;
17411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17412 bool arg2 ;
17413 PyObject * obj0 = 0 ;
17414 PyObject * obj1 = 0 ;
17415 char *kwnames[] = {
17416 (char *) "self",(char *) "flag", NULL
17417 };
17418
17419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17421 arg2 = PyInt_AsLong(obj1) ? true : false;
17422 if (PyErr_Occurred()) SWIG_fail;
17423 {
17424 PyThreadState* __tstate = wxPyBeginAllowThreads();
17425 (arg1)->SetSetupDialog(arg2);
17426
17427 wxPyEndAllowThreads(__tstate);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 Py_INCREF(Py_None); resultobj = Py_None;
17431 return resultobj;
17432 fail:
17433 return NULL;
17434 }
17435
17436
17437 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj;
17439 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17440 bool arg2 ;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "self",(char *) "flag", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17449 arg2 = PyInt_AsLong(obj1) ? true : false;
17450 if (PyErr_Occurred()) SWIG_fail;
17451 {
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 (arg1)->EnablePrintToFile(arg2);
17454
17455 wxPyEndAllowThreads(__tstate);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 Py_INCREF(Py_None); resultobj = Py_None;
17459 return resultobj;
17460 fail:
17461 return NULL;
17462 }
17463
17464
17465 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17466 PyObject *resultobj;
17467 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17468 bool arg2 ;
17469 PyObject * obj0 = 0 ;
17470 PyObject * obj1 = 0 ;
17471 char *kwnames[] = {
17472 (char *) "self",(char *) "flag", NULL
17473 };
17474
17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17477 arg2 = PyInt_AsLong(obj1) ? true : false;
17478 if (PyErr_Occurred()) SWIG_fail;
17479 {
17480 PyThreadState* __tstate = wxPyBeginAllowThreads();
17481 (arg1)->EnableSelection(arg2);
17482
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
17486 Py_INCREF(Py_None); resultobj = Py_None;
17487 return resultobj;
17488 fail:
17489 return NULL;
17490 }
17491
17492
17493 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17494 PyObject *resultobj;
17495 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17496 bool arg2 ;
17497 PyObject * obj0 = 0 ;
17498 PyObject * obj1 = 0 ;
17499 char *kwnames[] = {
17500 (char *) "self",(char *) "flag", NULL
17501 };
17502
17503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17505 arg2 = PyInt_AsLong(obj1) ? true : false;
17506 if (PyErr_Occurred()) SWIG_fail;
17507 {
17508 PyThreadState* __tstate = wxPyBeginAllowThreads();
17509 (arg1)->EnablePageNumbers(arg2);
17510
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
17514 Py_INCREF(Py_None); resultobj = Py_None;
17515 return resultobj;
17516 fail:
17517 return NULL;
17518 }
17519
17520
17521 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17522 PyObject *resultobj;
17523 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17524 bool arg2 ;
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "self",(char *) "flag", NULL
17529 };
17530
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17533 arg2 = PyInt_AsLong(obj1) ? true : false;
17534 if (PyErr_Occurred()) SWIG_fail;
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 (arg1)->EnableHelp(arg2);
17538
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 Py_INCREF(Py_None); resultobj = Py_None;
17543 return resultobj;
17544 fail:
17545 return NULL;
17546 }
17547
17548
17549 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17550 PyObject *resultobj;
17551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17552 bool result;
17553 PyObject * obj0 = 0 ;
17554 char *kwnames[] = {
17555 (char *) "self", NULL
17556 };
17557
17558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 resultobj = PyInt_FromLong((long)result);
17568 return resultobj;
17569 fail:
17570 return NULL;
17571 }
17572
17573
17574 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj;
17576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17577 bool result;
17578 PyObject * obj0 = 0 ;
17579 char *kwnames[] = {
17580 (char *) "self", NULL
17581 };
17582
17583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17585 {
17586 PyThreadState* __tstate = wxPyBeginAllowThreads();
17587 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17588
17589 wxPyEndAllowThreads(__tstate);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 }
17592 resultobj = PyInt_FromLong((long)result);
17593 return resultobj;
17594 fail:
17595 return NULL;
17596 }
17597
17598
17599 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj;
17601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17602 bool result;
17603 PyObject * obj0 = 0 ;
17604 char *kwnames[] = {
17605 (char *) "self", NULL
17606 };
17607
17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17610 {
17611 PyThreadState* __tstate = wxPyBeginAllowThreads();
17612 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17613
17614 wxPyEndAllowThreads(__tstate);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 resultobj = PyInt_FromLong((long)result);
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17627 bool result;
17628 PyObject * obj0 = 0 ;
17629 char *kwnames[] = {
17630 (char *) "self", NULL
17631 };
17632
17633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 resultobj = PyInt_FromLong((long)result);
17643 return resultobj;
17644 fail:
17645 return NULL;
17646 }
17647
17648
17649 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17652 bool result;
17653 PyObject * obj0 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17663
17664 wxPyEndAllowThreads(__tstate);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 resultobj = PyInt_FromLong((long)result);
17668 return resultobj;
17669 fail:
17670 return NULL;
17671 }
17672
17673
17674 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17677 wxPrintData *result;
17678 PyObject * obj0 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 {
17688 wxPrintData &_result_ref = (arg1)->GetPrintData();
17689 result = (wxPrintData *) &_result_ref;
17690 }
17691
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17705 wxPrintData *arg2 = 0 ;
17706 PyObject * obj0 = 0 ;
17707 PyObject * obj1 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self",(char *) "printData", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17715 if (arg2 == NULL) {
17716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17717 }
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 Py_INCREF(Py_None); resultobj = Py_None;
17726 return resultobj;
17727 fail:
17728 return NULL;
17729 }
17730
17731
17732 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17733 PyObject *obj;
17734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17735 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17736 Py_INCREF(obj);
17737 return Py_BuildValue((char *)"");
17738 }
17739 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17740 PyObject *resultobj;
17741 wxWindow *arg1 = (wxWindow *) 0 ;
17742 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17743 wxPrintDialog *result;
17744 PyObject * obj0 = 0 ;
17745 PyObject * obj1 = 0 ;
17746 char *kwnames[] = {
17747 (char *) "parent",(char *) "data", NULL
17748 };
17749
17750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17752 if (obj1) {
17753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17754 }
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17763 return resultobj;
17764 fail:
17765 return NULL;
17766 }
17767
17768
17769 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj;
17771 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17772 wxPrintDialogData *result;
17773 PyObject * obj0 = 0 ;
17774 char *kwnames[] = {
17775 (char *) "self", NULL
17776 };
17777
17778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17780 {
17781 PyThreadState* __tstate = wxPyBeginAllowThreads();
17782 {
17783 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17784 result = (wxPrintDialogData *) &_result_ref;
17785 }
17786
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17791 return resultobj;
17792 fail:
17793 return NULL;
17794 }
17795
17796
17797 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17798 PyObject *resultobj;
17799 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17800 wxDC *result;
17801 PyObject * obj0 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17808 {
17809 PyThreadState* __tstate = wxPyBeginAllowThreads();
17810 result = (wxDC *)(arg1)->GetPrintDC();
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 {
17816 resultobj = wxPyMake_wxObject(result);
17817 }
17818 return resultobj;
17819 fail:
17820 return NULL;
17821 }
17822
17823
17824 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17825 PyObject *resultobj;
17826 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17827 int result;
17828 PyObject * obj0 = 0 ;
17829 char *kwnames[] = {
17830 (char *) "self", NULL
17831 };
17832
17833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 result = (int)(arg1)->ShowModal();
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 resultobj = PyInt_FromLong((long)result);
17843 return resultobj;
17844 fail:
17845 return NULL;
17846 }
17847
17848
17849 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17850 PyObject *obj;
17851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17852 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17853 Py_INCREF(obj);
17854 return Py_BuildValue((char *)"");
17855 }
17856 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17857 PyObject *resultobj;
17858 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17859 wxPrinter *result;
17860 PyObject * obj0 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "data", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17866 if (obj0) {
17867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17868 }
17869 {
17870 PyThreadState* __tstate = wxPyBeginAllowThreads();
17871 result = (wxPrinter *)new wxPrinter(arg1);
17872
17873 wxPyEndAllowThreads(__tstate);
17874 if (PyErr_Occurred()) SWIG_fail;
17875 }
17876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17877 return resultobj;
17878 fail:
17879 return NULL;
17880 }
17881
17882
17883 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17884 PyObject *resultobj;
17885 wxPrinter *arg1 = (wxPrinter *) 0 ;
17886 PyObject * obj0 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 delete arg1;
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 Py_INCREF(Py_None); resultobj = Py_None;
17901 return resultobj;
17902 fail:
17903 return NULL;
17904 }
17905
17906
17907 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17908 PyObject *resultobj;
17909 wxPrinter *arg1 = (wxPrinter *) 0 ;
17910 wxWindow *arg2 = (wxWindow *) 0 ;
17911 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17912 PyObject * obj0 = 0 ;
17913 PyObject * obj1 = 0 ;
17914 PyObject * obj2 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self",(char *) "parent",(char *) "printout", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17922 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 (arg1)->CreateAbortWindow(arg2,arg3);
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 Py_INCREF(Py_None); resultobj = Py_None;
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj;
17939 wxPrinter *arg1 = (wxPrinter *) 0 ;
17940 wxPrintDialogData *result;
17941 PyObject * obj0 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 {
17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
17950 {
17951 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17952 result = (wxPrintDialogData *) &_result_ref;
17953 }
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17959 return resultobj;
17960 fail:
17961 return NULL;
17962 }
17963
17964
17965 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxPrinter *arg1 = (wxPrinter *) 0 ;
17968 wxWindow *arg2 = (wxWindow *) 0 ;
17969 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17970 int arg4 = (int) True ;
17971 bool result;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 PyObject * obj2 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17982 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17986
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 resultobj = PyInt_FromLong((long)result);
17991 return resultobj;
17992 fail:
17993 return NULL;
17994 }
17995
17996
17997 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj;
17999 wxPrinter *arg1 = (wxPrinter *) 0 ;
18000 wxWindow *arg2 = (wxWindow *) 0 ;
18001 wxDC *result;
18002 PyObject * obj0 = 0 ;
18003 PyObject * obj1 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self",(char *) "parent", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 result = (wxDC *)(arg1)->PrintDialog(arg2);
18014
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 {
18019 resultobj = wxPyMake_wxObject(result);
18020 }
18021 return resultobj;
18022 fail:
18023 return NULL;
18024 }
18025
18026
18027 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18028 PyObject *resultobj;
18029 wxPrinter *arg1 = (wxPrinter *) 0 ;
18030 wxWindow *arg2 = (wxWindow *) 0 ;
18031 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18032 wxString *arg4 = 0 ;
18033 bool temp4 = False ;
18034 PyObject * obj0 = 0 ;
18035 PyObject * obj1 = 0 ;
18036 PyObject * obj2 = 0 ;
18037 PyObject * obj3 = 0 ;
18038 char *kwnames[] = {
18039 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18040 };
18041
18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18045 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18046 {
18047 arg4 = wxString_in_helper(obj3);
18048 if (arg4 == NULL) SWIG_fail;
18049 temp4 = True;
18050 }
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 Py_INCREF(Py_None); resultobj = Py_None;
18059 {
18060 if (temp4)
18061 delete arg4;
18062 }
18063 return resultobj;
18064 fail:
18065 {
18066 if (temp4)
18067 delete arg4;
18068 }
18069 return NULL;
18070 }
18071
18072
18073 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18074 PyObject *resultobj;
18075 wxPrinter *arg1 = (wxPrinter *) 0 ;
18076 wxWindow *arg2 = (wxWindow *) 0 ;
18077 bool result;
18078 PyObject * obj0 = 0 ;
18079 PyObject * obj1 = 0 ;
18080 char *kwnames[] = {
18081 (char *) "self",(char *) "parent", NULL
18082 };
18083
18084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (bool)(arg1)->Setup(arg2);
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = PyInt_FromLong((long)result);
18095 return resultobj;
18096 fail:
18097 return NULL;
18098 }
18099
18100
18101 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18102 PyObject *resultobj;
18103 wxPrinter *arg1 = (wxPrinter *) 0 ;
18104 bool result;
18105 PyObject * obj0 = 0 ;
18106 char *kwnames[] = {
18107 (char *) "self", NULL
18108 };
18109
18110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18112 {
18113 PyThreadState* __tstate = wxPyBeginAllowThreads();
18114 result = (bool)(arg1)->GetAbort();
18115
18116 wxPyEndAllowThreads(__tstate);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 resultobj = PyInt_FromLong((long)result);
18120 return resultobj;
18121 fail:
18122 return NULL;
18123 }
18124
18125
18126 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18127 PyObject *resultobj;
18128 int result;
18129 char *kwnames[] = {
18130 NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 result = (int)wxPrinter::GetLastError();
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 resultobj = PyInt_FromLong((long)result);
18142 return resultobj;
18143 fail:
18144 return NULL;
18145 }
18146
18147
18148 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18149 PyObject *obj;
18150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18151 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18152 Py_INCREF(obj);
18153 return Py_BuildValue((char *)"");
18154 }
18155 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18156 PyObject *resultobj;
18157 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18158 wxString *arg1 = (wxString *) &arg1_defvalue ;
18159 wxPyPrintout *result;
18160 bool temp1 = False ;
18161 PyObject * obj0 = 0 ;
18162 char *kwnames[] = {
18163 (char *) "title", NULL
18164 };
18165
18166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18167 if (obj0) {
18168 {
18169 arg1 = wxString_in_helper(obj0);
18170 if (arg1 == NULL) SWIG_fail;
18171 temp1 = True;
18172 }
18173 }
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 {
18182 resultobj = wxPyMake_wxObject(result);
18183 }
18184 {
18185 if (temp1)
18186 delete arg1;
18187 }
18188 return resultobj;
18189 fail:
18190 {
18191 if (temp1)
18192 delete arg1;
18193 }
18194 return NULL;
18195 }
18196
18197
18198 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18199 PyObject *resultobj;
18200 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18201 PyObject *arg2 = (PyObject *) 0 ;
18202 PyObject *arg3 = (PyObject *) 0 ;
18203 PyObject * obj0 = 0 ;
18204 PyObject * obj1 = 0 ;
18205 PyObject * obj2 = 0 ;
18206 char *kwnames[] = {
18207 (char *) "self",(char *) "self",(char *) "_class", NULL
18208 };
18209
18210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18212 arg2 = obj1;
18213 arg3 = obj2;
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 (arg1)->_setCallbackInfo(arg2,arg3);
18217
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 Py_INCREF(Py_None); resultobj = Py_None;
18222 return resultobj;
18223 fail:
18224 return NULL;
18225 }
18226
18227
18228 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18229 PyObject *resultobj;
18230 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18231 wxString result;
18232 PyObject * obj0 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "self", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18239 {
18240 PyThreadState* __tstate = wxPyBeginAllowThreads();
18241 result = ((wxPyPrintout const *)arg1)->GetTitle();
18242
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 {
18247 #if wxUSE_UNICODE
18248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18249 #else
18250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18251 #endif
18252 }
18253 return resultobj;
18254 fail:
18255 return NULL;
18256 }
18257
18258
18259 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18260 PyObject *resultobj;
18261 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18262 wxDC *result;
18263 PyObject * obj0 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "self", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 result = (wxDC *)(arg1)->GetDC();
18273
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 {
18278 resultobj = wxPyMake_wxObject(result);
18279 }
18280 return resultobj;
18281 fail:
18282 return NULL;
18283 }
18284
18285
18286 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18287 PyObject *resultobj;
18288 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18289 wxDC *arg2 = (wxDC *) 0 ;
18290 PyObject * obj0 = 0 ;
18291 PyObject * obj1 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self",(char *) "dc", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 (arg1)->SetDC(arg2);
18302
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
18306 Py_INCREF(Py_None); resultobj = Py_None;
18307 return resultobj;
18308 fail:
18309 return NULL;
18310 }
18311
18312
18313 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18314 PyObject *resultobj;
18315 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18316 int arg2 ;
18317 int arg3 ;
18318 PyObject * obj0 = 0 ;
18319 char *kwnames[] = {
18320 (char *) "self",(char *) "w",(char *) "h", NULL
18321 };
18322
18323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 (arg1)->SetPageSizePixels(arg2,arg3);
18328
18329 wxPyEndAllowThreads(__tstate);
18330 if (PyErr_Occurred()) SWIG_fail;
18331 }
18332 Py_INCREF(Py_None); resultobj = Py_None;
18333 return resultobj;
18334 fail:
18335 return NULL;
18336 }
18337
18338
18339 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18340 PyObject *resultobj;
18341 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18342 int *arg2 = (int *) 0 ;
18343 int *arg3 = (int *) 0 ;
18344 int temp2 ;
18345 int temp3 ;
18346 PyObject * obj0 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self", NULL
18349 };
18350
18351 arg2 = &temp2;
18352 arg3 = &temp3;
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) 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)->GetPageSizePixels(arg2,arg3);
18358
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 Py_INCREF(Py_None); resultobj = Py_None;
18363 {
18364 PyObject *o = PyInt_FromLong((long) (*arg2));
18365 resultobj = t_output_helper(resultobj,o);
18366 }
18367 {
18368 PyObject *o = PyInt_FromLong((long) (*arg3));
18369 resultobj = t_output_helper(resultobj,o);
18370 }
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj;
18379 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18380 int arg2 ;
18381 int arg3 ;
18382 PyObject * obj0 = 0 ;
18383 char *kwnames[] = {
18384 (char *) "self",(char *) "w",(char *) "h", NULL
18385 };
18386
18387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 (arg1)->SetPageSizeMM(arg2,arg3);
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 Py_INCREF(Py_None); resultobj = Py_None;
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18406 int *arg2 = (int *) 0 ;
18407 int *arg3 = (int *) 0 ;
18408 int temp2 ;
18409 int temp3 ;
18410 PyObject * obj0 = 0 ;
18411 char *kwnames[] = {
18412 (char *) "self", NULL
18413 };
18414
18415 arg2 = &temp2;
18416 arg3 = &temp3;
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 (arg1)->GetPageSizeMM(arg2,arg3);
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
18426 Py_INCREF(Py_None); resultobj = Py_None;
18427 {
18428 PyObject *o = PyInt_FromLong((long) (*arg2));
18429 resultobj = t_output_helper(resultobj,o);
18430 }
18431 {
18432 PyObject *o = PyInt_FromLong((long) (*arg3));
18433 resultobj = t_output_helper(resultobj,o);
18434 }
18435 return resultobj;
18436 fail:
18437 return NULL;
18438 }
18439
18440
18441 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18444 int arg2 ;
18445 int arg3 ;
18446 PyObject * obj0 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self",(char *) "x",(char *) "y", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 (arg1)->SetPPIScreen(arg2,arg3);
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 Py_INCREF(Py_None); resultobj = Py_None;
18461 return resultobj;
18462 fail:
18463 return NULL;
18464 }
18465
18466
18467 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj;
18469 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18470 int *arg2 = (int *) 0 ;
18471 int *arg3 = (int *) 0 ;
18472 int temp2 ;
18473 int temp3 ;
18474 PyObject * obj0 = 0 ;
18475 char *kwnames[] = {
18476 (char *) "self", NULL
18477 };
18478
18479 arg2 = &temp2;
18480 arg3 = &temp3;
18481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 (arg1)->GetPPIScreen(arg2,arg3);
18486
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 Py_INCREF(Py_None); resultobj = Py_None;
18491 {
18492 PyObject *o = PyInt_FromLong((long) (*arg2));
18493 resultobj = t_output_helper(resultobj,o);
18494 }
18495 {
18496 PyObject *o = PyInt_FromLong((long) (*arg3));
18497 resultobj = t_output_helper(resultobj,o);
18498 }
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj;
18507 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18508 int arg2 ;
18509 int arg3 ;
18510 PyObject * obj0 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "self",(char *) "x",(char *) "y", NULL
18513 };
18514
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18517 {
18518 PyThreadState* __tstate = wxPyBeginAllowThreads();
18519 (arg1)->SetPPIPrinter(arg2,arg3);
18520
18521 wxPyEndAllowThreads(__tstate);
18522 if (PyErr_Occurred()) SWIG_fail;
18523 }
18524 Py_INCREF(Py_None); resultobj = Py_None;
18525 return resultobj;
18526 fail:
18527 return NULL;
18528 }
18529
18530
18531 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj;
18533 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18534 int *arg2 = (int *) 0 ;
18535 int *arg3 = (int *) 0 ;
18536 int temp2 ;
18537 int temp3 ;
18538 PyObject * obj0 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self", NULL
18541 };
18542
18543 arg2 = &temp2;
18544 arg3 = &temp3;
18545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 (arg1)->GetPPIPrinter(arg2,arg3);
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 Py_INCREF(Py_None); resultobj = Py_None;
18555 {
18556 PyObject *o = PyInt_FromLong((long) (*arg2));
18557 resultobj = t_output_helper(resultobj,o);
18558 }
18559 {
18560 PyObject *o = PyInt_FromLong((long) (*arg3));
18561 resultobj = t_output_helper(resultobj,o);
18562 }
18563 return resultobj;
18564 fail:
18565 return NULL;
18566 }
18567
18568
18569 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18572 bool result;
18573 PyObject * obj0 = 0 ;
18574 char *kwnames[] = {
18575 (char *) "self", NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 result = (bool)(arg1)->IsPreview();
18583
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 resultobj = PyInt_FromLong((long)result);
18588 return resultobj;
18589 fail:
18590 return NULL;
18591 }
18592
18593
18594 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18595 PyObject *resultobj;
18596 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18597 bool arg2 ;
18598 PyObject * obj0 = 0 ;
18599 PyObject * obj1 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "self",(char *) "p", NULL
18602 };
18603
18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18606 arg2 = PyInt_AsLong(obj1) ? true : false;
18607 if (PyErr_Occurred()) SWIG_fail;
18608 {
18609 PyThreadState* __tstate = wxPyBeginAllowThreads();
18610 (arg1)->SetIsPreview(arg2);
18611
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 Py_INCREF(Py_None); resultobj = Py_None;
18616 return resultobj;
18617 fail:
18618 return NULL;
18619 }
18620
18621
18622 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18623 PyObject *resultobj;
18624 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18625 int arg2 ;
18626 int arg3 ;
18627 bool result;
18628 PyObject * obj0 = 0 ;
18629 char *kwnames[] = {
18630 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18631 };
18632
18633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18635 {
18636 PyThreadState* __tstate = wxPyBeginAllowThreads();
18637 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18638
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 resultobj = PyInt_FromLong((long)result);
18643 return resultobj;
18644 fail:
18645 return NULL;
18646 }
18647
18648
18649 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18650 PyObject *resultobj;
18651 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18652 PyObject * obj0 = 0 ;
18653 char *kwnames[] = {
18654 (char *) "self", NULL
18655 };
18656
18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 (arg1)->base_OnEndDocument();
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 Py_INCREF(Py_None); resultobj = Py_None;
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18676 PyObject * obj0 = 0 ;
18677 char *kwnames[] = {
18678 (char *) "self", NULL
18679 };
18680
18681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 (arg1)->base_OnBeginPrinting();
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 Py_INCREF(Py_None); resultobj = Py_None;
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj;
18699 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18700 PyObject * obj0 = 0 ;
18701 char *kwnames[] = {
18702 (char *) "self", NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 (arg1)->base_OnEndPrinting();
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 Py_INCREF(Py_None); resultobj = Py_None;
18715 return resultobj;
18716 fail:
18717 return NULL;
18718 }
18719
18720
18721 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18722 PyObject *resultobj;
18723 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 (arg1)->base_OnPreparePrinting();
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 Py_INCREF(Py_None); resultobj = Py_None;
18739 return resultobj;
18740 fail:
18741 return NULL;
18742 }
18743
18744
18745 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18746 PyObject *resultobj;
18747 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18748 int arg2 ;
18749 bool result;
18750 PyObject * obj0 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self",(char *) "page", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (bool)(arg1)->base_HasPage(arg2);
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 resultobj = PyInt_FromLong((long)result);
18765 return resultobj;
18766 fail:
18767 return NULL;
18768 }
18769
18770
18771 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18772 PyObject *resultobj;
18773 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18774 int *arg2 = (int *) 0 ;
18775 int *arg3 = (int *) 0 ;
18776 int *arg4 = (int *) 0 ;
18777 int *arg5 = (int *) 0 ;
18778 int temp2 ;
18779 int temp3 ;
18780 int temp4 ;
18781 int temp5 ;
18782 PyObject * obj0 = 0 ;
18783 char *kwnames[] = {
18784 (char *) "self", NULL
18785 };
18786
18787 arg2 = &temp2;
18788 arg3 = &temp3;
18789 arg4 = &temp4;
18790 arg5 = &temp5;
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 Py_INCREF(Py_None); resultobj = Py_None;
18801 {
18802 PyObject *o = PyInt_FromLong((long) (*arg2));
18803 resultobj = t_output_helper(resultobj,o);
18804 }
18805 {
18806 PyObject *o = PyInt_FromLong((long) (*arg3));
18807 resultobj = t_output_helper(resultobj,o);
18808 }
18809 {
18810 PyObject *o = PyInt_FromLong((long) (*arg4));
18811 resultobj = t_output_helper(resultobj,o);
18812 }
18813 {
18814 PyObject *o = PyInt_FromLong((long) (*arg5));
18815 resultobj = t_output_helper(resultobj,o);
18816 }
18817 return resultobj;
18818 fail:
18819 return NULL;
18820 }
18821
18822
18823 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18824 PyObject *obj;
18825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18826 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18827 Py_INCREF(obj);
18828 return Py_BuildValue((char *)"");
18829 }
18830 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18833 wxWindow *arg2 = (wxWindow *) 0 ;
18834 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18835 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18836 wxSize const &arg4_defvalue = wxDefaultSize ;
18837 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18838 long arg5 = (long) 0 ;
18839 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18840 wxString *arg6 = (wxString *) &arg6_defvalue ;
18841 wxPreviewCanvas *result;
18842 wxPoint temp3 ;
18843 wxSize temp4 ;
18844 bool temp6 = False ;
18845 PyObject * obj0 = 0 ;
18846 PyObject * obj1 = 0 ;
18847 PyObject * obj2 = 0 ;
18848 PyObject * obj3 = 0 ;
18849 PyObject * obj5 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18852 };
18853
18854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18857 if (obj2) {
18858 {
18859 arg3 = &temp3;
18860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18861 }
18862 }
18863 if (obj3) {
18864 {
18865 arg4 = &temp4;
18866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18867 }
18868 }
18869 if (obj5) {
18870 {
18871 arg6 = wxString_in_helper(obj5);
18872 if (arg6 == NULL) SWIG_fail;
18873 temp6 = True;
18874 }
18875 }
18876 {
18877 PyThreadState* __tstate = wxPyBeginAllowThreads();
18878 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18879
18880 wxPyEndAllowThreads(__tstate);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
18883 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18884 {
18885 if (temp6)
18886 delete arg6;
18887 }
18888 return resultobj;
18889 fail:
18890 {
18891 if (temp6)
18892 delete arg6;
18893 }
18894 return NULL;
18895 }
18896
18897
18898 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18899 PyObject *obj;
18900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18901 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18902 Py_INCREF(obj);
18903 return Py_BuildValue((char *)"");
18904 }
18905 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18908 wxFrame *arg2 = (wxFrame *) 0 ;
18909 wxString *arg3 = 0 ;
18910 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18911 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18912 wxSize const &arg5_defvalue = wxDefaultSize ;
18913 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18914 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18915 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18916 wxString *arg7 = (wxString *) &arg7_defvalue ;
18917 wxPreviewFrame *result;
18918 bool temp3 = False ;
18919 wxPoint temp4 ;
18920 wxSize temp5 ;
18921 bool temp7 = False ;
18922 PyObject * obj0 = 0 ;
18923 PyObject * obj1 = 0 ;
18924 PyObject * obj2 = 0 ;
18925 PyObject * obj3 = 0 ;
18926 PyObject * obj4 = 0 ;
18927 PyObject * obj6 = 0 ;
18928 char *kwnames[] = {
18929 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18930 };
18931
18932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18935 {
18936 arg3 = wxString_in_helper(obj2);
18937 if (arg3 == NULL) SWIG_fail;
18938 temp3 = True;
18939 }
18940 if (obj3) {
18941 {
18942 arg4 = &temp4;
18943 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18944 }
18945 }
18946 if (obj4) {
18947 {
18948 arg5 = &temp5;
18949 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18950 }
18951 }
18952 if (obj6) {
18953 {
18954 arg7 = wxString_in_helper(obj6);
18955 if (arg7 == NULL) SWIG_fail;
18956 temp7 = True;
18957 }
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18967 {
18968 if (temp3)
18969 delete arg3;
18970 }
18971 {
18972 if (temp7)
18973 delete arg7;
18974 }
18975 return resultobj;
18976 fail:
18977 {
18978 if (temp3)
18979 delete arg3;
18980 }
18981 {
18982 if (temp7)
18983 delete arg7;
18984 }
18985 return NULL;
18986 }
18987
18988
18989 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18990 PyObject *resultobj;
18991 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18992 PyObject * obj0 = 0 ;
18993 char *kwnames[] = {
18994 (char *) "self", NULL
18995 };
18996
18997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->Initialize();
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 Py_INCREF(Py_None); resultobj = Py_None;
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19016 PyObject * obj0 = 0 ;
19017 char *kwnames[] = {
19018 (char *) "self", NULL
19019 };
19020
19021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 (arg1)->CreateControlBar();
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 Py_INCREF(Py_None); resultobj = Py_None;
19031 return resultobj;
19032 fail:
19033 return NULL;
19034 }
19035
19036
19037 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj;
19039 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19040 PyObject * obj0 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 (arg1)->CreateCanvas();
19050
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 Py_INCREF(Py_None); resultobj = Py_None;
19055 return resultobj;
19056 fail:
19057 return NULL;
19058 }
19059
19060
19061 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19062 PyObject *resultobj;
19063 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19064 wxPreviewControlBar *result;
19065 PyObject * obj0 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19080 return resultobj;
19081 fail:
19082 return NULL;
19083 }
19084
19085
19086 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19087 PyObject *obj;
19088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19089 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19090 Py_INCREF(obj);
19091 return Py_BuildValue((char *)"");
19092 }
19093 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj;
19095 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19096 long arg2 ;
19097 wxWindow *arg3 = (wxWindow *) 0 ;
19098 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19099 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19100 wxSize const &arg5_defvalue = wxDefaultSize ;
19101 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19102 long arg6 = (long) wxTAB_TRAVERSAL ;
19103 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19104 wxString *arg7 = (wxString *) &arg7_defvalue ;
19105 wxPreviewControlBar *result;
19106 wxPoint temp4 ;
19107 wxSize temp5 ;
19108 bool temp7 = False ;
19109 PyObject * obj0 = 0 ;
19110 PyObject * obj2 = 0 ;
19111 PyObject * obj3 = 0 ;
19112 PyObject * obj4 = 0 ;
19113 PyObject * obj6 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19120 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19121 if (obj3) {
19122 {
19123 arg4 = &temp4;
19124 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19125 }
19126 }
19127 if (obj4) {
19128 {
19129 arg5 = &temp5;
19130 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19131 }
19132 }
19133 if (obj6) {
19134 {
19135 arg7 = wxString_in_helper(obj6);
19136 if (arg7 == NULL) SWIG_fail;
19137 temp7 = True;
19138 }
19139 }
19140 {
19141 PyThreadState* __tstate = wxPyBeginAllowThreads();
19142 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19143
19144 wxPyEndAllowThreads(__tstate);
19145 if (PyErr_Occurred()) SWIG_fail;
19146 }
19147 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19148 {
19149 if (temp7)
19150 delete arg7;
19151 }
19152 return resultobj;
19153 fail:
19154 {
19155 if (temp7)
19156 delete arg7;
19157 }
19158 return NULL;
19159 }
19160
19161
19162 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19165 int result;
19166 PyObject * obj0 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19173 {
19174 PyThreadState* __tstate = wxPyBeginAllowThreads();
19175 result = (int)(arg1)->GetZoomControl();
19176
19177 wxPyEndAllowThreads(__tstate);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 }
19180 resultobj = PyInt_FromLong((long)result);
19181 return resultobj;
19182 fail:
19183 return NULL;
19184 }
19185
19186
19187 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19188 PyObject *resultobj;
19189 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19190 int arg2 ;
19191 PyObject * obj0 = 0 ;
19192 char *kwnames[] = {
19193 (char *) "self",(char *) "zoom", NULL
19194 };
19195
19196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 (arg1)->SetZoomControl(arg2);
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 Py_INCREF(Py_None); resultobj = Py_None;
19206 return resultobj;
19207 fail:
19208 return NULL;
19209 }
19210
19211
19212 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19213 PyObject *resultobj;
19214 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19215 wxPrintPreview *result;
19216 PyObject * obj0 = 0 ;
19217 char *kwnames[] = {
19218 (char *) "self", NULL
19219 };
19220
19221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
19225 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19226
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj;
19239 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19240 PyObject * obj0 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 (arg1)->OnNext();
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 Py_INCREF(Py_None); resultobj = Py_None;
19255 return resultobj;
19256 fail:
19257 return NULL;
19258 }
19259
19260
19261 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19262 PyObject *resultobj;
19263 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19264 PyObject * obj0 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 (arg1)->OnPrevious();
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 Py_INCREF(Py_None); resultobj = Py_None;
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19288 PyObject * obj0 = 0 ;
19289 char *kwnames[] = {
19290 (char *) "self", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 (arg1)->OnFirst();
19298
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
19302 Py_INCREF(Py_None); resultobj = Py_None;
19303 return resultobj;
19304 fail:
19305 return NULL;
19306 }
19307
19308
19309 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19312 PyObject * obj0 = 0 ;
19313 char *kwnames[] = {
19314 (char *) "self", NULL
19315 };
19316
19317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 (arg1)->OnLast();
19322
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 Py_INCREF(Py_None); resultobj = Py_None;
19327 return resultobj;
19328 fail:
19329 return NULL;
19330 }
19331
19332
19333 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj;
19335 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19336 PyObject * obj0 = 0 ;
19337 char *kwnames[] = {
19338 (char *) "self", NULL
19339 };
19340
19341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 (arg1)->OnGoto();
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 Py_INCREF(Py_None); resultobj = Py_None;
19351 return resultobj;
19352 fail:
19353 return NULL;
19354 }
19355
19356
19357 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19358 PyObject *obj;
19359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19360 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19361 Py_INCREF(obj);
19362 return Py_BuildValue((char *)"");
19363 }
19364 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19365 PyObject *resultobj;
19366 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19367 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19368 wxPrintData *arg3 = (wxPrintData *) NULL ;
19369 wxPrintPreview *result;
19370 PyObject * obj0 = 0 ;
19371 PyObject * obj1 = 0 ;
19372 PyObject * obj2 = 0 ;
19373 char *kwnames[] = {
19374 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19375 };
19376
19377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19380 if (obj2) {
19381 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19382 }
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19391 return resultobj;
19392 fail:
19393 return NULL;
19394 }
19395
19396
19397 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj;
19399 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19400 int arg2 ;
19401 bool result;
19402 PyObject * obj0 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self",(char *) "pageNum", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (bool)(arg1)->SetCurrentPage(arg2);
19412
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
19416 resultobj = PyInt_FromLong((long)result);
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19426 int result;
19427 PyObject * obj0 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19434 {
19435 PyThreadState* __tstate = wxPyBeginAllowThreads();
19436 result = (int)(arg1)->GetCurrentPage();
19437
19438 wxPyEndAllowThreads(__tstate);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 resultobj = PyInt_FromLong((long)result);
19442 return resultobj;
19443 fail:
19444 return NULL;
19445 }
19446
19447
19448 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj;
19450 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19451 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19452 PyObject * obj0 = 0 ;
19453 PyObject * obj1 = 0 ;
19454 char *kwnames[] = {
19455 (char *) "self",(char *) "printout", NULL
19456 };
19457
19458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 (arg1)->SetPrintout(arg2);
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 Py_INCREF(Py_None); resultobj = Py_None;
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19478 wxPyPrintout *result;
19479 PyObject * obj0 = 0 ;
19480 char *kwnames[] = {
19481 (char *) "self", NULL
19482 };
19483
19484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 result = (wxPyPrintout *)(arg1)->GetPrintout();
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 {
19494 resultobj = wxPyMake_wxObject(result);
19495 }
19496 return resultobj;
19497 fail:
19498 return NULL;
19499 }
19500
19501
19502 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19503 PyObject *resultobj;
19504 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19505 wxPyPrintout *result;
19506 PyObject * obj0 = 0 ;
19507 char *kwnames[] = {
19508 (char *) "self", NULL
19509 };
19510
19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 {
19521 resultobj = wxPyMake_wxObject(result);
19522 }
19523 return resultobj;
19524 fail:
19525 return NULL;
19526 }
19527
19528
19529 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19530 PyObject *resultobj;
19531 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19532 wxFrame *arg2 = (wxFrame *) 0 ;
19533 PyObject * obj0 = 0 ;
19534 PyObject * obj1 = 0 ;
19535 char *kwnames[] = {
19536 (char *) "self",(char *) "frame", NULL
19537 };
19538
19539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 (arg1)->SetFrame(arg2);
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 Py_INCREF(Py_None); resultobj = Py_None;
19550 return resultobj;
19551 fail:
19552 return NULL;
19553 }
19554
19555
19556 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19559 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self",(char *) "canvas", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19569 {
19570 PyThreadState* __tstate = wxPyBeginAllowThreads();
19571 (arg1)->SetCanvas(arg2);
19572
19573 wxPyEndAllowThreads(__tstate);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 Py_INCREF(Py_None); resultobj = Py_None;
19577 return resultobj;
19578 fail:
19579 return NULL;
19580 }
19581
19582
19583 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19584 PyObject *resultobj;
19585 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19586 wxFrame *result;
19587 PyObject * obj0 = 0 ;
19588 char *kwnames[] = {
19589 (char *) "self", NULL
19590 };
19591
19592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19594 {
19595 PyThreadState* __tstate = wxPyBeginAllowThreads();
19596 result = (wxFrame *)(arg1)->GetFrame();
19597
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 {
19602 resultobj = wxPyMake_wxObject(result);
19603 }
19604 return resultobj;
19605 fail:
19606 return NULL;
19607 }
19608
19609
19610 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19611 PyObject *resultobj;
19612 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19613 wxPreviewCanvas *result;
19614 PyObject * obj0 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "self", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19624
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19629 return resultobj;
19630 fail:
19631 return NULL;
19632 }
19633
19634
19635 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19636 PyObject *resultobj;
19637 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19638 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19639 wxDC *arg3 = 0 ;
19640 bool result;
19641 PyObject * obj0 = 0 ;
19642 PyObject * obj1 = 0 ;
19643 PyObject * obj2 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19651 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19652 if (arg3 == NULL) {
19653 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19654 }
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 resultobj = PyInt_FromLong((long)result);
19663 return resultobj;
19664 fail:
19665 return NULL;
19666 }
19667
19668
19669 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19670 PyObject *resultobj;
19671 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19672 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19673 wxDC *arg3 = 0 ;
19674 bool result;
19675 PyObject * obj0 = 0 ;
19676 PyObject * obj1 = 0 ;
19677 PyObject * obj2 = 0 ;
19678 char *kwnames[] = {
19679 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19680 };
19681
19682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19685 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19686 if (arg3 == NULL) {
19687 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19688 }
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 resultobj = PyInt_FromLong((long)result);
19697 return resultobj;
19698 fail:
19699 return NULL;
19700 }
19701
19702
19703 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19704 PyObject *resultobj;
19705 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19706 int arg2 ;
19707 bool result;
19708 PyObject * obj0 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self",(char *) "pageNum", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 result = (bool)(arg1)->RenderPage(arg2);
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 resultobj = PyInt_FromLong((long)result);
19723 return resultobj;
19724 fail:
19725 return NULL;
19726 }
19727
19728
19729 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19732 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19733 PyObject * obj0 = 0 ;
19734 PyObject * obj1 = 0 ;
19735 char *kwnames[] = {
19736 (char *) "self",(char *) "canvas", NULL
19737 };
19738
19739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19742 {
19743 PyThreadState* __tstate = wxPyBeginAllowThreads();
19744 (arg1)->AdjustScrollbars(arg2);
19745
19746 wxPyEndAllowThreads(__tstate);
19747 if (PyErr_Occurred()) SWIG_fail;
19748 }
19749 Py_INCREF(Py_None); resultobj = Py_None;
19750 return resultobj;
19751 fail:
19752 return NULL;
19753 }
19754
19755
19756 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19757 PyObject *resultobj;
19758 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19759 wxPrintDialogData *result;
19760 PyObject * obj0 = 0 ;
19761 char *kwnames[] = {
19762 (char *) "self", NULL
19763 };
19764
19765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 {
19770 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19771 result = (wxPrintDialogData *) &_result_ref;
19772 }
19773
19774 wxPyEndAllowThreads(__tstate);
19775 if (PyErr_Occurred()) SWIG_fail;
19776 }
19777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19778 return resultobj;
19779 fail:
19780 return NULL;
19781 }
19782
19783
19784 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19785 PyObject *resultobj;
19786 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19787 int arg2 ;
19788 PyObject * obj0 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self",(char *) "percent", NULL
19791 };
19792
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 (arg1)->SetZoom(arg2);
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 Py_INCREF(Py_None); resultobj = Py_None;
19803 return resultobj;
19804 fail:
19805 return NULL;
19806 }
19807
19808
19809 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19810 PyObject *resultobj;
19811 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19812 int result;
19813 PyObject * obj0 = 0 ;
19814 char *kwnames[] = {
19815 (char *) "self", NULL
19816 };
19817
19818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (int)(arg1)->GetZoom();
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 resultobj = PyInt_FromLong((long)result);
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19837 int result;
19838 PyObject * obj0 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 result = (int)(arg1)->GetMaxPage();
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 resultobj = PyInt_FromLong((long)result);
19853 return resultobj;
19854 fail:
19855 return NULL;
19856 }
19857
19858
19859 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19860 PyObject *resultobj;
19861 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19862 int result;
19863 PyObject * obj0 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 result = (int)(arg1)->GetMinPage();
19873
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 resultobj = PyInt_FromLong((long)result);
19878 return resultobj;
19879 fail:
19880 return NULL;
19881 }
19882
19883
19884 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19887 bool result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (bool)(arg1)->Ok();
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 resultobj = PyInt_FromLong((long)result);
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj;
19911 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19912 bool arg2 ;
19913 PyObject * obj0 = 0 ;
19914 PyObject * obj1 = 0 ;
19915 char *kwnames[] = {
19916 (char *) "self",(char *) "ok", NULL
19917 };
19918
19919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19921 arg2 = PyInt_AsLong(obj1) ? true : false;
19922 if (PyErr_Occurred()) SWIG_fail;
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 (arg1)->SetOk(arg2);
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 Py_INCREF(Py_None); resultobj = Py_None;
19931 return resultobj;
19932 fail:
19933 return NULL;
19934 }
19935
19936
19937 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19940 bool arg2 ;
19941 bool result;
19942 PyObject * obj0 = 0 ;
19943 PyObject * obj1 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self",(char *) "interactive", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19950 arg2 = PyInt_AsLong(obj1) ? true : false;
19951 if (PyErr_Occurred()) SWIG_fail;
19952 {
19953 PyThreadState* __tstate = wxPyBeginAllowThreads();
19954 result = (bool)(arg1)->Print(arg2);
19955
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 resultobj = PyInt_FromLong((long)result);
19960 return resultobj;
19961 fail:
19962 return NULL;
19963 }
19964
19965
19966 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19967 PyObject *resultobj;
19968 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19969 PyObject * obj0 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->DetermineScaling();
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19991 PyObject *obj;
19992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19993 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19994 Py_INCREF(obj);
19995 return Py_BuildValue((char *)"");
19996 }
19997 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20000 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20001 wxPrintData *arg3 = (wxPrintData *) NULL ;
20002 wxPyPrintPreview *result;
20003 PyObject * obj0 = 0 ;
20004 PyObject * obj1 = 0 ;
20005 PyObject * obj2 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20013 if (obj2) {
20014 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 }
20016 {
20017 PyThreadState* __tstate = wxPyBeginAllowThreads();
20018 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20019
20020 wxPyEndAllowThreads(__tstate);
20021 if (PyErr_Occurred()) SWIG_fail;
20022 }
20023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20024 return resultobj;
20025 fail:
20026 return NULL;
20027 }
20028
20029
20030 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20031 PyObject *resultobj;
20032 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20033 PyObject *arg2 = (PyObject *) 0 ;
20034 PyObject *arg3 = (PyObject *) 0 ;
20035 PyObject * obj0 = 0 ;
20036 PyObject * obj1 = 0 ;
20037 PyObject * obj2 = 0 ;
20038 char *kwnames[] = {
20039 (char *) "self",(char *) "self",(char *) "_class", NULL
20040 };
20041
20042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20044 arg2 = obj1;
20045 arg3 = obj2;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 (arg1)->_setCallbackInfo(arg2,arg3);
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 Py_INCREF(Py_None); resultobj = Py_None;
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj;
20062 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20063 int arg2 ;
20064 bool result;
20065 PyObject * obj0 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "self",(char *) "pageNum", NULL
20068 };
20069
20070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 resultobj = PyInt_FromLong((long)result);
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20089 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20090 wxDC *arg3 = 0 ;
20091 bool result;
20092 PyObject * obj0 = 0 ;
20093 PyObject * obj1 = 0 ;
20094 PyObject * obj2 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20102 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20103 if (arg3 == NULL) {
20104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20105 }
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 resultobj = PyInt_FromLong((long)result);
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20123 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20124 wxDC *arg3 = 0 ;
20125 bool result;
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
20128 PyObject * obj2 = 0 ;
20129 char *kwnames[] = {
20130 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20131 };
20132
20133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20136 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20137 if (arg3 == NULL) {
20138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20139 }
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20143
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 resultobj = PyInt_FromLong((long)result);
20148 return resultobj;
20149 fail:
20150 return NULL;
20151 }
20152
20153
20154 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20155 PyObject *resultobj;
20156 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20157 int arg2 ;
20158 bool result;
20159 PyObject * obj0 = 0 ;
20160 char *kwnames[] = {
20161 (char *) "self",(char *) "pageNum", NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 result = (bool)(arg1)->base_RenderPage(arg2);
20169
20170 wxPyEndAllowThreads(__tstate);
20171 if (PyErr_Occurred()) SWIG_fail;
20172 }
20173 resultobj = PyInt_FromLong((long)result);
20174 return resultobj;
20175 fail:
20176 return NULL;
20177 }
20178
20179
20180 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20181 PyObject *resultobj;
20182 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20183 int arg2 ;
20184 PyObject * obj0 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self",(char *) "percent", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 (arg1)->base_SetZoom(arg2);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 Py_INCREF(Py_None); resultobj = Py_None;
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20208 bool arg2 ;
20209 bool result;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "interactive", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20218 arg2 = PyInt_AsLong(obj1) ? true : false;
20219 if (PyErr_Occurred()) SWIG_fail;
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (bool)(arg1)->base_Print(arg2);
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 resultobj = PyInt_FromLong((long)result);
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20237 PyObject * obj0 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 (arg1)->base_DetermineScaling();
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 Py_INCREF(Py_None); resultobj = Py_None;
20252 return resultobj;
20253 fail:
20254 return NULL;
20255 }
20256
20257
20258 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20259 PyObject *obj;
20260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20261 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20262 Py_INCREF(obj);
20263 return Py_BuildValue((char *)"");
20264 }
20265 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20268 wxFrame *arg2 = (wxFrame *) 0 ;
20269 wxString *arg3 = 0 ;
20270 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20271 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20272 wxSize const &arg5_defvalue = wxDefaultSize ;
20273 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20274 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20275 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20276 wxString *arg7 = (wxString *) &arg7_defvalue ;
20277 wxPyPreviewFrame *result;
20278 bool temp3 = False ;
20279 wxPoint temp4 ;
20280 wxSize temp5 ;
20281 bool temp7 = False ;
20282 PyObject * obj0 = 0 ;
20283 PyObject * obj1 = 0 ;
20284 PyObject * obj2 = 0 ;
20285 PyObject * obj3 = 0 ;
20286 PyObject * obj4 = 0 ;
20287 PyObject * obj6 = 0 ;
20288 char *kwnames[] = {
20289 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20290 };
20291
20292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20295 {
20296 arg3 = wxString_in_helper(obj2);
20297 if (arg3 == NULL) SWIG_fail;
20298 temp3 = True;
20299 }
20300 if (obj3) {
20301 {
20302 arg4 = &temp4;
20303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20304 }
20305 }
20306 if (obj4) {
20307 {
20308 arg5 = &temp5;
20309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20310 }
20311 }
20312 if (obj6) {
20313 {
20314 arg7 = wxString_in_helper(obj6);
20315 if (arg7 == NULL) SWIG_fail;
20316 temp7 = True;
20317 }
20318 }
20319 {
20320 PyThreadState* __tstate = wxPyBeginAllowThreads();
20321 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20322
20323 wxPyEndAllowThreads(__tstate);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 }
20326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20327 {
20328 if (temp3)
20329 delete arg3;
20330 }
20331 {
20332 if (temp7)
20333 delete arg7;
20334 }
20335 return resultobj;
20336 fail:
20337 {
20338 if (temp3)
20339 delete arg3;
20340 }
20341 {
20342 if (temp7)
20343 delete arg7;
20344 }
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20352 PyObject *arg2 = (PyObject *) 0 ;
20353 PyObject *arg3 = (PyObject *) 0 ;
20354 PyObject * obj0 = 0 ;
20355 PyObject * obj1 = 0 ;
20356 PyObject * obj2 = 0 ;
20357 char *kwnames[] = {
20358 (char *) "self",(char *) "self",(char *) "_class", NULL
20359 };
20360
20361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20363 arg2 = obj1;
20364 arg3 = obj2;
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 (arg1)->_setCallbackInfo(arg2,arg3);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 Py_INCREF(Py_None); resultobj = Py_None;
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20382 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20383 PyObject * obj0 = 0 ;
20384 PyObject * obj1 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self",(char *) "canvas", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 (arg1)->SetPreviewCanvas(arg2);
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 Py_INCREF(Py_None); resultobj = Py_None;
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20409 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self",(char *) "bar", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 (arg1)->SetControlBar(arg2);
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 Py_INCREF(Py_None); resultobj = Py_None;
20427 return resultobj;
20428 fail:
20429 return NULL;
20430 }
20431
20432
20433 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20434 PyObject *resultobj;
20435 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20436 PyObject * obj0 = 0 ;
20437 char *kwnames[] = {
20438 (char *) "self", NULL
20439 };
20440
20441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 (arg1)->base_Initialize();
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 Py_INCREF(Py_None); resultobj = Py_None;
20451 return resultobj;
20452 fail:
20453 return NULL;
20454 }
20455
20456
20457 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20458 PyObject *resultobj;
20459 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20460 PyObject * obj0 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
20469 (arg1)->base_CreateCanvas();
20470
20471 wxPyEndAllowThreads(__tstate);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 Py_INCREF(Py_None); resultobj = Py_None;
20475 return resultobj;
20476 fail:
20477 return NULL;
20478 }
20479
20480
20481 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20482 PyObject *resultobj;
20483 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20484 PyObject * obj0 = 0 ;
20485 char *kwnames[] = {
20486 (char *) "self", NULL
20487 };
20488
20489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 (arg1)->base_CreateControlBar();
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 Py_INCREF(Py_None); resultobj = Py_None;
20499 return resultobj;
20500 fail:
20501 return NULL;
20502 }
20503
20504
20505 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20506 PyObject *obj;
20507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20508 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20509 Py_INCREF(obj);
20510 return Py_BuildValue((char *)"");
20511 }
20512 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20513 PyObject *resultobj;
20514 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20515 long arg2 ;
20516 wxWindow *arg3 = (wxWindow *) 0 ;
20517 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20518 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20519 wxSize const &arg5_defvalue = wxDefaultSize ;
20520 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20521 long arg6 = (long) 0 ;
20522 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20523 wxString *arg7 = (wxString *) &arg7_defvalue ;
20524 wxPyPreviewControlBar *result;
20525 wxPoint temp4 ;
20526 wxSize temp5 ;
20527 bool temp7 = False ;
20528 PyObject * obj0 = 0 ;
20529 PyObject * obj2 = 0 ;
20530 PyObject * obj3 = 0 ;
20531 PyObject * obj4 = 0 ;
20532 PyObject * obj6 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20539 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20540 if (obj3) {
20541 {
20542 arg4 = &temp4;
20543 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20544 }
20545 }
20546 if (obj4) {
20547 {
20548 arg5 = &temp5;
20549 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20550 }
20551 }
20552 if (obj6) {
20553 {
20554 arg7 = wxString_in_helper(obj6);
20555 if (arg7 == NULL) SWIG_fail;
20556 temp7 = True;
20557 }
20558 }
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20567 {
20568 if (temp7)
20569 delete arg7;
20570 }
20571 return resultobj;
20572 fail:
20573 {
20574 if (temp7)
20575 delete arg7;
20576 }
20577 return NULL;
20578 }
20579
20580
20581 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20582 PyObject *resultobj;
20583 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20584 PyObject *arg2 = (PyObject *) 0 ;
20585 PyObject *arg3 = (PyObject *) 0 ;
20586 PyObject * obj0 = 0 ;
20587 PyObject * obj1 = 0 ;
20588 PyObject * obj2 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self",(char *) "self",(char *) "_class", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20595 arg2 = obj1;
20596 arg3 = obj2;
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 (arg1)->_setCallbackInfo(arg2,arg3);
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 Py_INCREF(Py_None); resultobj = Py_None;
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20614 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20615 PyObject * obj0 = 0 ;
20616 PyObject * obj1 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self",(char *) "preview", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 (arg1)->SetPrintPreview(arg2);
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 Py_INCREF(Py_None); resultobj = Py_None;
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20641 PyObject * obj0 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 (arg1)->base_CreateButtons();
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 Py_INCREF(Py_None); resultobj = Py_None;
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20665 int arg2 ;
20666 PyObject * obj0 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self",(char *) "zoom", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->base_SetZoomControl(arg2);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20688 PyObject *obj;
20689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20690 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20691 Py_INCREF(obj);
20692 return Py_BuildValue((char *)"");
20693 }
20694 static PyMethodDef SwigMethods[] = {
20695 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20697 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20699 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20700 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20701 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20703 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20704 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20705 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20707 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20708 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20709 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20711 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20713 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20714 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20715 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20716 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20720 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20723 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20724 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
20728 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
20732 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
20735 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
20736 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20743 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20745 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20751 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20761 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20762 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20774 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20787 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20791 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20793 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20795 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20800 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20815 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20841 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20848 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20871 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20879 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20885 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20891 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20897 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20906 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20912 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20915 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20918 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20922 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20940 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20966 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20973 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20976 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20978 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20987 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20991 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20999 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21017 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21021 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21027 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21032 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21048 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21052 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21055 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21059 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21068 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21077 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21083 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21095 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21102 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21106 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21127 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21148 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21192 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21224 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21228 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21262 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21267 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21278 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21301 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21303 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21309 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21319 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21343 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21353 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21361 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21367 { NULL, NULL }
21368 };
21369
21370
21371 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21372
21373 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21374 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21375 }
21376 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21377 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21378 }
21379 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21380 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21381 }
21382 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21383 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21384 }
21385 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21386 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21387 }
21388 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21389 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21390 }
21391 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21392 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21393 }
21394 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21395 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21396 }
21397 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21398 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21399 }
21400 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21401 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21402 }
21403 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21404 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21405 }
21406 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21407 return (void *)((wxEvent *) ((wxPyEvent *) x));
21408 }
21409 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21410 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21411 }
21412 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21413 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21414 }
21415 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21416 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21417 }
21418 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21419 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21420 }
21421 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21422 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21423 }
21424 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21425 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21426 }
21427 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21428 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21429 }
21430 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21431 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21432 }
21433 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21434 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21435 }
21436 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21437 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21438 }
21439 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21440 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21441 }
21442 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21443 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21444 }
21445 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21446 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21447 }
21448 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21449 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21450 }
21451 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21452 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21453 }
21454 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21455 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21456 }
21457 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21458 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21459 }
21460 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21461 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21462 }
21463 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21464 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21465 }
21466 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21467 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21468 }
21469 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21470 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21471 }
21472 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21473 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21474 }
21475 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21476 return (void *)((wxEvent *) ((wxShowEvent *) x));
21477 }
21478 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21479 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21480 }
21481 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21482 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21483 }
21484 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21485 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21486 }
21487 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21488 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21489 }
21490 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21491 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21492 }
21493 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21494 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21495 }
21496 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21497 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21498 }
21499 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21500 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21501 }
21502 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21503 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21504 }
21505 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21506 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21507 }
21508 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21509 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21510 }
21511 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21512 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21513 }
21514 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21515 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21516 }
21517 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21518 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21519 }
21520 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21521 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21522 }
21523 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21524 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21525 }
21526 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21527 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21528 }
21529 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21530 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21531 }
21532 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21533 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21534 }
21535 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21536 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21537 }
21538 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21539 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21540 }
21541 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21542 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21543 }
21544 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21545 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21546 }
21547 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21548 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21549 }
21550 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21551 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21552 }
21553 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21554 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21555 }
21556 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21557 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21558 }
21559 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21560 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21561 }
21562 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21563 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21564 }
21565 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21566 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21567 }
21568 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21569 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21570 }
21571 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21572 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21573 }
21574 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21575 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21576 }
21577 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21578 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21579 }
21580 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21581 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21582 }
21583 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21584 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21585 }
21586 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21587 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21588 }
21589 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21590 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21591 }
21592 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21593 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21594 }
21595 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21596 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21597 }
21598 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21599 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21600 }
21601 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21602 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21603 }
21604 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21605 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21606 }
21607 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21608 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21609 }
21610 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21611 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21612 }
21613 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21614 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21615 }
21616 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21617 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21618 }
21619 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21620 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21621 }
21622 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21623 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21624 }
21625 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21626 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21627 }
21628 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21630 }
21631 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21632 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21633 }
21634 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21635 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21636 }
21637 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21638 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21639 }
21640 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21641 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21642 }
21643 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21644 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21645 }
21646 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21647 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21648 }
21649 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21650 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21651 }
21652 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21653 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21654 }
21655 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21656 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21657 }
21658 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
21659 return (void *)((wxFrame *) ((wxTipWindow *) x));
21660 }
21661 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21662 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21663 }
21664 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21665 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21666 }
21667 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21668 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21669 }
21670 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21671 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21672 }
21673 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21674 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21675 }
21676 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21677 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21678 }
21679 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21680 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21681 }
21682 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21684 }
21685 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21687 }
21688 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21689 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21690 }
21691 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21692 return (void *)((wxObject *) ((wxSizerItem *) x));
21693 }
21694 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21695 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21696 }
21697 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21698 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21699 }
21700 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21701 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21702 }
21703 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21704 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21705 }
21706 static void *_p_wxSizerTo_p_wxObject(void *x) {
21707 return (void *)((wxObject *) ((wxSizer *) x));
21708 }
21709 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21710 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21711 }
21712 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21713 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21714 }
21715 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21717 }
21718 static void *_p_wxEventTo_p_wxObject(void *x) {
21719 return (void *)((wxObject *) ((wxEvent *) x));
21720 }
21721 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21722 return (void *)((wxObject *) ((wxFontData *) x));
21723 }
21724 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21725 return (void *)((wxObject *) ((wxPrintData *) x));
21726 }
21727 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21728 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21729 }
21730 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21731 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21732 }
21733 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21734 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21735 }
21736 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21737 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21738 }
21739 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21740 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21741 }
21742 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21744 }
21745 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21746 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21747 }
21748 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21749 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21750 }
21751 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21752 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21753 }
21754 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21755 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21756 }
21757 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21758 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21759 }
21760 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21761 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21762 }
21763 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21765 }
21766 static void *_p_wxControlTo_p_wxObject(void *x) {
21767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21768 }
21769 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21770 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21771 }
21772 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21773 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21774 }
21775 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21776 return (void *)((wxObject *) ((wxFSFile *) x));
21777 }
21778 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21779 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21780 }
21781 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21782 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21783 }
21784 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21786 }
21787 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21788 return (void *)((wxObject *) ((wxColourData *) x));
21789 }
21790 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21791 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21792 }
21793 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21795 }
21796 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21798 }
21799 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21801 }
21802 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21804 }
21805 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21807 }
21808 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21810 }
21811 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21813 }
21814 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21816 }
21817 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21819 }
21820 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21822 }
21823 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21824 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21825 }
21826 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21827 return (void *)((wxObject *) ((wxPrinter *) x));
21828 }
21829 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21830 return (void *)((wxObject *) ((wxMenuItem *) x));
21831 }
21832 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21833 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21834 }
21835 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21837 }
21838 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21839 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21840 }
21841 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21842 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21843 }
21844 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21845 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21846 }
21847 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21848 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21849 }
21850 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21851 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21852 }
21853 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21854 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21855 }
21856 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21857 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21858 }
21859 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21860 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21861 }
21862 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21863 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21864 }
21865 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21866 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21867 }
21868 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21869 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21870 }
21871 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21872 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21873 }
21874 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21875 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21876 }
21877 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21878 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21879 }
21880 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21881 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21882 }
21883 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21884 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21885 }
21886 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21887 return (void *)((wxObject *) ((wxImageHandler *) x));
21888 }
21889 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21890 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21891 }
21892 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21893 return (void *)((wxObject *) ((wxEvtHandler *) x));
21894 }
21895 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21896 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21897 }
21898 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21900 }
21901 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21903 }
21904 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21905 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21906 }
21907 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21909 }
21910 static void *_p_wxImageTo_p_wxObject(void *x) {
21911 return (void *)((wxObject *) ((wxImage *) x));
21912 }
21913 static void *_p_wxFrameTo_p_wxObject(void *x) {
21914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21915 }
21916 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21917 return (void *)((wxObject *) ((wxPyPrintout *) x));
21918 }
21919 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21920 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21921 }
21922 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21923 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21924 }
21925 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21927 }
21928 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21930 }
21931 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21933 }
21934 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21935 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21936 }
21937 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21938 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21939 }
21940 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21942 }
21943 static void *_p_wxWindowTo_p_wxObject(void *x) {
21944 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21945 }
21946 static void *_p_wxMenuTo_p_wxObject(void *x) {
21947 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21948 }
21949 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21951 }
21952 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21954 }
21955 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21957 }
21958 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21960 }
21961 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21963 }
21964 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21966 }
21967 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21969 }
21970 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21972 }
21973 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21975 }
21976 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21978 }
21979 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21981 }
21982 static void *_p_wxSashEventTo_p_wxObject(void *x) {
21983 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21984 }
21985 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21986 return (void *)((wxObject *) ((wxPrintPreview *) x));
21987 }
21988 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21989 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21990 }
21991 static void *_p_wxPanelTo_p_wxObject(void *x) {
21992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21993 }
21994 static void *_p_wxDialogTo_p_wxObject(void *x) {
21995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21996 }
21997 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21999 }
22000 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22002 }
22003 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22005 }
22006 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22008 }
22009 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22011 }
22012 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22013 return (void *)((wxObject *) ((wxFileSystem *) x));
22014 }
22015 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22016 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22017 }
22018 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22019 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22020 }
22021 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22022 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22023 }
22024 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22025 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22026 }
22027 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22028 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22029 }
22030 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22031 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22032 }
22033 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22035 }
22036 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22037 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22038 }
22039 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22041 }
22042 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22044 }
22045 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22046 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22047 }
22048 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22049 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22050 }
22051 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22052 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22053 }
22054 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22056 }
22057 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22058 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22059 }
22060 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22061 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22062 }
22063 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22064 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22065 }
22066 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22067 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22068 }
22069 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22070 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22071 }
22072 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22073 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22074 }
22075 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22076 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22077 }
22078 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22079 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22080 }
22081 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22082 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22083 }
22084 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22085 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22086 }
22087 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22088 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22089 }
22090 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22091 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22092 }
22093 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22094 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22095 }
22096 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22097 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22098 }
22099 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22100 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22101 }
22102 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22103 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22104 }
22105 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22106 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22107 }
22108 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
22109 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
22110 }
22111 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22112 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22113 }
22114 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22115 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22116 }
22117 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22118 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22119 }
22120 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22121 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22122 }
22123 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22124 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22125 }
22126 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22127 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22128 }
22129 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22130 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22131 }
22132 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22133 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22134 }
22135 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22136 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22137 }
22138 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22139 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22140 }
22141 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22142 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22143 }
22144 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22145 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22146 }
22147 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22148 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22149 }
22150 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22151 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22152 }
22153 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22154 return (void *)((wxWindow *) ((wxMenuBar *) x));
22155 }
22156 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22157 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22158 }
22159 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22160 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22161 }
22162 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22163 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22164 }
22165 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22166 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22167 }
22168 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22169 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22170 }
22171 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22172 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22173 }
22174 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22175 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22176 }
22177 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22178 return (void *)((wxWindow *) ((wxPanel *) x));
22179 }
22180 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22181 return (void *)((wxWindow *) ((wxStatusBar *) x));
22182 }
22183 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22184 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22185 }
22186 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22187 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22188 }
22189 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22190 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
22191 }
22192 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22193 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22194 }
22195 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22196 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22197 }
22198 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22199 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22200 }
22201 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22202 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22203 }
22204 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22205 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22206 }
22207 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22208 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22209 }
22210 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22211 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22212 }
22213 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22214 return (void *)((wxWindow *) ((wxSashWindow *) x));
22215 }
22216 static void *_p_wxControlTo_p_wxWindow(void *x) {
22217 return (void *)((wxWindow *) ((wxControl *) x));
22218 }
22219 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22220 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22221 }
22222 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22223 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22224 }
22225 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22226 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22227 }
22228 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22229 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22230 }
22231 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22232 return (void *)((wxWindow *) ((wxPyWindow *) x));
22233 }
22234 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22235 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22236 }
22237 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22238 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22239 }
22240 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22241 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22242 }
22243 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22244 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22245 }
22246 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22247 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22248 }
22249 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22250 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22251 }
22252 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22254 }
22255 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22257 }
22258 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22259 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22260 }
22261 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22262 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22263 }
22264 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22265 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22266 }
22267 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22268 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22269 }
22270 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22271 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22272 }
22273 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22274 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22275 }
22276 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22277 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22278 }
22279 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22280 return (void *)((wxDialog *) ((wxColourDialog *) x));
22281 }
22282 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22283 return (void *)((wxDialog *) ((wxDirDialog *) x));
22284 }
22285 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22286 return (void *)((wxDialog *) ((wxFontDialog *) x));
22287 }
22288 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22289 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22290 }
22291 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22292 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22293 }
22294 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22295 return (void *)((wxDialog *) ((wxFileDialog *) x));
22296 }
22297 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22298 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22299 }
22300 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22301 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22302 }
22303 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22304 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22305 }
22306 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22307 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22308 }
22309 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22310 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22311 }
22312 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22313 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22314 }
22315 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22316 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22317 }
22318 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22319 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22320 }
22321 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22322 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22323 }
22324 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22325 return (void *)((wxPanel *) ((wxPyPanel *) x));
22326 }
22327 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22328 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22329 }
22330 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22331 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22332 }
22333 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22334 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22335 }
22336 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22337 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22338 }
22339 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22340 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22341 }
22342 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22343 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22344 }
22345 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22346 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22347 }
22348 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22349 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22350 }
22351 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22352 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22353 }
22354 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22355 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22356 }
22357 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22358 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22359 }
22360 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22361 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22362 }
22363 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22364 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22365 }
22366 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22367 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22368 }
22369 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22370 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22371 }
22372 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22373 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22374 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22375 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22376 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22377 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22378 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22379 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22380 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}};
22381 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22382 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22383 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22384 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22385 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22386 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22387 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22388 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22389 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22390 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22391 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22392 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22393 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22394 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22395 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22396 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22397 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22398 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22399 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22400 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22401 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22402 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22403 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22404 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22405 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22406 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22407 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22408 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22409 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}};
22410 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22411 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22412 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22413 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22414 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22415 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22416 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}};
22417 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22418 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22419 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22420 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22421 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22422 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22423 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}};
22424 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22425 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22426 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22427 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22428 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22429 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22430 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22431 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}};
22432 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
22433 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22434 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}};
22435 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}};
22436 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22437 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22438 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22439 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22440 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22441 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22442 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22443 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22444 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22445 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}};
22446 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}};
22447 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22448 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22449 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22450 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}};
22451 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22452 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22453 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22454 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22455 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22456 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22457 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22458
22459 static swig_type_info *swig_types_initial[] = {
22460 _swigt__p_wxQueryLayoutInfoEvent,
22461 _swigt__p_wxPreviewFrame,
22462 _swigt__p_wxPyPreviewFrame,
22463 _swigt__p_wxAcceleratorEntry,
22464 _swigt__p_wxPyPanel,
22465 _swigt__p_wxMenu,
22466 _swigt__p_wxPrintData,
22467 _swigt__p_wxFontData,
22468 _swigt__p_wxEvent,
22469 _swigt__p_wxTaskBarIcon,
22470 _swigt__p_wxIconBundle,
22471 _swigt__p_wxLayoutAlgorithm,
22472 _swigt__p_wxFindDialogEvent,
22473 _swigt__p_wxPreviewCanvas,
22474 _swigt__p_wxFont,
22475 _swigt__p_wxSplitterEvent,
22476 _swigt__p_wxRegion,
22477 _swigt__p_wxFindReplaceData,
22478 _swigt__p_int,
22479 _swigt__p_wxSize,
22480 _swigt__p_wxDC,
22481 _swigt__p_wxIcon,
22482 _swigt__p_wxMDIChildFrame,
22483 _swigt__p_wxColourData,
22484 _swigt__p_wxNotifyEvent,
22485 _swigt__p_wxPyWindow,
22486 _swigt__p_wxSplashScreen,
22487 _swigt__p_wxFindReplaceDialog,
22488 _swigt__p_wxProgressDialog,
22489 _swigt__p_wxMessageDialog,
22490 _swigt__p_wxTextEntryDialog,
22491 _swigt__p_wxSingleChoiceDialog,
22492 _swigt__p_wxMultiChoiceDialog,
22493 _swigt__p_wxFileDialog,
22494 _swigt__p_wxPrinter,
22495 _swigt__p_wxMenuItem,
22496 _swigt__p_wxArrayInt,
22497 _swigt__p_wxEvtHandler,
22498 _swigt__p_wxCalculateLayoutEvent,
22499 _swigt__p_wxPyHtmlListBox,
22500 _swigt__p_wxPyVListBox,
22501 _swigt__p_wxRect,
22502 _swigt__p_wxAcceleratorTable,
22503 _swigt__p_wxMiniFrame,
22504 _swigt__p_wxFrame,
22505 _swigt__p_wxPyPrintout,
22506 _swigt__p_wxTaskBarIconEvent,
22507 _swigt__p_wxScrollWinEvent,
22508 _swigt__p_wxStatusBar,
22509 _swigt__p_wxMDIParentFrame,
22510 _swigt__p_wxPoint,
22511 _swigt__p_wxObject,
22512 _swigt__p_unsigned_long,
22513 _swigt__p_wxMDIClientWindow,
22514 _swigt__p_wxTipWindow,
22515 _swigt__p_wxPyPopupTransientWindow,
22516 _swigt__p_wxSashLayoutWindow,
22517 _swigt__p_wxSplitterWindow,
22518 _swigt__p_wxSplashScreenWindow,
22519 _swigt__p_wxPyVScrolledWindow,
22520 _swigt__p_wxPopupWindow,
22521 _swigt__p_wxSashWindow,
22522 _swigt__p_wxTopLevelWindow,
22523 _swigt__p_wxWindow,
22524 _swigt__p_wxScrolledWindow,
22525 _swigt__p_wxMenuBar,
22526 _swigt__p_wxPrintPreview,
22527 _swigt__p_wxSashEvent,
22528 _swigt__p_wxString,
22529 _swigt__p_wxPyPrintPreview,
22530 _swigt__p_wxFontDialog,
22531 _swigt__p_wxDirDialog,
22532 _swigt__p_wxColourDialog,
22533 _swigt__p_wxDialog,
22534 _swigt__p_wxPanel,
22535 _swigt__p_wxPageSetupDialog,
22536 _swigt__p_wxPrintDialog,
22537 _swigt__p_wxBitmap,
22538 _swigt__p_wxCommandEvent,
22539 _swigt__p_wxPrintQuality,
22540 _swigt__p_wxPreviewControlBar,
22541 _swigt__p_wxPyPreviewControlBar,
22542 _swigt__p_wxColour,
22543 _swigt__p_wxToolBar,
22544 _swigt__p_wxPageSetupDialogData,
22545 _swigt__p_wxPrintDialogData,
22546 0
22547 };
22548
22549
22550 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22551
22552 static swig_const_info swig_const_table[] = {
22553 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22554 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22555 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22556 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22557 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22558 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22559 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22560 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22561 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22562 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22563 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22564 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22565 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22566 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22567 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22568 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22569 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22570 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22571 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22572 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22573 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22574 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22575 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22576 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22577 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22578 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22579 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22580 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22581 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22582 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22583 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22584 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22585 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22586 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22587 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22588 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22589 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22590 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22591 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22592 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22593 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22594 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22595 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22596 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22597 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22598 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22599 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22600 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22601 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22602 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22603 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22604 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22605 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22606 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22607 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22608 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22609 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22610 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22611 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22612 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22613 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22614 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22615 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22616 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22617 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22618 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22619 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22620 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22621 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22622 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22623 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22624 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22625 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22626 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22627 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22628 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22629 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22630 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22631 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22632 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22633 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22634 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22635 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22636 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22637 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22638 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22639 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22640 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22641 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22642 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22643 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22644 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22645 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22646 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22647 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22648 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22649 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22650 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22651 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22652 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22653 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22654 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22655 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22656 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22657 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22658 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22659 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22660 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22661 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22662 {0}};
22663
22664 #ifdef __cplusplus
22665 }
22666 #endif
22667
22668 #ifdef __cplusplus
22669 extern "C"
22670 #endif
22671 SWIGEXPORT(void) SWIG_init(void) {
22672 static PyObject *SWIG_globals = 0;
22673 static int typeinit = 0;
22674 PyObject *m, *d;
22675 int i;
22676 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22677 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22678 d = PyModule_GetDict(m);
22679
22680 if (!typeinit) {
22681 for (i = 0; swig_types_initial[i]; i++) {
22682 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22683 }
22684 typeinit = 1;
22685 }
22686 SWIG_InstallConstants(d,swig_const_table);
22687
22688 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22689 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
22690 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22691 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22692 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22693 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22694 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22695 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22696 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22697
22698 // Map renamed classes back to their common name for OOR
22699 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22700 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22701 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22702
22703 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22704 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22705 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22706 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22707 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22708 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22709 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22710 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22711 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22712 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22713 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22714 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22715
22716 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22717
22718 }
22719