]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
Forgot to remove the debug prints
[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 wxString tmp = *text;
405 return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound);
406 }
407
408 #include <wx/tipwin.h>
409
410
411 #include <wx/vscroll.h>
412
413
414 class wxPyVScrolledWindow : public wxVScrolledWindow
415 {
416 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
417 public:
418 wxPyVScrolledWindow() : wxVScrolledWindow() {}
419
420 wxPyVScrolledWindow(wxWindow *parent,
421 wxWindowID id = wxID_ANY,
422 const wxPoint& pos = wxDefaultPosition,
423 const wxSize& size = wxDefaultSize,
424 long style = 0,
425 const wxString& name = wxPyPanelNameStr)
426 : wxVScrolledWindow(parent, id, pos, size, style, name)
427 {}
428
429 // Overridable virtuals
430
431 // this function must be overridden in the derived class and it should
432 // return the height of the given line in pixels
433 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
434
435
436 // this function doesn't have to be overridden but it may be useful to do
437 // it if calculating the lines heights is a relatively expensive operation
438 // as it gives the user code a possibility to calculate several of them at
439 // once
440 //
441 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
442 // shouldn't rely on the latter being called for all lines in the interval
443 // specified here. It is also possible that OnGetLineHeight() will be
444 // called for the lines outside of this interval, so this is really just a
445 // hint, not a promise.
446 //
447 // finally note that lineMin is inclusive, while lineMax is exclusive, as
448 // usual
449 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
450
451
452 // when the number of lines changes, we try to estimate the total height
453 // of all lines which is a rather expensive operation in terms of lines
454 // access, so if the user code may estimate the average height
455 // better/faster than we do, it should override this function to implement
456 // its own logic
457 //
458 // this function should return the best guess for the total height it may
459 // make
460 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
461
462
463 // Also expose some other interesting protected methods
464
465
466 // find the index of the line we need to show at the top of the window such
467 // that the last (fully or partially) visible line is the given one
468 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
469 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
470
471 // get the total height of the lines between lineMin (inclusive) and
472 // lineMax (exclusive)
473 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
474 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
475
476
477 PYPRIVATE;
478 };
479
480 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
481
482 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
483 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
484 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
485
486
487 #include <wx/vlbox.h>
488 DECLARE_DEF_STRING(VListBoxNameStr);
489
490
491 class wxPyVListBox : public wxVListBox
492 {
493 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
494 public:
495 wxPyVListBox() : wxVListBox() {}
496
497 wxPyVListBox(wxWindow *parent,
498 wxWindowID id = wxID_ANY,
499 const wxPoint& pos = wxDefaultPosition,
500 const wxSize& size = wxDefaultSize,
501 long style = 0,
502 const wxString& name = wxPyVListBoxNameStr)
503 : wxVListBox(parent, id, pos, size, style, name)
504 {}
505
506 // Overridable virtuals
507
508 // the derived class must implement this function to actually draw the item
509 // with the given index on the provided DC
510 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
511 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
512
513
514 // the derived class must implement this method to return the height of the
515 // specified item
516 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
517 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
518
519
520 // this method may be used to draw separators between the lines; note that
521 // the rectangle may be modified, typically to deflate it a bit before
522 // passing to OnDrawItem()
523 //
524 // the base class version doesn't do anything
525 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
526 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
527
528
529 // this method is used to draw the items background and, maybe, a border
530 // around it
531 //
532 // the base class version implements a reasonable default behaviour which
533 // consists in drawing the selected item with the standard background
534 // colour and drawing a border around the item if it is either selected or
535 // current
536 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
537 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
538
539
540 PYPRIVATE;
541 };
542
543 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
544
545 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
546 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
547 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
548 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
549
550
551
552 #include <wx/htmllbox.h>
553
554
555 class wxPyHtmlListBox : public wxHtmlListBox
556 {
557 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
558 public:
559 wxPyHtmlListBox() : wxHtmlListBox() {}
560
561 wxPyHtmlListBox(wxWindow *parent,
562 wxWindowID id = wxID_ANY,
563 const wxPoint& pos = wxDefaultPosition,
564 const wxSize& size = wxDefaultSize,
565 long style = 0,
566 const wxString& name = wxPyVListBoxNameStr)
567 : wxHtmlListBox(parent, id, pos, size, style, name)
568 {}
569
570 // Overridable virtuals
571
572 // this method must be implemented in the derived class and should return
573 // the body (i.e. without <html>) of the HTML for the given item
574 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
575
576 // this function may be overridden to decorate HTML returned by OnGetItem()
577 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
578
579 // TODO:
580 // // this method allows to customize the selection appearance: it may be used
581 // // to specify the colour of the text which normally has the given colour
582 // // colFg when it is inside the selection
583 // //
584 // // by default, the original colour is not used at all and all text has the
585 // // same (default for this system) colour inside selection
586 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
587
588 // // this is the same as GetSelectedTextColour() but allows to customize the
589 // // background colour -- this is even more rarely used as you can change it
590 // // globally using SetSelectionBackground()
591 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
592
593
594 PYPRIVATE;
595 };
596
597
598 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
599
600 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
601 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
602
603
604
605
606
607 #ifdef __WXMAC__
608 // implement dummy classes and such for wxMac
609
610 class wxTaskBarIcon : public wxEvtHandler
611 {
612 public:
613 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
614 };
615
616
617 class wxTaskBarIconEvent : public wxEvent
618 {
619 public:
620 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
621 { PyErr_SetNone(PyExc_NotImplementedError); }
622 virtual wxEvent* Clone() const { return NULL; }
623 };
624
625 enum {
626 wxEVT_TASKBAR_MOVE = 0,
627 wxEVT_TASKBAR_LEFT_DOWN = 0,
628 wxEVT_TASKBAR_LEFT_UP = 0,
629 wxEVT_TASKBAR_RIGHT_DOWN = 0,
630 wxEVT_TASKBAR_RIGHT_UP = 0,
631 wxEVT_TASKBAR_LEFT_DCLICK = 0,
632 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
633 };
634 #endif
635
636
637
638 DECLARE_DEF_STRING(FileSelectorPromptStr);
639 DECLARE_DEF_STRING(DirSelectorPromptStr);
640 DECLARE_DEF_STRING(DirDialogNameStr);
641 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
642 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
643 DECLARE_DEF_STRING(MessageBoxCaptionStr);
644
645
646 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
647 wxArrayString arr;
648 self->GetFilenames(arr);
649 return wxArrayString2PyList_helper(arr);
650 }
651 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
652 wxArrayString arr;
653 self->GetPaths(arr);
654 return wxArrayString2PyList_helper(arr);
655 }
656 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
657 return wxArrayInt2PyList_helper(self->GetSelections());
658 }
659 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
660 return new wxSingleChoiceDialog(parent, message, caption,
661 choices, choices_array, NULL, style, pos);
662 }
663
664 #include <wx/mdi.h>
665
666 // C++ version of Python aware wxWindow
667 class wxPyWindow : public wxWindow
668 {
669 DECLARE_DYNAMIC_CLASS(wxPyWindow)
670 public:
671 wxPyWindow() : wxWindow() {}
672 wxPyWindow(wxWindow* parent, const wxWindowID id,
673 const wxPoint& pos = wxDefaultPosition,
674 const wxSize& size = wxDefaultSize,
675 long style = 0,
676 const wxString& name = wxPyPanelNameStr)
677 : wxWindow(parent, id, pos, size, style, name) {}
678
679
680 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
681 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
682 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
683 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
684
685 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
686 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
687 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
688
689 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
690 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
691
692 DEC_PYCALLBACK__(InitDialog);
693 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
694 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
695 DEC_PYCALLBACK_BOOL_(Validate);
696
697 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
698 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
699 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
700
701 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
702 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
703
704 PYPRIVATE;
705 };
706
707 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
708
709 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
710 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
711 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
712 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
713
714 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
715 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
716 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
717
718 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
719 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
720
721 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
722 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
723 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
724 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
725
726 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
727 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
728 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
729
730 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
731 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
732
733
734 // C++ version of Python aware wxPanel
735 class wxPyPanel : public wxPanel
736 {
737 DECLARE_DYNAMIC_CLASS(wxPyPanel)
738 public:
739 wxPyPanel() : wxPanel() {}
740 wxPyPanel(wxWindow* parent, const wxWindowID id,
741 const wxPoint& pos = wxDefaultPosition,
742 const wxSize& size = wxDefaultSize,
743 long style = 0,
744 const wxString& name = wxPyPanelNameStr)
745 : wxPanel(parent, id, pos, size, style, name) {}
746
747
748 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
749 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
750 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
751 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
752
753 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
754 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
755 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
756
757 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
758 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
759
760 DEC_PYCALLBACK__(InitDialog);
761 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
762 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
763 DEC_PYCALLBACK_BOOL_(Validate);
764
765 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
766 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
767 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
768
769 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
770 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
771
772 PYPRIVATE;
773 };
774
775 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
776
777 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
778 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
779 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
780 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
781
782 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
783 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
784 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
785
786 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
787 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
788
789 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
790 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
791 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
792 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
793
794 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
795 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
796 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
797
798 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
799 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
800
801
802
803 #include "wx/wxPython/printfw.h"
804
805 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
806 DECLARE_DEF_STRING(PrintoutTitleStr);
807 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
808 DECLARE_DEF_STRING(PreviewCanvasNameStr);
809
810
811
812
813
814 // Since this one would be tough and ugly to do with the Macros...
815 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
816 bool hadErr = False;
817 bool found;
818
819 wxPyBeginBlockThreads();
820 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
821 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
822 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
823 PyObject* val;
824
825 val = PyTuple_GetItem(result, 0);
826 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
827 else hadErr = True;
828
829 val = PyTuple_GetItem(result, 1);
830 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
831 else hadErr = True;
832
833 val = PyTuple_GetItem(result, 2);
834 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
835 else hadErr = True;
836
837 val = PyTuple_GetItem(result, 3);
838 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
839 else hadErr = True;
840 }
841 else
842 hadErr = True;
843
844 if (hadErr) {
845 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
846 PyErr_Print();
847 }
848 Py_DECREF(result);
849 }
850 wxPyEndBlockThreads();
851 if (! found)
852 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
853 }
854
855 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
856 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
857 }
858
859
860 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
861 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
862 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
863 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
864 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
865 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
866 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
867
868
869
870
871
872 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
873 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
874 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
875
876
877 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
878 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
879 bool rval=False; \
880 bool found; \
881 wxPyBeginBlockThreads(); \
882 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
883 PyObject* win = wxPyMake_wxObject(a); \
884 PyObject* dc = wxPyMake_wxObject(&b); \
885 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
886 Py_DECREF(win); \
887 Py_DECREF(dc); \
888 } \
889 wxPyEndBlockThreads(); \
890 if (! found) \
891 rval = PCLASS::CBNAME(a, b); \
892 return rval; \
893 } \
894 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
895 return PCLASS::CBNAME(a, b); \
896 }
897
898
899
900
901 class wxPyPrintPreview : public wxPrintPreview
902 {
903 DECLARE_CLASS(wxPyPrintPreview)
904 public:
905 wxPyPrintPreview(wxPyPrintout* printout,
906 wxPyPrintout* printoutForPrinting,
907 wxPrintData* data=NULL)
908 : wxPrintPreview(printout, printoutForPrinting, data)
909 {}
910
911 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
912 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
913 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
914 DEC_PYCALLBACK_BOOL_INT(RenderPage);
915 DEC_PYCALLBACK_VOID_INT(SetZoom);
916 DEC_PYCALLBACK_BOOL_BOOL(Print);
917 DEC_PYCALLBACK_VOID_(DetermineScaling);
918
919 PYPRIVATE;
920 };
921
922 // Stupid renamed classes... Fix this in 2.5...
923 #if defined(__WXMSW__)
924 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
925 #elif defined(__WXMAC__)
926 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
927 #else
928 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
929 #endif
930
931 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
932 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
933 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
934 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
935 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
936 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
937 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
938
939
940 class wxPyPreviewFrame : public wxPreviewFrame
941 {
942 DECLARE_CLASS(wxPyPreviewFrame);
943 public:
944 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
945 const wxString& title,
946 const wxPoint& pos = wxDefaultPosition,
947 const wxSize& size = wxDefaultSize,
948 long style = wxDEFAULT_FRAME_STYLE,
949 const wxString& name = wxPyFrameNameStr)
950 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
951 {}
952
953 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
954 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
955
956 DEC_PYCALLBACK_VOID_(Initialize);
957 DEC_PYCALLBACK_VOID_(CreateCanvas);
958 DEC_PYCALLBACK_VOID_(CreateControlBar);
959
960 PYPRIVATE;
961 };
962
963 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
964
965 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
966 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
967 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
968
969
970 class wxPyPreviewControlBar : public wxPreviewControlBar
971 {
972 DECLARE_CLASS(wxPyPreviewControlBar);
973 public:
974 wxPyPreviewControlBar(wxPrintPreview *preview,
975 long buttons,
976 wxWindow *parent,
977 const wxPoint& pos = wxDefaultPosition,
978 const wxSize& size = wxDefaultSize,
979 long style = 0,
980 const wxString& name = wxPyPanelNameStr)
981 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
982 {}
983
984 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
985
986 DEC_PYCALLBACK_VOID_(CreateButtons);
987 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
988
989 PYPRIVATE;
990 };
991
992 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
993 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
994 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
995
996 #ifdef __cplusplus
997 extern "C" {
998 #endif
999 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1000 PyObject *resultobj;
1001 wxWindow *arg1 = (wxWindow *) 0 ;
1002 int arg2 = (int) (int)-1 ;
1003 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1004 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1005 wxSize const &arg4_defvalue = wxDefaultSize ;
1006 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1007 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1008 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1009 wxString *arg6 = (wxString *) &arg6_defvalue ;
1010 wxPanel *result;
1011 wxPoint temp3 ;
1012 wxSize temp4 ;
1013 bool temp6 = False ;
1014 PyObject * obj0 = 0 ;
1015 PyObject * obj2 = 0 ;
1016 PyObject * obj3 = 0 ;
1017 PyObject * obj5 = 0 ;
1018 char *kwnames[] = {
1019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1020 };
1021
1022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1024 if (obj2) {
1025 {
1026 arg3 = &temp3;
1027 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1028 }
1029 }
1030 if (obj3) {
1031 {
1032 arg4 = &temp4;
1033 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1034 }
1035 }
1036 if (obj5) {
1037 {
1038 arg6 = wxString_in_helper(obj5);
1039 if (arg6 == NULL) SWIG_fail;
1040 temp6 = True;
1041 }
1042 }
1043 {
1044 PyThreadState* __tstate = wxPyBeginAllowThreads();
1045 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1046
1047 wxPyEndAllowThreads(__tstate);
1048 if (PyErr_Occurred()) SWIG_fail;
1049 }
1050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1051 {
1052 if (temp6)
1053 delete arg6;
1054 }
1055 return resultobj;
1056 fail:
1057 {
1058 if (temp6)
1059 delete arg6;
1060 }
1061 return NULL;
1062 }
1063
1064
1065 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1066 PyObject *resultobj;
1067 wxPanel *result;
1068 char *kwnames[] = {
1069 NULL
1070 };
1071
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1073 {
1074 PyThreadState* __tstate = wxPyBeginAllowThreads();
1075 result = (wxPanel *)new wxPanel();
1076
1077 wxPyEndAllowThreads(__tstate);
1078 if (PyErr_Occurred()) SWIG_fail;
1079 }
1080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1081 return resultobj;
1082 fail:
1083 return NULL;
1084 }
1085
1086
1087 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1088 PyObject *resultobj;
1089 wxPanel *arg1 = (wxPanel *) 0 ;
1090 wxWindow *arg2 = (wxWindow *) 0 ;
1091 int arg3 ;
1092 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1093 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1094 wxSize const &arg5_defvalue = wxDefaultSize ;
1095 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1096 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1097 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1098 wxString *arg7 = (wxString *) &arg7_defvalue ;
1099 bool result;
1100 wxPoint temp4 ;
1101 wxSize temp5 ;
1102 bool temp7 = False ;
1103 PyObject * obj0 = 0 ;
1104 PyObject * obj1 = 0 ;
1105 PyObject * obj3 = 0 ;
1106 PyObject * obj4 = 0 ;
1107 PyObject * obj6 = 0 ;
1108 char *kwnames[] = {
1109 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1110 };
1111
1112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1115 if (obj3) {
1116 {
1117 arg4 = &temp4;
1118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1119 }
1120 }
1121 if (obj4) {
1122 {
1123 arg5 = &temp5;
1124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1125 }
1126 }
1127 if (obj6) {
1128 {
1129 arg7 = wxString_in_helper(obj6);
1130 if (arg7 == NULL) SWIG_fail;
1131 temp7 = True;
1132 }
1133 }
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 resultobj = PyInt_FromLong((long)result);
1142 {
1143 if (temp7)
1144 delete arg7;
1145 }
1146 return resultobj;
1147 fail:
1148 {
1149 if (temp7)
1150 delete arg7;
1151 }
1152 return NULL;
1153 }
1154
1155
1156 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject *resultobj;
1158 wxPanel *arg1 = (wxPanel *) 0 ;
1159 PyObject * obj0 = 0 ;
1160 char *kwnames[] = {
1161 (char *) "self", NULL
1162 };
1163
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 (arg1)->InitDialog();
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) SWIG_fail;
1172 }
1173 Py_INCREF(Py_None); resultobj = Py_None;
1174 return resultobj;
1175 fail:
1176 return NULL;
1177 }
1178
1179
1180 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1181 PyObject *obj;
1182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1183 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1184 Py_INCREF(obj);
1185 return Py_BuildValue((char *)"");
1186 }
1187 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1188 PyObject *resultobj;
1189 wxWindow *arg1 = (wxWindow *) 0 ;
1190 int arg2 = (int) (int)-1 ;
1191 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1192 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1193 wxSize const &arg4_defvalue = wxDefaultSize ;
1194 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1195 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1196 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1197 wxString *arg6 = (wxString *) &arg6_defvalue ;
1198 wxScrolledWindow *result;
1199 wxPoint temp3 ;
1200 wxSize temp4 ;
1201 bool temp6 = False ;
1202 PyObject * obj0 = 0 ;
1203 PyObject * obj2 = 0 ;
1204 PyObject * obj3 = 0 ;
1205 PyObject * obj5 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1212 if (obj2) {
1213 {
1214 arg3 = &temp3;
1215 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1216 }
1217 }
1218 if (obj3) {
1219 {
1220 arg4 = &temp4;
1221 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1222 }
1223 }
1224 if (obj5) {
1225 {
1226 arg6 = wxString_in_helper(obj5);
1227 if (arg6 == NULL) SWIG_fail;
1228 temp6 = True;
1229 }
1230 }
1231 {
1232 PyThreadState* __tstate = wxPyBeginAllowThreads();
1233 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1234
1235 wxPyEndAllowThreads(__tstate);
1236 if (PyErr_Occurred()) SWIG_fail;
1237 }
1238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1239 {
1240 if (temp6)
1241 delete arg6;
1242 }
1243 return resultobj;
1244 fail:
1245 {
1246 if (temp6)
1247 delete arg6;
1248 }
1249 return NULL;
1250 }
1251
1252
1253 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1254 PyObject *resultobj;
1255 wxScrolledWindow *result;
1256 char *kwnames[] = {
1257 NULL
1258 };
1259
1260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1261 {
1262 PyThreadState* __tstate = wxPyBeginAllowThreads();
1263 result = (wxScrolledWindow *)new wxScrolledWindow();
1264
1265 wxPyEndAllowThreads(__tstate);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 }
1268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1269 return resultobj;
1270 fail:
1271 return NULL;
1272 }
1273
1274
1275 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject *resultobj;
1277 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1278 wxWindow *arg2 = (wxWindow *) 0 ;
1279 int arg3 = (int) (int)-1 ;
1280 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1281 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1282 wxSize const &arg5_defvalue = wxDefaultSize ;
1283 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1284 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1285 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1286 wxString *arg7 = (wxString *) &arg7_defvalue ;
1287 bool result;
1288 wxPoint temp4 ;
1289 wxSize temp5 ;
1290 bool temp7 = False ;
1291 PyObject * obj0 = 0 ;
1292 PyObject * obj1 = 0 ;
1293 PyObject * obj3 = 0 ;
1294 PyObject * obj4 = 0 ;
1295 PyObject * obj6 = 0 ;
1296 char *kwnames[] = {
1297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1298 };
1299
1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1303 if (obj3) {
1304 {
1305 arg4 = &temp4;
1306 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1307 }
1308 }
1309 if (obj4) {
1310 {
1311 arg5 = &temp5;
1312 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1313 }
1314 }
1315 if (obj6) {
1316 {
1317 arg7 = wxString_in_helper(obj6);
1318 if (arg7 == NULL) SWIG_fail;
1319 temp7 = True;
1320 }
1321 }
1322 {
1323 PyThreadState* __tstate = wxPyBeginAllowThreads();
1324 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1325
1326 wxPyEndAllowThreads(__tstate);
1327 if (PyErr_Occurred()) SWIG_fail;
1328 }
1329 resultobj = PyInt_FromLong((long)result);
1330 {
1331 if (temp7)
1332 delete arg7;
1333 }
1334 return resultobj;
1335 fail:
1336 {
1337 if (temp7)
1338 delete arg7;
1339 }
1340 return NULL;
1341 }
1342
1343
1344 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject *resultobj;
1346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1347 int arg2 ;
1348 int arg3 ;
1349 int arg4 ;
1350 int arg5 ;
1351 int arg6 = (int) 0 ;
1352 int arg7 = (int) 0 ;
1353 bool arg8 = (bool) False ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj7 = 0 ;
1356 char *kwnames[] = {
1357 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1358 };
1359
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1362 if (obj7) {
1363 arg8 = PyInt_AsLong(obj7) ? true : false;
1364 if (PyErr_Occurred()) SWIG_fail;
1365 }
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject *resultobj;
1382 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1383 int arg2 ;
1384 int arg3 ;
1385 PyObject * obj0 = 0 ;
1386 char *kwnames[] = {
1387 (char *) "self",(char *) "x",(char *) "y", NULL
1388 };
1389
1390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1392 {
1393 PyThreadState* __tstate = wxPyBeginAllowThreads();
1394 (arg1)->Scroll(arg2,arg3);
1395
1396 wxPyEndAllowThreads(__tstate);
1397 if (PyErr_Occurred()) SWIG_fail;
1398 }
1399 Py_INCREF(Py_None); resultobj = Py_None;
1400 return resultobj;
1401 fail:
1402 return NULL;
1403 }
1404
1405
1406 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject *resultobj;
1408 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1409 int arg2 ;
1410 int result;
1411 PyObject * obj0 = 0 ;
1412 char *kwnames[] = {
1413 (char *) "self",(char *) "orient", NULL
1414 };
1415
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) SWIG_fail;
1424 }
1425 resultobj = PyInt_FromLong((long)result);
1426 return resultobj;
1427 fail:
1428 return NULL;
1429 }
1430
1431
1432 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject *resultobj;
1434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1435 int arg2 ;
1436 int arg3 ;
1437 PyObject * obj0 = 0 ;
1438 char *kwnames[] = {
1439 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1440 };
1441
1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444 {
1445 PyThreadState* __tstate = wxPyBeginAllowThreads();
1446 (arg1)->SetScrollPageSize(arg2,arg3);
1447
1448 wxPyEndAllowThreads(__tstate);
1449 if (PyErr_Occurred()) SWIG_fail;
1450 }
1451 Py_INCREF(Py_None); resultobj = Py_None;
1452 return resultobj;
1453 fail:
1454 return NULL;
1455 }
1456
1457
1458 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject *resultobj;
1460 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1461 int arg2 ;
1462 int arg3 ;
1463 PyObject * obj0 = 0 ;
1464 char *kwnames[] = {
1465 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1466 };
1467
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1470 {
1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
1472 (arg1)->SetScrollRate(arg2,arg3);
1473
1474 wxPyEndAllowThreads(__tstate);
1475 if (PyErr_Occurred()) SWIG_fail;
1476 }
1477 Py_INCREF(Py_None); resultobj = Py_None;
1478 return resultobj;
1479 fail:
1480 return NULL;
1481 }
1482
1483
1484 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1485 PyObject *resultobj;
1486 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1487 int *arg2 = (int *) 0 ;
1488 int *arg3 = (int *) 0 ;
1489 int temp2 ;
1490 int temp3 ;
1491 PyObject * obj0 = 0 ;
1492 char *kwnames[] = {
1493 (char *) "self", NULL
1494 };
1495
1496 arg2 = &temp2;
1497 arg3 = &temp3;
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1500 {
1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
1502 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1503
1504 wxPyEndAllowThreads(__tstate);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 Py_INCREF(Py_None); resultobj = Py_None;
1508 {
1509 PyObject *o = PyInt_FromLong((long) (*arg2));
1510 resultobj = t_output_helper(resultobj,o);
1511 }
1512 {
1513 PyObject *o = PyInt_FromLong((long) (*arg3));
1514 resultobj = t_output_helper(resultobj,o);
1515 }
1516 return resultobj;
1517 fail:
1518 return NULL;
1519 }
1520
1521
1522 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject *resultobj;
1524 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1525 bool arg2 ;
1526 bool arg3 ;
1527 PyObject * obj0 = 0 ;
1528 PyObject * obj1 = 0 ;
1529 PyObject * obj2 = 0 ;
1530 char *kwnames[] = {
1531 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1532 };
1533
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1536 arg2 = PyInt_AsLong(obj1) ? true : false;
1537 if (PyErr_Occurred()) SWIG_fail;
1538 arg3 = PyInt_AsLong(obj2) ? true : false;
1539 if (PyErr_Occurred()) SWIG_fail;
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 (arg1)->EnableScrolling(arg2,arg3);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 Py_INCREF(Py_None); resultobj = Py_None;
1548 return resultobj;
1549 fail:
1550 return NULL;
1551 }
1552
1553
1554 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1555 PyObject *resultobj;
1556 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1557 int *arg2 = (int *) 0 ;
1558 int *arg3 = (int *) 0 ;
1559 int temp2 ;
1560 int temp3 ;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "self", NULL
1564 };
1565
1566 arg2 = &temp2;
1567 arg3 = &temp3;
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 Py_INCREF(Py_None); resultobj = Py_None;
1578 {
1579 PyObject *o = PyInt_FromLong((long) (*arg2));
1580 resultobj = t_output_helper(resultobj,o);
1581 }
1582 {
1583 PyObject *o = PyInt_FromLong((long) (*arg3));
1584 resultobj = t_output_helper(resultobj,o);
1585 }
1586 return resultobj;
1587 fail:
1588 return NULL;
1589 }
1590
1591
1592 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1595 double arg2 ;
1596 double arg3 ;
1597 PyObject * obj0 = 0 ;
1598 char *kwnames[] = {
1599 (char *) "self",(char *) "xs",(char *) "ys", NULL
1600 };
1601
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1604 {
1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
1606 (arg1)->SetScale(arg2,arg3);
1607
1608 wxPyEndAllowThreads(__tstate);
1609 if (PyErr_Occurred()) SWIG_fail;
1610 }
1611 Py_INCREF(Py_None); resultobj = Py_None;
1612 return resultobj;
1613 fail:
1614 return NULL;
1615 }
1616
1617
1618 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1619 PyObject *resultobj;
1620 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1621 double result;
1622 PyObject * obj0 = 0 ;
1623 char *kwnames[] = {
1624 (char *) "self", NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 resultobj = PyFloat_FromDouble(result);
1637 return resultobj;
1638 fail:
1639 return NULL;
1640 }
1641
1642
1643 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1644 PyObject *resultobj;
1645 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1646 double result;
1647 PyObject * obj0 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
1656 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
1661 resultobj = PyFloat_FromDouble(result);
1662 return resultobj;
1663 fail:
1664 return NULL;
1665 }
1666
1667
1668 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1669 PyObject *resultobj;
1670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1671 wxPoint *arg2 = 0 ;
1672 wxPoint result;
1673 wxPoint temp2 ;
1674 PyObject * obj0 = 0 ;
1675 PyObject * obj1 = 0 ;
1676
1677 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1679 {
1680 arg2 = &temp2;
1681 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1682 }
1683 {
1684 PyThreadState* __tstate = wxPyBeginAllowThreads();
1685 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1686
1687 wxPyEndAllowThreads(__tstate);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 }
1690 {
1691 wxPoint * resultptr;
1692 resultptr = new wxPoint((wxPoint &) result);
1693 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1694 }
1695 return resultobj;
1696 fail:
1697 return NULL;
1698 }
1699
1700
1701 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1702 PyObject *resultobj;
1703 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1704 int arg2 ;
1705 int arg3 ;
1706 int *arg4 = (int *) 0 ;
1707 int *arg5 = (int *) 0 ;
1708 int temp4 ;
1709 int temp5 ;
1710 PyObject * obj0 = 0 ;
1711
1712 arg4 = &temp4;
1713 arg5 = &temp5;
1714 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716 {
1717 PyThreadState* __tstate = wxPyBeginAllowThreads();
1718 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1719
1720 wxPyEndAllowThreads(__tstate);
1721 if (PyErr_Occurred()) SWIG_fail;
1722 }
1723 Py_INCREF(Py_None); resultobj = Py_None;
1724 {
1725 PyObject *o = PyInt_FromLong((long) (*arg4));
1726 resultobj = t_output_helper(resultobj,o);
1727 }
1728 {
1729 PyObject *o = PyInt_FromLong((long) (*arg5));
1730 resultobj = t_output_helper(resultobj,o);
1731 }
1732 return resultobj;
1733 fail:
1734 return NULL;
1735 }
1736
1737
1738 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1739 int argc;
1740 PyObject *argv[4];
1741 int ii;
1742
1743 argc = PyObject_Length(args);
1744 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1745 argv[ii] = PyTuple_GetItem(args,ii);
1746 }
1747 if (argc == 2) {
1748 int _v;
1749 {
1750 void *ptr;
1751 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1752 _v = 0;
1753 PyErr_Clear();
1754 } else {
1755 _v = 1;
1756 }
1757 }
1758 if (_v) {
1759 {
1760 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1761 }
1762 if (_v) {
1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1764 }
1765 }
1766 }
1767 if (argc == 3) {
1768 int _v;
1769 {
1770 void *ptr;
1771 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1772 _v = 0;
1773 PyErr_Clear();
1774 } else {
1775 _v = 1;
1776 }
1777 }
1778 if (_v) {
1779 {
1780 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1781 }
1782 if (_v) {
1783 {
1784 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1785 }
1786 if (_v) {
1787 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1788 }
1789 }
1790 }
1791 }
1792
1793 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1794 return NULL;
1795 }
1796
1797
1798 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1799 PyObject *resultobj;
1800 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1801 wxPoint *arg2 = 0 ;
1802 wxPoint result;
1803 wxPoint temp2 ;
1804 PyObject * obj0 = 0 ;
1805 PyObject * obj1 = 0 ;
1806
1807 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1809 {
1810 arg2 = &temp2;
1811 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1812 }
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 {
1821 wxPoint * resultptr;
1822 resultptr = new wxPoint((wxPoint &) result);
1823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1824 }
1825 return resultobj;
1826 fail:
1827 return NULL;
1828 }
1829
1830
1831 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1832 PyObject *resultobj;
1833 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1834 int arg2 ;
1835 int arg3 ;
1836 int *arg4 = (int *) 0 ;
1837 int *arg5 = (int *) 0 ;
1838 int temp4 ;
1839 int temp5 ;
1840 PyObject * obj0 = 0 ;
1841
1842 arg4 = &temp4;
1843 arg5 = &temp5;
1844 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1846 {
1847 PyThreadState* __tstate = wxPyBeginAllowThreads();
1848 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1849
1850 wxPyEndAllowThreads(__tstate);
1851 if (PyErr_Occurred()) SWIG_fail;
1852 }
1853 Py_INCREF(Py_None); resultobj = Py_None;
1854 {
1855 PyObject *o = PyInt_FromLong((long) (*arg4));
1856 resultobj = t_output_helper(resultobj,o);
1857 }
1858 {
1859 PyObject *o = PyInt_FromLong((long) (*arg5));
1860 resultobj = t_output_helper(resultobj,o);
1861 }
1862 return resultobj;
1863 fail:
1864 return NULL;
1865 }
1866
1867
1868 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1869 int argc;
1870 PyObject *argv[4];
1871 int ii;
1872
1873 argc = PyObject_Length(args);
1874 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1875 argv[ii] = PyTuple_GetItem(args,ii);
1876 }
1877 if (argc == 2) {
1878 int _v;
1879 {
1880 void *ptr;
1881 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1882 _v = 0;
1883 PyErr_Clear();
1884 } else {
1885 _v = 1;
1886 }
1887 }
1888 if (_v) {
1889 {
1890 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1891 }
1892 if (_v) {
1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1894 }
1895 }
1896 }
1897 if (argc == 3) {
1898 int _v;
1899 {
1900 void *ptr;
1901 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1902 _v = 0;
1903 PyErr_Clear();
1904 } else {
1905 _v = 1;
1906 }
1907 }
1908 if (_v) {
1909 {
1910 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1911 }
1912 if (_v) {
1913 {
1914 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1915 }
1916 if (_v) {
1917 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1918 }
1919 }
1920 }
1921 }
1922
1923 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1931 PyObject * obj0 = 0 ;
1932 char *kwnames[] = {
1933 (char *) "self", NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 (arg1)->AdjustScrollbars();
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
1945 Py_INCREF(Py_None); resultobj = Py_None;
1946 return resultobj;
1947 fail:
1948 return NULL;
1949 }
1950
1951
1952 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1955 wxScrollWinEvent *arg2 = 0 ;
1956 int result;
1957 PyObject * obj0 = 0 ;
1958 PyObject * obj1 = 0 ;
1959 char *kwnames[] = {
1960 (char *) "self",(char *) "event", NULL
1961 };
1962
1963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 if (arg2 == NULL) {
1967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1968 }
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 result = (int)(arg1)->CalcScrollInc(*arg2);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 }
1976 resultobj = PyInt_FromLong((long)result);
1977 return resultobj;
1978 fail:
1979 return NULL;
1980 }
1981
1982
1983 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1984 PyObject *resultobj;
1985 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1986 wxWindow *arg2 = (wxWindow *) 0 ;
1987 PyObject * obj0 = 0 ;
1988 PyObject * obj1 = 0 ;
1989 char *kwnames[] = {
1990 (char *) "self",(char *) "target", NULL
1991 };
1992
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
1998 (arg1)->SetTargetWindow(arg2);
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
2003 Py_INCREF(Py_None); resultobj = Py_None;
2004 return resultobj;
2005 fail:
2006 return NULL;
2007 }
2008
2009
2010 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2013 wxWindow *result;
2014 PyObject * obj0 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
2028 {
2029 resultobj = wxPyMake_wxObject(result);
2030 }
2031 return resultobj;
2032 fail:
2033 return NULL;
2034 }
2035
2036
2037 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject *resultobj;
2039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2040 wxRect *arg2 = 0 ;
2041 wxRect temp2 ;
2042 PyObject * obj0 = 0 ;
2043 PyObject * obj1 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "rect", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2050 {
2051 arg2 = &temp2;
2052 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2053 }
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 (arg1)->SetTargetRect((wxRect const &)*arg2);
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
2061 Py_INCREF(Py_None); resultobj = Py_None;
2062 return resultobj;
2063 fail:
2064 return NULL;
2065 }
2066
2067
2068 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2071 wxRect result;
2072 PyObject * obj0 = 0 ;
2073 char *kwnames[] = {
2074 (char *) "self", NULL
2075 };
2076
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2079 {
2080 PyThreadState* __tstate = wxPyBeginAllowThreads();
2081 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2082
2083 wxPyEndAllowThreads(__tstate);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 }
2086 {
2087 wxRect * resultptr;
2088 resultptr = new wxRect((wxRect &) result);
2089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2090 }
2091 return resultobj;
2092 fail:
2093 return NULL;
2094 }
2095
2096
2097 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2098 PyObject *obj;
2099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2100 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2101 Py_INCREF(obj);
2102 return Py_BuildValue((char *)"");
2103 }
2104 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 int arg1 = (int) 0 ;
2107 int arg2 = (int) 0 ;
2108 int arg3 = (int) 0 ;
2109 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
2110 wxAcceleratorEntry *result;
2111 PyObject * obj3 = 0 ;
2112 char *kwnames[] = {
2113 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
2117 if (obj3) {
2118 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2119 }
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2135 PyObject *resultobj;
2136 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2137 PyObject * obj0 = 0 ;
2138 char *kwnames[] = {
2139 (char *) "self", NULL
2140 };
2141
2142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2144 {
2145 PyThreadState* __tstate = wxPyBeginAllowThreads();
2146 delete arg1;
2147
2148 wxPyEndAllowThreads(__tstate);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 }
2151 Py_INCREF(Py_None); resultobj = Py_None;
2152 return resultobj;
2153 fail:
2154 return NULL;
2155 }
2156
2157
2158 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2159 PyObject *resultobj;
2160 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2161 int arg2 ;
2162 int arg3 ;
2163 int arg4 ;
2164 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
2165 PyObject * obj0 = 0 ;
2166 PyObject * obj4 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2173 if (obj4) {
2174 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 (arg1)->Set(arg2,arg3,arg4,arg5);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 Py_INCREF(Py_None); resultobj = Py_None;
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2193 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2194 PyObject * obj0 = 0 ;
2195 PyObject * obj1 = 0 ;
2196 char *kwnames[] = {
2197 (char *) "self",(char *) "item", NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 (arg1)->SetMenuItem(arg2);
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 }
2210 Py_INCREF(Py_None); resultobj = Py_None;
2211 return resultobj;
2212 fail:
2213 return NULL;
2214 }
2215
2216
2217 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2218 PyObject *resultobj;
2219 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2220 wxMenuItem *result;
2221 PyObject * obj0 = 0 ;
2222 char *kwnames[] = {
2223 (char *) "self", NULL
2224 };
2225
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
2235 {
2236 resultobj = wxPyMake_wxObject(result);
2237 }
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2247 int result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 result = (int)(arg1)->GetFlags();
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 resultobj = PyInt_FromLong((long)result);
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject *resultobj;
2271 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2272 int result;
2273 PyObject * obj0 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = (int)(arg1)->GetKeyCode();
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 resultobj = PyInt_FromLong((long)result);
2288 return resultobj;
2289 fail:
2290 return NULL;
2291 }
2292
2293
2294 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2297 int result;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = (int)(arg1)->GetCommand();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 resultobj = PyInt_FromLong((long)result);
2313 return resultobj;
2314 fail:
2315 return NULL;
2316 }
2317
2318
2319 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
2320 PyObject *obj;
2321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2322 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
2323 Py_INCREF(obj);
2324 return Py_BuildValue((char *)"");
2325 }
2326 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2327 PyObject *resultobj;
2328 int arg1 ;
2329 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
2330 wxAcceleratorTable *result;
2331 PyObject * obj0 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "n", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
2337 {
2338 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
2339 if (arg2) arg1 = PyList_Size(obj0);
2340 else arg1 = 0;
2341 }
2342 {
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
2345
2346 wxPyEndAllowThreads(__tstate);
2347 if (PyErr_Occurred()) SWIG_fail;
2348 }
2349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
2350 {
2351 delete [] arg2;
2352 }
2353 return resultobj;
2354 fail:
2355 {
2356 delete [] arg2;
2357 }
2358 return NULL;
2359 }
2360
2361
2362 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2363 PyObject *resultobj;
2364 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2365 PyObject * obj0 = 0 ;
2366 char *kwnames[] = {
2367 (char *) "self", NULL
2368 };
2369
2370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2372 {
2373 PyThreadState* __tstate = wxPyBeginAllowThreads();
2374 delete arg1;
2375
2376 wxPyEndAllowThreads(__tstate);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 Py_INCREF(Py_None); resultobj = Py_None;
2380 return resultobj;
2381 fail:
2382 return NULL;
2383 }
2384
2385
2386 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2387 PyObject *resultobj;
2388 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2389 bool result;
2390 PyObject * obj0 = 0 ;
2391 char *kwnames[] = {
2392 (char *) "self", NULL
2393 };
2394
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2397 {
2398 PyThreadState* __tstate = wxPyBeginAllowThreads();
2399 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
2400
2401 wxPyEndAllowThreads(__tstate);
2402 if (PyErr_Occurred()) SWIG_fail;
2403 }
2404 resultobj = PyInt_FromLong((long)result);
2405 return resultobj;
2406 fail:
2407 return NULL;
2408 }
2409
2410
2411 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
2412 PyObject *obj;
2413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2414 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
2415 Py_INCREF(obj);
2416 return Py_BuildValue((char *)"");
2417 }
2418 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
2419 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
2420 return 1;
2421 }
2422
2423
2424 static PyObject *_wrap_NullAcceleratorTable_get() {
2425 PyObject *pyobj;
2426
2427 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
2428 return pyobj;
2429 }
2430
2431
2432 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
2433 PyObject *resultobj;
2434 wxString *arg1 = 0 ;
2435 wxAcceleratorEntry *result;
2436 bool temp1 = False ;
2437 PyObject * obj0 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "label", NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
2443 {
2444 arg1 = wxString_in_helper(obj0);
2445 if (arg1 == NULL) SWIG_fail;
2446 temp1 = True;
2447 }
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
2456 {
2457 if (temp1)
2458 delete arg1;
2459 }
2460 return resultobj;
2461 fail:
2462 {
2463 if (temp1)
2464 delete arg1;
2465 }
2466 return NULL;
2467 }
2468
2469
2470 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject *resultobj;
2472 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2473 bool arg2 = (bool) True ;
2474 PyObject * obj0 = 0 ;
2475 PyObject * obj1 = 0 ;
2476 char *kwnames[] = {
2477 (char *) "self",(char *) "maximize", NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2482 if (obj1) {
2483 arg2 = PyInt_AsLong(obj1) ? true : false;
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 {
2487 PyThreadState* __tstate = wxPyBeginAllowThreads();
2488 (arg1)->Maximize(arg2);
2489
2490 wxPyEndAllowThreads(__tstate);
2491 if (PyErr_Occurred()) SWIG_fail;
2492 }
2493 Py_INCREF(Py_None); resultobj = Py_None;
2494 return resultobj;
2495 fail:
2496 return NULL;
2497 }
2498
2499
2500 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2503 PyObject * obj0 = 0 ;
2504 char *kwnames[] = {
2505 (char *) "self", NULL
2506 };
2507
2508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 (arg1)->Restore();
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 Py_INCREF(Py_None); resultobj = Py_None;
2518 return resultobj;
2519 fail:
2520 return NULL;
2521 }
2522
2523
2524 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2527 bool arg2 = (bool) True ;
2528 PyObject * obj0 = 0 ;
2529 PyObject * obj1 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self",(char *) "iconize", NULL
2532 };
2533
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2536 if (obj1) {
2537 arg2 = PyInt_AsLong(obj1) ? true : false;
2538 if (PyErr_Occurred()) SWIG_fail;
2539 }
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 (arg1)->Iconize(arg2);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551 }
2552
2553
2554 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2557 bool result;
2558 PyObject * obj0 = 0 ;
2559 char *kwnames[] = {
2560 (char *) "self", NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 resultobj = PyInt_FromLong((long)result);
2573 return resultobj;
2574 fail:
2575 return NULL;
2576 }
2577
2578
2579 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2580 PyObject *resultobj;
2581 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2582 bool result;
2583 PyObject * obj0 = 0 ;
2584 char *kwnames[] = {
2585 (char *) "self", NULL
2586 };
2587
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 resultobj = PyInt_FromLong((long)result);
2598 return resultobj;
2599 fail:
2600 return NULL;
2601 }
2602
2603
2604 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2607 wxIcon result;
2608 PyObject * obj0 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2615 {
2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
2617 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2618
2619 wxPyEndAllowThreads(__tstate);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 {
2623 wxIcon * resultptr;
2624 resultptr = new wxIcon((wxIcon &) result);
2625 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2626 }
2627 return resultobj;
2628 fail:
2629 return NULL;
2630 }
2631
2632
2633 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj;
2635 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2636 wxIcon *arg2 = 0 ;
2637 PyObject * obj0 = 0 ;
2638 PyObject * obj1 = 0 ;
2639 char *kwnames[] = {
2640 (char *) "self",(char *) "icon", NULL
2641 };
2642
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2646 if (arg2 == NULL) {
2647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2648 }
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 (arg1)->SetIcon((wxIcon const &)*arg2);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 Py_INCREF(Py_None); resultobj = Py_None;
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2666 wxIconBundle *arg2 = 0 ;
2667 PyObject * obj0 = 0 ;
2668 PyObject * obj1 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self",(char *) "icons", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2676 if (arg2 == NULL) {
2677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2678 }
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 Py_INCREF(Py_None); resultobj = Py_None;
2687 return resultobj;
2688 fail:
2689 return NULL;
2690 }
2691
2692
2693 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2694 PyObject *resultobj;
2695 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2696 bool arg2 ;
2697 long arg3 = (long) wxFULLSCREEN_ALL ;
2698 bool result;
2699 PyObject * obj0 = 0 ;
2700 PyObject * obj1 = 0 ;
2701 char *kwnames[] = {
2702 (char *) "self",(char *) "show",(char *) "style", NULL
2703 };
2704
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2707 arg2 = PyInt_AsLong(obj1) ? true : false;
2708 if (PyErr_Occurred()) SWIG_fail;
2709 {
2710 PyThreadState* __tstate = wxPyBeginAllowThreads();
2711 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2712
2713 wxPyEndAllowThreads(__tstate);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 resultobj = PyInt_FromLong((long)result);
2717 return resultobj;
2718 fail:
2719 return NULL;
2720 }
2721
2722
2723 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2726 bool result;
2727 PyObject * obj0 = 0 ;
2728 char *kwnames[] = {
2729 (char *) "self", NULL
2730 };
2731
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 resultobj = PyInt_FromLong((long)result);
2742 return resultobj;
2743 fail:
2744 return NULL;
2745 }
2746
2747
2748 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2749 PyObject *resultobj;
2750 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2751 wxString *arg2 = 0 ;
2752 bool temp2 = False ;
2753 PyObject * obj0 = 0 ;
2754 PyObject * obj1 = 0 ;
2755 char *kwnames[] = {
2756 (char *) "self",(char *) "title", NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2761 {
2762 arg2 = wxString_in_helper(obj1);
2763 if (arg2 == NULL) SWIG_fail;
2764 temp2 = True;
2765 }
2766 {
2767 PyThreadState* __tstate = wxPyBeginAllowThreads();
2768 (arg1)->SetTitle((wxString const &)*arg2);
2769
2770 wxPyEndAllowThreads(__tstate);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 Py_INCREF(Py_None); resultobj = Py_None;
2774 {
2775 if (temp2)
2776 delete arg2;
2777 }
2778 return resultobj;
2779 fail:
2780 {
2781 if (temp2)
2782 delete arg2;
2783 }
2784 return NULL;
2785 }
2786
2787
2788 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj;
2790 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2791 wxString result;
2792 PyObject * obj0 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 {
2807 #if wxUSE_UNICODE
2808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2809 #else
2810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2811 #endif
2812 }
2813 return resultobj;
2814 fail:
2815 return NULL;
2816 }
2817
2818
2819 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2820 PyObject *resultobj;
2821 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2822 wxRegion *arg2 = 0 ;
2823 bool result;
2824 PyObject * obj0 = 0 ;
2825 PyObject * obj1 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "self",(char *) "region", NULL
2828 };
2829
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2833 if (arg2 == NULL) {
2834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2835 }
2836 {
2837 PyThreadState* __tstate = wxPyBeginAllowThreads();
2838 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2839
2840 wxPyEndAllowThreads(__tstate);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 resultobj = PyInt_FromLong((long)result);
2844 return resultobj;
2845 fail:
2846 return NULL;
2847 }
2848
2849
2850 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2851 PyObject *obj;
2852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2853 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2854 Py_INCREF(obj);
2855 return Py_BuildValue((char *)"");
2856 }
2857 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxWindow *arg1 = (wxWindow *) 0 ;
2860 int arg2 ;
2861 wxString *arg3 = 0 ;
2862 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2863 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2864 wxSize const &arg5_defvalue = wxDefaultSize ;
2865 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2866 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2867 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2868 wxString *arg7 = (wxString *) &arg7_defvalue ;
2869 wxFrame *result;
2870 bool temp3 = False ;
2871 wxPoint temp4 ;
2872 wxSize temp5 ;
2873 bool temp7 = False ;
2874 PyObject * obj0 = 0 ;
2875 PyObject * obj2 = 0 ;
2876 PyObject * obj3 = 0 ;
2877 PyObject * obj4 = 0 ;
2878 PyObject * obj6 = 0 ;
2879 char *kwnames[] = {
2880 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2881 };
2882
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2885 {
2886 arg3 = wxString_in_helper(obj2);
2887 if (arg3 == NULL) SWIG_fail;
2888 temp3 = True;
2889 }
2890 if (obj3) {
2891 {
2892 arg4 = &temp4;
2893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2894 }
2895 }
2896 if (obj4) {
2897 {
2898 arg5 = &temp5;
2899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2900 }
2901 }
2902 if (obj6) {
2903 {
2904 arg7 = wxString_in_helper(obj6);
2905 if (arg7 == NULL) SWIG_fail;
2906 temp7 = True;
2907 }
2908 }
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 {
2917 resultobj = wxPyMake_wxObject(result);
2918 }
2919 {
2920 if (temp3)
2921 delete arg3;
2922 }
2923 {
2924 if (temp7)
2925 delete arg7;
2926 }
2927 return resultobj;
2928 fail:
2929 {
2930 if (temp3)
2931 delete arg3;
2932 }
2933 {
2934 if (temp7)
2935 delete arg7;
2936 }
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxFrame *result;
2944 char *kwnames[] = {
2945 NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 result = (wxFrame *)new wxFrame();
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 {
2957 resultobj = wxPyMake_wxObject(result);
2958 }
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxFrame *arg1 = (wxFrame *) 0 ;
2968 wxWindow *arg2 = (wxWindow *) 0 ;
2969 int arg3 ;
2970 wxString *arg4 = 0 ;
2971 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2972 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2973 wxSize const &arg6_defvalue = wxDefaultSize ;
2974 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2975 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2976 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2977 wxString *arg8 = (wxString *) &arg8_defvalue ;
2978 bool result;
2979 bool temp4 = False ;
2980 wxPoint temp5 ;
2981 wxSize temp6 ;
2982 bool temp8 = False ;
2983 PyObject * obj0 = 0 ;
2984 PyObject * obj1 = 0 ;
2985 PyObject * obj3 = 0 ;
2986 PyObject * obj4 = 0 ;
2987 PyObject * obj5 = 0 ;
2988 PyObject * obj7 = 0 ;
2989 char *kwnames[] = {
2990 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2991 };
2992
2993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2996 {
2997 arg4 = wxString_in_helper(obj3);
2998 if (arg4 == NULL) SWIG_fail;
2999 temp4 = True;
3000 }
3001 if (obj4) {
3002 {
3003 arg5 = &temp5;
3004 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3005 }
3006 }
3007 if (obj5) {
3008 {
3009 arg6 = &temp6;
3010 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3011 }
3012 }
3013 if (obj7) {
3014 {
3015 arg8 = wxString_in_helper(obj7);
3016 if (arg8 == NULL) SWIG_fail;
3017 temp8 = True;
3018 }
3019 }
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 resultobj = PyInt_FromLong((long)result);
3028 {
3029 if (temp4)
3030 delete arg4;
3031 }
3032 {
3033 if (temp8)
3034 delete arg8;
3035 }
3036 return resultobj;
3037 fail:
3038 {
3039 if (temp4)
3040 delete arg4;
3041 }
3042 {
3043 if (temp8)
3044 delete arg8;
3045 }
3046 return NULL;
3047 }
3048
3049
3050 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxFrame *arg1 = (wxFrame *) 0 ;
3053 wxPoint result;
3054 PyObject * obj0 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "self", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 wxPoint * resultptr;
3070 resultptr = new wxPoint((wxPoint &) result);
3071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3072 }
3073 return resultobj;
3074 fail:
3075 return NULL;
3076 }
3077
3078
3079 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject *resultobj;
3081 wxFrame *arg1 = (wxFrame *) 0 ;
3082 PyObject * obj0 = 0 ;
3083 char *kwnames[] = {
3084 (char *) "self", NULL
3085 };
3086
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 (arg1)->SendSizeEvent();
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 }
3096 Py_INCREF(Py_None); resultobj = Py_None;
3097 return resultobj;
3098 fail:
3099 return NULL;
3100 }
3101
3102
3103 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj;
3105 wxFrame *arg1 = (wxFrame *) 0 ;
3106 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self",(char *) "menubar", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 (arg1)->SetMenuBar(arg2);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 Py_INCREF(Py_None); resultobj = Py_None;
3124 return resultobj;
3125 fail:
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxFrame *arg1 = (wxFrame *) 0 ;
3133 wxMenuBar *result;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 {
3149 resultobj = wxPyMake_wxObject(result);
3150 }
3151 return resultobj;
3152 fail:
3153 return NULL;
3154 }
3155
3156
3157 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj;
3159 wxFrame *arg1 = (wxFrame *) 0 ;
3160 int arg2 ;
3161 bool result;
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self",(char *) "winid", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = (bool)(arg1)->ProcessCommand(arg2);
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 resultobj = PyInt_FromLong((long)result);
3177 return resultobj;
3178 fail:
3179 return NULL;
3180 }
3181
3182
3183 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3184 PyObject *resultobj;
3185 wxFrame *arg1 = (wxFrame *) 0 ;
3186 int arg2 = (int) 1 ;
3187 long arg3 = (long) wxST_SIZEGRIP ;
3188 int arg4 = (int) 0 ;
3189 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3190 wxString *arg5 = (wxString *) &arg5_defvalue ;
3191 wxStatusBar *result;
3192 bool temp5 = False ;
3193 PyObject * obj0 = 0 ;
3194 PyObject * obj4 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201 if (obj4) {
3202 {
3203 arg5 = wxString_in_helper(obj4);
3204 if (arg5 == NULL) SWIG_fail;
3205 temp5 = True;
3206 }
3207 }
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 {
3216 resultobj = wxPyMake_wxObject(result);
3217 }
3218 {
3219 if (temp5)
3220 delete arg5;
3221 }
3222 return resultobj;
3223 fail:
3224 {
3225 if (temp5)
3226 delete arg5;
3227 }
3228 return NULL;
3229 }
3230
3231
3232 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 wxFrame *arg1 = (wxFrame *) 0 ;
3235 wxStatusBar *result;
3236 PyObject * obj0 = 0 ;
3237 char *kwnames[] = {
3238 (char *) "self", NULL
3239 };
3240
3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 {
3251 resultobj = wxPyMake_wxObject(result);
3252 }
3253 return resultobj;
3254 fail:
3255 return NULL;
3256 }
3257
3258
3259 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3260 PyObject *resultobj;
3261 wxFrame *arg1 = (wxFrame *) 0 ;
3262 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3263 PyObject * obj0 = 0 ;
3264 PyObject * obj1 = 0 ;
3265 char *kwnames[] = {
3266 (char *) "self",(char *) "statBar", NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->SetStatusBar(arg2);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxFrame *arg1 = (wxFrame *) 0 ;
3289 wxString *arg2 = 0 ;
3290 int arg3 = (int) 0 ;
3291 bool temp2 = False ;
3292 PyObject * obj0 = 0 ;
3293 PyObject * obj1 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self",(char *) "text",(char *) "number", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3300 {
3301 arg2 = wxString_in_helper(obj1);
3302 if (arg2 == NULL) SWIG_fail;
3303 temp2 = True;
3304 }
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 {
3314 if (temp2)
3315 delete arg2;
3316 }
3317 return resultobj;
3318 fail:
3319 {
3320 if (temp2)
3321 delete arg2;
3322 }
3323 return NULL;
3324 }
3325
3326
3327 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxFrame *arg1 = (wxFrame *) 0 ;
3330 int arg2 ;
3331 int *arg3 = (int *) 0 ;
3332 PyObject * obj0 = 0 ;
3333 PyObject * obj1 = 0 ;
3334 char *kwnames[] = {
3335 (char *) "self",(char *) "widths", NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3340 {
3341 arg2 = PyList_Size(obj1);
3342 arg3 = int_LIST_helper(obj1);
3343 if (arg3 == NULL) SWIG_fail;
3344 }
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 Py_INCREF(Py_None); resultobj = Py_None;
3353 {
3354 if (arg3) delete [] arg3;
3355 }
3356 return resultobj;
3357 fail:
3358 {
3359 if (arg3) delete [] arg3;
3360 }
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxFrame *arg1 = (wxFrame *) 0 ;
3368 wxString *arg2 = 0 ;
3369 int arg3 = (int) 0 ;
3370 bool temp2 = False ;
3371 PyObject * obj0 = 0 ;
3372 PyObject * obj1 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self",(char *) "text",(char *) "number", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3379 {
3380 arg2 = wxString_in_helper(obj1);
3381 if (arg2 == NULL) SWIG_fail;
3382 temp2 = True;
3383 }
3384 {
3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
3386 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 Py_INCREF(Py_None); resultobj = Py_None;
3392 {
3393 if (temp2)
3394 delete arg2;
3395 }
3396 return resultobj;
3397 fail:
3398 {
3399 if (temp2)
3400 delete arg2;
3401 }
3402 return NULL;
3403 }
3404
3405
3406 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject *resultobj;
3408 wxFrame *arg1 = (wxFrame *) 0 ;
3409 int arg2 = (int) 0 ;
3410 PyObject * obj0 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "number", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->PopStatusText(arg2);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxFrame *arg1 = (wxFrame *) 0 ;
3434 int arg2 ;
3435 PyObject * obj0 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self",(char *) "n", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 (arg1)->SetStatusBarPane(arg2);
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 Py_INCREF(Py_None); resultobj = Py_None;
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxFrame *arg1 = (wxFrame *) 0 ;
3459 int result;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 resultobj = PyInt_FromLong((long)result);
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxFrame *arg1 = (wxFrame *) 0 ;
3484 long arg2 = (long) -1 ;
3485 int arg3 = (int) -1 ;
3486 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3487 wxString *arg4 = (wxString *) &arg4_defvalue ;
3488 wxToolBar *result;
3489 bool temp4 = False ;
3490 PyObject * obj0 = 0 ;
3491 PyObject * obj3 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3498 if (obj3) {
3499 {
3500 arg4 = wxString_in_helper(obj3);
3501 if (arg4 == NULL) SWIG_fail;
3502 temp4 = True;
3503 }
3504 }
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3508
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 }
3512 {
3513 resultobj = wxPyMake_wxObject(result);
3514 }
3515 {
3516 if (temp4)
3517 delete arg4;
3518 }
3519 return resultobj;
3520 fail:
3521 {
3522 if (temp4)
3523 delete arg4;
3524 }
3525 return NULL;
3526 }
3527
3528
3529 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj;
3531 wxFrame *arg1 = (wxFrame *) 0 ;
3532 wxToolBar *result;
3533 PyObject * obj0 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = wxPyMake_wxObject(result);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxFrame *arg1 = (wxFrame *) 0 ;
3559 wxToolBar *arg2 = (wxToolBar *) 0 ;
3560 PyObject * obj0 = 0 ;
3561 PyObject * obj1 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self",(char *) "toolbar", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 (arg1)->SetToolBar(arg2);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 Py_INCREF(Py_None); resultobj = Py_None;
3577 return resultobj;
3578 fail:
3579 return NULL;
3580 }
3581
3582
3583 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxFrame *arg1 = (wxFrame *) 0 ;
3586 wxString *arg2 = 0 ;
3587 bool arg3 ;
3588 bool temp2 = False ;
3589 PyObject * obj0 = 0 ;
3590 PyObject * obj1 = 0 ;
3591 PyObject * obj2 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self",(char *) "text",(char *) "show", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3598 {
3599 arg2 = wxString_in_helper(obj1);
3600 if (arg2 == NULL) SWIG_fail;
3601 temp2 = True;
3602 }
3603 arg3 = PyInt_AsLong(obj2) ? true : false;
3604 if (PyErr_Occurred()) SWIG_fail;
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
3612 Py_INCREF(Py_None); resultobj = Py_None;
3613 {
3614 if (temp2)
3615 delete arg2;
3616 }
3617 return resultobj;
3618 fail:
3619 {
3620 if (temp2)
3621 delete arg2;
3622 }
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxFrame *arg1 = (wxFrame *) 0 ;
3630 wxMenu *arg2 = (wxMenu *) NULL ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "menu", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3639 if (obj1) {
3640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3641 }
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 (arg1)->DoMenuUpdates(arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3657 PyObject *obj;
3658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3659 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3660 Py_INCREF(obj);
3661 return Py_BuildValue((char *)"");
3662 }
3663 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxWindow *arg1 = (wxWindow *) 0 ;
3666 int arg2 ;
3667 wxString *arg3 = 0 ;
3668 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3669 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3670 wxSize const &arg5_defvalue = wxDefaultSize ;
3671 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3672 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3673 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3674 wxString *arg7 = (wxString *) &arg7_defvalue ;
3675 wxDialog *result;
3676 bool temp3 = False ;
3677 wxPoint temp4 ;
3678 wxSize temp5 ;
3679 bool temp7 = False ;
3680 PyObject * obj0 = 0 ;
3681 PyObject * obj2 = 0 ;
3682 PyObject * obj3 = 0 ;
3683 PyObject * obj4 = 0 ;
3684 PyObject * obj6 = 0 ;
3685 char *kwnames[] = {
3686 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3687 };
3688
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3691 {
3692 arg3 = wxString_in_helper(obj2);
3693 if (arg3 == NULL) SWIG_fail;
3694 temp3 = True;
3695 }
3696 if (obj3) {
3697 {
3698 arg4 = &temp4;
3699 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3700 }
3701 }
3702 if (obj4) {
3703 {
3704 arg5 = &temp5;
3705 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3706 }
3707 }
3708 if (obj6) {
3709 {
3710 arg7 = wxString_in_helper(obj6);
3711 if (arg7 == NULL) SWIG_fail;
3712 temp7 = True;
3713 }
3714 }
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3723 {
3724 if (temp3)
3725 delete arg3;
3726 }
3727 {
3728 if (temp7)
3729 delete arg7;
3730 }
3731 return resultobj;
3732 fail:
3733 {
3734 if (temp3)
3735 delete arg3;
3736 }
3737 {
3738 if (temp7)
3739 delete arg7;
3740 }
3741 return NULL;
3742 }
3743
3744
3745 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject *resultobj;
3747 wxDialog *result;
3748 char *kwnames[] = {
3749 NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (wxDialog *)new wxDialog();
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3761 return resultobj;
3762 fail:
3763 return NULL;
3764 }
3765
3766
3767 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 wxDialog *arg1 = (wxDialog *) 0 ;
3770 wxWindow *arg2 = (wxWindow *) 0 ;
3771 int arg3 ;
3772 wxString *arg4 = 0 ;
3773 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3774 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3775 wxSize const &arg6_defvalue = wxDefaultSize ;
3776 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3777 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3778 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3779 wxString *arg8 = (wxString *) &arg8_defvalue ;
3780 bool result;
3781 bool temp4 = False ;
3782 wxPoint temp5 ;
3783 wxSize temp6 ;
3784 bool temp8 = False ;
3785 PyObject * obj0 = 0 ;
3786 PyObject * obj1 = 0 ;
3787 PyObject * obj3 = 0 ;
3788 PyObject * obj4 = 0 ;
3789 PyObject * obj5 = 0 ;
3790 PyObject * obj7 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3798 {
3799 arg4 = wxString_in_helper(obj3);
3800 if (arg4 == NULL) SWIG_fail;
3801 temp4 = True;
3802 }
3803 if (obj4) {
3804 {
3805 arg5 = &temp5;
3806 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3807 }
3808 }
3809 if (obj5) {
3810 {
3811 arg6 = &temp6;
3812 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3813 }
3814 }
3815 if (obj7) {
3816 {
3817 arg8 = wxString_in_helper(obj7);
3818 if (arg8 == NULL) SWIG_fail;
3819 temp8 = True;
3820 }
3821 }
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = PyInt_FromLong((long)result);
3830 {
3831 if (temp4)
3832 delete arg4;
3833 }
3834 {
3835 if (temp8)
3836 delete arg8;
3837 }
3838 return resultobj;
3839 fail:
3840 {
3841 if (temp4)
3842 delete arg4;
3843 }
3844 {
3845 if (temp8)
3846 delete arg8;
3847 }
3848 return NULL;
3849 }
3850
3851
3852 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 wxDialog *arg1 = (wxDialog *) 0 ;
3855 int arg2 ;
3856 PyObject * obj0 = 0 ;
3857 char *kwnames[] = {
3858 (char *) "self",(char *) "returnCode", NULL
3859 };
3860
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 (arg1)->SetReturnCode(arg2);
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 Py_INCREF(Py_None); resultobj = Py_None;
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxDialog *arg1 = (wxDialog *) 0 ;
3880 int result;
3881 PyObject * obj0 = 0 ;
3882 char *kwnames[] = {
3883 (char *) "self", NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 resultobj = PyInt_FromLong((long)result);
3896 return resultobj;
3897 fail:
3898 return NULL;
3899 }
3900
3901
3902 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxDialog *arg1 = (wxDialog *) 0 ;
3905 wxString *arg2 = 0 ;
3906 wxSizer *result;
3907 bool temp2 = False ;
3908 PyObject * obj0 = 0 ;
3909 PyObject * obj1 = 0 ;
3910 char *kwnames[] = {
3911 (char *) "self",(char *) "message", NULL
3912 };
3913
3914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3916 {
3917 arg2 = wxString_in_helper(obj1);
3918 if (arg2 == NULL) SWIG_fail;
3919 temp2 = True;
3920 }
3921 {
3922 PyThreadState* __tstate = wxPyBeginAllowThreads();
3923 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3924
3925 wxPyEndAllowThreads(__tstate);
3926 if (PyErr_Occurred()) SWIG_fail;
3927 }
3928 {
3929 resultobj = wxPyMake_wxSizer(result);
3930 }
3931 {
3932 if (temp2)
3933 delete arg2;
3934 }
3935 return resultobj;
3936 fail:
3937 {
3938 if (temp2)
3939 delete arg2;
3940 }
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxDialog *arg1 = (wxDialog *) 0 ;
3948 long arg2 ;
3949 wxSizer *result;
3950 PyObject * obj0 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "self",(char *) "flags", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3960
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 {
3965 resultobj = wxPyMake_wxSizer(result);
3966 }
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxDialog *arg1 = (wxDialog *) 0 ;
3976 bool arg2 ;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self",(char *) "flag", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3985 arg2 = PyInt_AsLong(obj1) ? true : false;
3986 if (PyErr_Occurred()) SWIG_fail;
3987 {
3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
3989 (arg1)->SetModal(arg2);
3990
3991 wxPyEndAllowThreads(__tstate);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
3994 Py_INCREF(Py_None); resultobj = Py_None;
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject *resultobj;
4003 wxDialog *arg1 = (wxDialog *) 0 ;
4004 bool result;
4005 PyObject * obj0 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "self", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = (bool)((wxDialog const *)arg1)->IsModal();
4015
4016 wxPyEndAllowThreads(__tstate);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 }
4019 resultobj = PyInt_FromLong((long)result);
4020 return resultobj;
4021 fail:
4022 return NULL;
4023 }
4024
4025
4026 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4027 PyObject *resultobj;
4028 wxDialog *arg1 = (wxDialog *) 0 ;
4029 int result;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (int)(arg1)->ShowModal();
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = PyInt_FromLong((long)result);
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxDialog *arg1 = (wxDialog *) 0 ;
4054 int arg2 ;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "retCode", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->EndModal(arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxDialog *arg1 = (wxDialog *) 0 ;
4079 bool result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (bool)wxDialog_IsModalShowing(arg1);
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = PyInt_FromLong((long)result);
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4102 PyObject *obj;
4103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4104 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4105 Py_INCREF(obj);
4106 return Py_BuildValue((char *)"");
4107 }
4108 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4109 PyObject *resultobj;
4110 wxWindow *arg1 = (wxWindow *) 0 ;
4111 int arg2 ;
4112 wxString *arg3 = 0 ;
4113 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4114 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4115 wxSize const &arg5_defvalue = wxDefaultSize ;
4116 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4117 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4118 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4119 wxString *arg7 = (wxString *) &arg7_defvalue ;
4120 wxMiniFrame *result;
4121 bool temp3 = False ;
4122 wxPoint temp4 ;
4123 wxSize temp5 ;
4124 bool temp7 = False ;
4125 PyObject * obj0 = 0 ;
4126 PyObject * obj2 = 0 ;
4127 PyObject * obj3 = 0 ;
4128 PyObject * obj4 = 0 ;
4129 PyObject * obj6 = 0 ;
4130 char *kwnames[] = {
4131 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4136 {
4137 arg3 = wxString_in_helper(obj2);
4138 if (arg3 == NULL) SWIG_fail;
4139 temp3 = True;
4140 }
4141 if (obj3) {
4142 {
4143 arg4 = &temp4;
4144 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4145 }
4146 }
4147 if (obj4) {
4148 {
4149 arg5 = &temp5;
4150 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4151 }
4152 }
4153 if (obj6) {
4154 {
4155 arg7 = wxString_in_helper(obj6);
4156 if (arg7 == NULL) SWIG_fail;
4157 temp7 = True;
4158 }
4159 }
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4168 {
4169 if (temp3)
4170 delete arg3;
4171 }
4172 {
4173 if (temp7)
4174 delete arg7;
4175 }
4176 return resultobj;
4177 fail:
4178 {
4179 if (temp3)
4180 delete arg3;
4181 }
4182 {
4183 if (temp7)
4184 delete arg7;
4185 }
4186 return NULL;
4187 }
4188
4189
4190 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj;
4192 wxMiniFrame *result;
4193 char *kwnames[] = {
4194 NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = (wxMiniFrame *)new wxMiniFrame();
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4215 wxWindow *arg2 = (wxWindow *) 0 ;
4216 int arg3 ;
4217 wxString *arg4 = 0 ;
4218 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4219 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4220 wxSize const &arg6_defvalue = wxDefaultSize ;
4221 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4222 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4223 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4224 wxString *arg8 = (wxString *) &arg8_defvalue ;
4225 bool result;
4226 bool temp4 = False ;
4227 wxPoint temp5 ;
4228 wxSize temp6 ;
4229 bool temp8 = False ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 PyObject * obj3 = 0 ;
4233 PyObject * obj4 = 0 ;
4234 PyObject * obj5 = 0 ;
4235 PyObject * obj7 = 0 ;
4236 char *kwnames[] = {
4237 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4238 };
4239
4240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4243 {
4244 arg4 = wxString_in_helper(obj3);
4245 if (arg4 == NULL) SWIG_fail;
4246 temp4 = True;
4247 }
4248 if (obj4) {
4249 {
4250 arg5 = &temp5;
4251 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4252 }
4253 }
4254 if (obj5) {
4255 {
4256 arg6 = &temp6;
4257 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4258 }
4259 }
4260 if (obj7) {
4261 {
4262 arg8 = wxString_in_helper(obj7);
4263 if (arg8 == NULL) SWIG_fail;
4264 temp8 = True;
4265 }
4266 }
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
4269 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4270
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 resultobj = PyInt_FromLong((long)result);
4275 {
4276 if (temp4)
4277 delete arg4;
4278 }
4279 {
4280 if (temp8)
4281 delete arg8;
4282 }
4283 return resultobj;
4284 fail:
4285 {
4286 if (temp4)
4287 delete arg4;
4288 }
4289 {
4290 if (temp8)
4291 delete arg8;
4292 }
4293 return NULL;
4294 }
4295
4296
4297 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4298 PyObject *obj;
4299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4300 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4301 Py_INCREF(obj);
4302 return Py_BuildValue((char *)"");
4303 }
4304 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxBitmap *arg1 = 0 ;
4307 wxWindow *arg2 = (wxWindow *) 0 ;
4308 int arg3 ;
4309 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4310 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4311 wxSize const &arg5_defvalue = wxDefaultSize ;
4312 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4313 long arg6 = (long) wxNO_BORDER ;
4314 wxSplashScreenWindow *result;
4315 wxPoint temp4 ;
4316 wxSize temp5 ;
4317 PyObject * obj0 = 0 ;
4318 PyObject * obj1 = 0 ;
4319 PyObject * obj3 = 0 ;
4320 PyObject * obj4 = 0 ;
4321 char *kwnames[] = {
4322 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4323 };
4324
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4327 if (arg1 == NULL) {
4328 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4329 }
4330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4331 if (obj3) {
4332 {
4333 arg4 = &temp4;
4334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4335 }
4336 }
4337 if (obj4) {
4338 {
4339 arg5 = &temp5;
4340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4341 }
4342 }
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4351 return resultobj;
4352 fail:
4353 return NULL;
4354 }
4355
4356
4357 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4360 wxBitmap *arg2 = 0 ;
4361 PyObject * obj0 = 0 ;
4362 PyObject * obj1 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self",(char *) "bitmap", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 if (arg2 == NULL) {
4371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4372 }
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 Py_INCREF(Py_None); resultobj = Py_None;
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj;
4389 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4390 wxBitmap *result;
4391 PyObject * obj0 = 0 ;
4392 char *kwnames[] = {
4393 (char *) "self", NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4398 {
4399 PyThreadState* __tstate = wxPyBeginAllowThreads();
4400 {
4401 wxBitmap &_result_ref = (arg1)->GetBitmap();
4402 result = (wxBitmap *) &_result_ref;
4403 }
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4409 return resultobj;
4410 fail:
4411 return NULL;
4412 }
4413
4414
4415 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4416 PyObject *obj;
4417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4418 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4419 Py_INCREF(obj);
4420 return Py_BuildValue((char *)"");
4421 }
4422 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj;
4424 wxBitmap *arg1 = 0 ;
4425 long arg2 ;
4426 int arg3 ;
4427 wxWindow *arg4 = (wxWindow *) 0 ;
4428 int arg5 ;
4429 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4430 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4431 wxSize const &arg7_defvalue = wxDefaultSize ;
4432 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4433 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4434 wxSplashScreen *result;
4435 wxPoint temp6 ;
4436 wxSize temp7 ;
4437 PyObject * obj0 = 0 ;
4438 PyObject * obj3 = 0 ;
4439 PyObject * obj5 = 0 ;
4440 PyObject * obj6 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 if (arg1 == NULL) {
4448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4449 }
4450 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4451 if (obj5) {
4452 {
4453 arg6 = &temp6;
4454 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4455 }
4456 }
4457 if (obj6) {
4458 {
4459 arg7 = &temp7;
4460 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4461 }
4462 }
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj;
4479 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4480 long result;
4481 PyObject * obj0 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 resultobj = PyInt_FromLong((long)result);
4496 return resultobj;
4497 fail:
4498 return NULL;
4499 }
4500
4501
4502 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj;
4504 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4505 wxSplashScreenWindow *result;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4530 int result;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 resultobj = PyInt_FromLong((long)result);
4546 return resultobj;
4547 fail:
4548 return NULL;
4549 }
4550
4551
4552 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4553 PyObject *obj;
4554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4555 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4556 Py_INCREF(obj);
4557 return Py_BuildValue((char *)"");
4558 }
4559 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxWindow *arg1 = (wxWindow *) 0 ;
4562 int arg2 = (int) -1 ;
4563 long arg3 = (long) wxST_SIZEGRIP ;
4564 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4565 wxString *arg4 = (wxString *) &arg4_defvalue ;
4566 wxStatusBar *result;
4567 bool temp4 = False ;
4568 PyObject * obj0 = 0 ;
4569 PyObject * obj3 = 0 ;
4570 char *kwnames[] = {
4571 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4576 if (obj3) {
4577 {
4578 arg4 = wxString_in_helper(obj3);
4579 if (arg4 == NULL) SWIG_fail;
4580 temp4 = True;
4581 }
4582 }
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 {
4591 resultobj = wxPyMake_wxObject(result);
4592 }
4593 {
4594 if (temp4)
4595 delete arg4;
4596 }
4597 return resultobj;
4598 fail:
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxStatusBar *result;
4610 char *kwnames[] = {
4611 NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = (wxStatusBar *)new wxStatusBar();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 {
4623 resultobj = wxPyMake_wxObject(result);
4624 }
4625 return resultobj;
4626 fail:
4627 return NULL;
4628 }
4629
4630
4631 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4634 wxWindow *arg2 = (wxWindow *) 0 ;
4635 int arg3 ;
4636 long arg4 = (long) wxST_SIZEGRIP ;
4637 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4638 wxString *arg5 = (wxString *) &arg5_defvalue ;
4639 bool result;
4640 bool temp5 = False ;
4641 PyObject * obj0 = 0 ;
4642 PyObject * obj1 = 0 ;
4643 PyObject * obj4 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4646 };
4647
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4651 if (obj4) {
4652 {
4653 arg5 = wxString_in_helper(obj4);
4654 if (arg5 == NULL) SWIG_fail;
4655 temp5 = True;
4656 }
4657 }
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 resultobj = PyInt_FromLong((long)result);
4666 {
4667 if (temp5)
4668 delete arg5;
4669 }
4670 return resultobj;
4671 fail:
4672 {
4673 if (temp5)
4674 delete arg5;
4675 }
4676 return NULL;
4677 }
4678
4679
4680 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4681 PyObject *resultobj;
4682 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4683 int arg2 = (int) 1 ;
4684 PyObject * obj0 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "self",(char *) "number", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 (arg1)->SetFieldsCount(arg2);
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 Py_INCREF(Py_None); resultobj = Py_None;
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4708 int result;
4709 PyObject * obj0 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "self", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = PyInt_FromLong((long)result);
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4733 wxString *arg2 = 0 ;
4734 int arg3 = (int) 0 ;
4735 bool temp2 = False ;
4736 PyObject * obj0 = 0 ;
4737 PyObject * obj1 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "self",(char *) "text",(char *) "number", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4744 {
4745 arg2 = wxString_in_helper(obj1);
4746 if (arg2 == NULL) SWIG_fail;
4747 temp2 = True;
4748 }
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 Py_INCREF(Py_None); resultobj = Py_None;
4757 {
4758 if (temp2)
4759 delete arg2;
4760 }
4761 return resultobj;
4762 fail:
4763 {
4764 if (temp2)
4765 delete arg2;
4766 }
4767 return NULL;
4768 }
4769
4770
4771 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4774 int arg2 = (int) 0 ;
4775 wxString result;
4776 PyObject * obj0 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self",(char *) "number", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 {
4791 #if wxUSE_UNICODE
4792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4793 #else
4794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4795 #endif
4796 }
4797 return resultobj;
4798 fail:
4799 return NULL;
4800 }
4801
4802
4803 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4804 PyObject *resultobj;
4805 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4806 wxString *arg2 = 0 ;
4807 int arg3 = (int) 0 ;
4808 bool temp2 = False ;
4809 PyObject * obj0 = 0 ;
4810 PyObject * obj1 = 0 ;
4811 char *kwnames[] = {
4812 (char *) "self",(char *) "text",(char *) "number", NULL
4813 };
4814
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4817 {
4818 arg2 = wxString_in_helper(obj1);
4819 if (arg2 == NULL) SWIG_fail;
4820 temp2 = True;
4821 }
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4825
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 Py_INCREF(Py_None); resultobj = Py_None;
4830 {
4831 if (temp2)
4832 delete arg2;
4833 }
4834 return resultobj;
4835 fail:
4836 {
4837 if (temp2)
4838 delete arg2;
4839 }
4840 return NULL;
4841 }
4842
4843
4844 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4847 int arg2 = (int) 0 ;
4848 PyObject * obj0 = 0 ;
4849 char *kwnames[] = {
4850 (char *) "self",(char *) "number", NULL
4851 };
4852
4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 (arg1)->PopStatusText(arg2);
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 Py_INCREF(Py_None); resultobj = Py_None;
4863 return resultobj;
4864 fail:
4865 return NULL;
4866 }
4867
4868
4869 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4870 PyObject *resultobj;
4871 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4872 int arg2 ;
4873 int *arg3 = (int *) 0 ;
4874 PyObject * obj0 = 0 ;
4875 PyObject * obj1 = 0 ;
4876 char *kwnames[] = {
4877 (char *) "self",(char *) "widths", NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4882 {
4883 arg2 = PyList_Size(obj1);
4884 arg3 = int_LIST_helper(obj1);
4885 if (arg3 == NULL) SWIG_fail;
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 {
4896 if (arg3) delete [] arg3;
4897 }
4898 return resultobj;
4899 fail:
4900 {
4901 if (arg3) delete [] arg3;
4902 }
4903 return NULL;
4904 }
4905
4906
4907 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject *resultobj;
4909 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4910 int arg2 ;
4911 wxRect result;
4912 PyObject * obj0 = 0 ;
4913 char *kwnames[] = {
4914 (char *) "self",(char *) "i", NULL
4915 };
4916
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = wxStatusBar_GetFieldRect(arg1,arg2);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 {
4927 wxRect * resultptr;
4928 resultptr = new wxRect((wxRect &) result);
4929 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4930 }
4931 return resultobj;
4932 fail:
4933 return NULL;
4934 }
4935
4936
4937 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4938 PyObject *resultobj;
4939 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4940 int arg2 ;
4941 PyObject * obj0 = 0 ;
4942 char *kwnames[] = {
4943 (char *) "self",(char *) "height", NULL
4944 };
4945
4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 (arg1)->SetMinHeight(arg2);
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 Py_INCREF(Py_None); resultobj = Py_None;
4956 return resultobj;
4957 fail:
4958 return NULL;
4959 }
4960
4961
4962 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4965 int result;
4966 PyObject * obj0 = 0 ;
4967 char *kwnames[] = {
4968 (char *) "self", NULL
4969 };
4970
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 resultobj = PyInt_FromLong((long)result);
4981 return resultobj;
4982 fail:
4983 return NULL;
4984 }
4985
4986
4987 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4988 PyObject *resultobj;
4989 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4990 int result;
4991 PyObject * obj0 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 resultobj = PyInt_FromLong((long)result);
5006 return resultobj;
5007 fail:
5008 return NULL;
5009 }
5010
5011
5012 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5013 PyObject *obj;
5014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5015 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5016 Py_INCREF(obj);
5017 return Py_BuildValue((char *)"");
5018 }
5019 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj;
5021 wxWindow *arg1 = (wxWindow *) 0 ;
5022 int arg2 ;
5023 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5024 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5025 wxSize const &arg4_defvalue = wxDefaultSize ;
5026 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5027 long arg5 = (long) wxSP_3D ;
5028 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5029 wxString *arg6 = (wxString *) &arg6_defvalue ;
5030 wxSplitterWindow *result;
5031 wxPoint temp3 ;
5032 wxSize temp4 ;
5033 bool temp6 = False ;
5034 PyObject * obj0 = 0 ;
5035 PyObject * obj2 = 0 ;
5036 PyObject * obj3 = 0 ;
5037 PyObject * obj5 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5044 if (obj2) {
5045 {
5046 arg3 = &temp3;
5047 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5048 }
5049 }
5050 if (obj3) {
5051 {
5052 arg4 = &temp4;
5053 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5054 }
5055 }
5056 if (obj5) {
5057 {
5058 arg6 = wxString_in_helper(obj5);
5059 if (arg6 == NULL) SWIG_fail;
5060 temp6 = True;
5061 }
5062 }
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5071 {
5072 if (temp6)
5073 delete arg6;
5074 }
5075 return resultobj;
5076 fail:
5077 {
5078 if (temp6)
5079 delete arg6;
5080 }
5081 return NULL;
5082 }
5083
5084
5085 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj;
5087 wxSplitterWindow *result;
5088 char *kwnames[] = {
5089 NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 result = (wxSplitterWindow *)new wxSplitterWindow();
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5101 return resultobj;
5102 fail:
5103 return NULL;
5104 }
5105
5106
5107 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5110 wxWindow *arg2 = (wxWindow *) 0 ;
5111 int arg3 ;
5112 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5113 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5114 wxSize const &arg5_defvalue = wxDefaultSize ;
5115 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5116 long arg6 = (long) wxSP_3D ;
5117 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5118 wxString *arg7 = (wxString *) &arg7_defvalue ;
5119 bool result;
5120 wxPoint temp4 ;
5121 wxSize temp5 ;
5122 bool temp7 = False ;
5123 PyObject * obj0 = 0 ;
5124 PyObject * obj1 = 0 ;
5125 PyObject * obj3 = 0 ;
5126 PyObject * obj4 = 0 ;
5127 PyObject * obj6 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5135 if (obj3) {
5136 {
5137 arg4 = &temp4;
5138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5139 }
5140 }
5141 if (obj4) {
5142 {
5143 arg5 = &temp5;
5144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5145 }
5146 }
5147 if (obj6) {
5148 {
5149 arg7 = wxString_in_helper(obj6);
5150 if (arg7 == NULL) SWIG_fail;
5151 temp7 = True;
5152 }
5153 }
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 resultobj = PyInt_FromLong((long)result);
5162 {
5163 if (temp7)
5164 delete arg7;
5165 }
5166 return resultobj;
5167 fail:
5168 {
5169 if (temp7)
5170 delete arg7;
5171 }
5172 return NULL;
5173 }
5174
5175
5176 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5177 PyObject *resultobj;
5178 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5179 wxWindow *result;
5180 PyObject * obj0 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "self", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5187 {
5188 PyThreadState* __tstate = wxPyBeginAllowThreads();
5189 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5190
5191 wxPyEndAllowThreads(__tstate);
5192 if (PyErr_Occurred()) SWIG_fail;
5193 }
5194 {
5195 resultobj = wxPyMake_wxObject(result);
5196 }
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5206 wxWindow *result;
5207 PyObject * obj0 = 0 ;
5208 char *kwnames[] = {
5209 (char *) "self", NULL
5210 };
5211
5212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
5221 {
5222 resultobj = wxPyMake_wxObject(result);
5223 }
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5233 int arg2 ;
5234 PyObject * obj0 = 0 ;
5235 char *kwnames[] = {
5236 (char *) "self",(char *) "mode", NULL
5237 };
5238
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 (arg1)->SetSplitMode(arg2);
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 Py_INCREF(Py_None); resultobj = Py_None;
5249 return resultobj;
5250 fail:
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5258 int result;
5259 PyObject * obj0 = 0 ;
5260 char *kwnames[] = {
5261 (char *) "self", NULL
5262 };
5263
5264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5266 {
5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
5268 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 resultobj = PyInt_FromLong((long)result);
5274 return resultobj;
5275 fail:
5276 return NULL;
5277 }
5278
5279
5280 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5281 PyObject *resultobj;
5282 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5283 wxWindow *arg2 = (wxWindow *) 0 ;
5284 PyObject * obj0 = 0 ;
5285 PyObject * obj1 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self",(char *) "window", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 (arg1)->Initialize(arg2);
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 Py_INCREF(Py_None); resultobj = Py_None;
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5310 wxWindow *arg2 = (wxWindow *) 0 ;
5311 wxWindow *arg3 = (wxWindow *) 0 ;
5312 int arg4 = (int) 0 ;
5313 bool result;
5314 PyObject * obj0 = 0 ;
5315 PyObject * obj1 = 0 ;
5316 PyObject * obj2 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5324 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 resultobj = PyInt_FromLong((long)result);
5333 return resultobj;
5334 fail:
5335 return NULL;
5336 }
5337
5338
5339 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5342 wxWindow *arg2 = (wxWindow *) 0 ;
5343 wxWindow *arg3 = (wxWindow *) 0 ;
5344 int arg4 = (int) 0 ;
5345 bool result;
5346 PyObject * obj0 = 0 ;
5347 PyObject * obj1 = 0 ;
5348 PyObject * obj2 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5356 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 resultobj = PyInt_FromLong((long)result);
5365 return resultobj;
5366 fail:
5367 return NULL;
5368 }
5369
5370
5371 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5372 PyObject *resultobj;
5373 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5374 wxWindow *arg2 = (wxWindow *) NULL ;
5375 bool result;
5376 PyObject * obj0 = 0 ;
5377 PyObject * obj1 = 0 ;
5378 char *kwnames[] = {
5379 (char *) "self",(char *) "toRemove", NULL
5380 };
5381
5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5384 if (obj1) {
5385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (bool)(arg1)->Unsplit(arg2);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = PyInt_FromLong((long)result);
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj;
5403 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5404 wxWindow *arg2 = (wxWindow *) 0 ;
5405 wxWindow *arg3 = (wxWindow *) 0 ;
5406 bool result;
5407 PyObject * obj0 = 0 ;
5408 PyObject * obj1 = 0 ;
5409 PyObject * obj2 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5417 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 resultobj = PyInt_FromLong((long)result);
5426 return resultobj;
5427 fail:
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5435 bool result;
5436 PyObject * obj0 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "self", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = PyInt_FromLong((long)result);
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5460 int arg2 ;
5461 PyObject * obj0 = 0 ;
5462 char *kwnames[] = {
5463 (char *) "self",(char *) "width", NULL
5464 };
5465
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 (arg1)->SetSashSize(arg2);
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 Py_INCREF(Py_None); resultobj = Py_None;
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj;
5484 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5485 int arg2 ;
5486 PyObject * obj0 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self",(char *) "width", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 (arg1)->SetBorderSize(arg2);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 Py_INCREF(Py_None); resultobj = Py_None;
5501 return resultobj;
5502 fail:
5503 return NULL;
5504 }
5505
5506
5507 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj;
5509 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5510 int result;
5511 PyObject * obj0 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5518 {
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 resultobj = PyInt_FromLong((long)result);
5526 return resultobj;
5527 fail:
5528 return NULL;
5529 }
5530
5531
5532 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject *resultobj;
5534 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5535 int result;
5536 PyObject * obj0 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5546
5547 wxPyEndAllowThreads(__tstate);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 resultobj = PyInt_FromLong((long)result);
5551 return resultobj;
5552 fail:
5553 return NULL;
5554 }
5555
5556
5557 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj;
5559 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5560 int arg2 ;
5561 bool arg3 = (bool) True ;
5562 PyObject * obj0 = 0 ;
5563 PyObject * obj2 = 0 ;
5564 char *kwnames[] = {
5565 (char *) "self",(char *) "position",(char *) "redraw", NULL
5566 };
5567
5568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5570 if (obj2) {
5571 arg3 = PyInt_AsLong(obj2) ? true : false;
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 (arg1)->SetSashPosition(arg2,arg3);
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 Py_INCREF(Py_None); resultobj = Py_None;
5582 return resultobj;
5583 fail:
5584 return NULL;
5585 }
5586
5587
5588 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5589 PyObject *resultobj;
5590 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5591 int result;
5592 PyObject * obj0 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "self", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5599 {
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5602
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 resultobj = PyInt_FromLong((long)result);
5607 return resultobj;
5608 fail:
5609 return NULL;
5610 }
5611
5612
5613 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj;
5615 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5616 int arg2 ;
5617 PyObject * obj0 = 0 ;
5618 char *kwnames[] = {
5619 (char *) "self",(char *) "min", NULL
5620 };
5621
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5624 {
5625 PyThreadState* __tstate = wxPyBeginAllowThreads();
5626 (arg1)->SetMinimumPaneSize(arg2);
5627
5628 wxPyEndAllowThreads(__tstate);
5629 if (PyErr_Occurred()) SWIG_fail;
5630 }
5631 Py_INCREF(Py_None); resultobj = Py_None;
5632 return resultobj;
5633 fail:
5634 return NULL;
5635 }
5636
5637
5638 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5639 PyObject *resultobj;
5640 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5641 int result;
5642 PyObject * obj0 = 0 ;
5643 char *kwnames[] = {
5644 (char *) "self", NULL
5645 };
5646
5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5649 {
5650 PyThreadState* __tstate = wxPyBeginAllowThreads();
5651 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5652
5653 wxPyEndAllowThreads(__tstate);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
5656 resultobj = PyInt_FromLong((long)result);
5657 return resultobj;
5658 fail:
5659 return NULL;
5660 }
5661
5662
5663 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5664 PyObject *resultobj;
5665 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5666 int arg2 ;
5667 int arg3 ;
5668 int arg4 = (int) 5 ;
5669 bool result;
5670 PyObject * obj0 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5673 };
5674
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 resultobj = PyInt_FromLong((long)result);
5685 return resultobj;
5686 fail:
5687 return NULL;
5688 }
5689
5690
5691 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5694 PyObject * obj0 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 (arg1)->SizeWindows();
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 Py_INCREF(Py_None); resultobj = Py_None;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5718 bool arg2 ;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "needUpdating", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5727 arg2 = PyInt_AsLong(obj1) ? true : false;
5728 if (PyErr_Occurred()) SWIG_fail;
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 (arg1)->SetNeedUpdating(arg2);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 Py_INCREF(Py_None); resultobj = Py_None;
5737 return resultobj;
5738 fail:
5739 return NULL;
5740 }
5741
5742
5743 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5744 PyObject *resultobj;
5745 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5746 bool result;
5747 PyObject * obj0 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 resultobj = PyInt_FromLong((long)result);
5762 return resultobj;
5763 fail:
5764 return NULL;
5765 }
5766
5767
5768 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5769 PyObject *obj;
5770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5771 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5772 Py_INCREF(obj);
5773 return Py_BuildValue((char *)"");
5774 }
5775 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5778 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5779 wxSplitterEvent *result;
5780 PyObject * obj1 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "type",(char *) "splitter", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5786 if (obj1) {
5787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5797 return resultobj;
5798 fail:
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5806 int arg2 ;
5807 PyObject * obj0 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self",(char *) "pos", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 (arg1)->SetSashPosition(arg2);
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 Py_INCREF(Py_None); resultobj = Py_None;
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5831 int result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 resultobj = PyInt_FromLong((long)result);
5847 return resultobj;
5848 fail:
5849 return NULL;
5850 }
5851
5852
5853 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject *resultobj;
5855 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5856 wxWindow *result;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 {
5872 resultobj = wxPyMake_wxObject(result);
5873 }
5874 return resultobj;
5875 fail:
5876 return NULL;
5877 }
5878
5879
5880 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject *resultobj;
5882 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5883 int result;
5884 PyObject * obj0 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5894
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 resultobj = PyInt_FromLong((long)result);
5899 return resultobj;
5900 fail:
5901 return NULL;
5902 }
5903
5904
5905 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5908 int result;
5909 PyObject * obj0 = 0 ;
5910 char *kwnames[] = {
5911 (char *) "self", NULL
5912 };
5913
5914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 resultobj = PyInt_FromLong((long)result);
5924 return resultobj;
5925 fail:
5926 return NULL;
5927 }
5928
5929
5930 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5931 PyObject *obj;
5932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5933 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5934 Py_INCREF(obj);
5935 return Py_BuildValue((char *)"");
5936 }
5937 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject *resultobj;
5939 wxWindow *arg1 = (wxWindow *) 0 ;
5940 int arg2 ;
5941 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5942 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5943 wxSize const &arg4_defvalue = wxDefaultSize ;
5944 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5945 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5946 wxString const &arg6_defvalue = wxPySashNameStr ;
5947 wxString *arg6 = (wxString *) &arg6_defvalue ;
5948 wxSashWindow *result;
5949 wxPoint temp3 ;
5950 wxSize temp4 ;
5951 bool temp6 = False ;
5952 PyObject * obj0 = 0 ;
5953 PyObject * obj2 = 0 ;
5954 PyObject * obj3 = 0 ;
5955 PyObject * obj5 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5962 if (obj2) {
5963 {
5964 arg3 = &temp3;
5965 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5966 }
5967 }
5968 if (obj3) {
5969 {
5970 arg4 = &temp4;
5971 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5972 }
5973 }
5974 if (obj5) {
5975 {
5976 arg6 = wxString_in_helper(obj5);
5977 if (arg6 == NULL) SWIG_fail;
5978 temp6 = True;
5979 }
5980 }
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5989 {
5990 if (temp6)
5991 delete arg6;
5992 }
5993 return resultobj;
5994 fail:
5995 {
5996 if (temp6)
5997 delete arg6;
5998 }
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxSashWindow *result;
6006 char *kwnames[] = {
6007 NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (wxSashWindow *)new wxSashWindow();
6014
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6019 return resultobj;
6020 fail:
6021 return NULL;
6022 }
6023
6024
6025 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj;
6027 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6028 wxWindow *arg2 = (wxWindow *) 0 ;
6029 int arg3 ;
6030 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6031 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6032 wxSize const &arg5_defvalue = wxDefaultSize ;
6033 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6034 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6035 wxString const &arg7_defvalue = wxPySashNameStr ;
6036 wxString *arg7 = (wxString *) &arg7_defvalue ;
6037 bool result;
6038 wxPoint temp4 ;
6039 wxSize temp5 ;
6040 bool temp7 = False ;
6041 PyObject * obj0 = 0 ;
6042 PyObject * obj1 = 0 ;
6043 PyObject * obj3 = 0 ;
6044 PyObject * obj4 = 0 ;
6045 PyObject * obj6 = 0 ;
6046 char *kwnames[] = {
6047 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6048 };
6049
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6053 if (obj3) {
6054 {
6055 arg4 = &temp4;
6056 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6057 }
6058 }
6059 if (obj4) {
6060 {
6061 arg5 = &temp5;
6062 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6063 }
6064 }
6065 if (obj6) {
6066 {
6067 arg7 = wxString_in_helper(obj6);
6068 if (arg7 == NULL) SWIG_fail;
6069 temp7 = True;
6070 }
6071 }
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 resultobj = PyInt_FromLong((long)result);
6080 {
6081 if (temp7)
6082 delete arg7;
6083 }
6084 return resultobj;
6085 fail:
6086 {
6087 if (temp7)
6088 delete arg7;
6089 }
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6097 int arg2 ;
6098 bool arg3 ;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj2 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "edge",(char *) "sash", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6107 arg3 = PyInt_AsLong(obj2) ? true : false;
6108 if (PyErr_Occurred()) SWIG_fail;
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 Py_INCREF(Py_None); resultobj = Py_None;
6117 return resultobj;
6118 fail:
6119 return NULL;
6120 }
6121
6122
6123 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6126 int arg2 ;
6127 bool result;
6128 PyObject * obj0 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self",(char *) "edge", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 resultobj = PyInt_FromLong((long)result);
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6152 int arg2 ;
6153 bool arg3 ;
6154 PyObject * obj0 = 0 ;
6155 PyObject * obj2 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "self",(char *) "edge",(char *) "border", NULL
6158 };
6159
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6162 arg3 = PyInt_AsLong(obj2) ? true : false;
6163 if (PyErr_Occurred()) SWIG_fail;
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 Py_INCREF(Py_None); resultobj = Py_None;
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6181 int arg2 ;
6182 bool result;
6183 PyObject * obj0 = 0 ;
6184 char *kwnames[] = {
6185 (char *) "self",(char *) "edge", NULL
6186 };
6187
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 resultobj = PyInt_FromLong((long)result);
6198 return resultobj;
6199 fail:
6200 return NULL;
6201 }
6202
6203
6204 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6207 int arg2 ;
6208 int result;
6209 PyObject * obj0 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "self",(char *) "edge", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 resultobj = PyInt_FromLong((long)result);
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6231 PyObject *resultobj;
6232 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6233 int arg2 ;
6234 PyObject * obj0 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "width", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->SetDefaultBorderSize(arg2);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 Py_INCREF(Py_None); resultobj = Py_None;
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6258 int result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = PyInt_FromLong((long)result);
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6283 int arg2 ;
6284 PyObject * obj0 = 0 ;
6285 char *kwnames[] = {
6286 (char *) "self",(char *) "width", NULL
6287 };
6288
6289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6291 {
6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
6293 (arg1)->SetExtraBorderSize(arg2);
6294
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 Py_INCREF(Py_None); resultobj = Py_None;
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj;
6307 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6308 int result;
6309 PyObject * obj0 = 0 ;
6310 char *kwnames[] = {
6311 (char *) "self", NULL
6312 };
6313
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 resultobj = PyInt_FromLong((long)result);
6324 return resultobj;
6325 fail:
6326 return NULL;
6327 }
6328
6329
6330 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6333 int arg2 ;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self",(char *) "min", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetMinimumSizeX(arg2);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 Py_INCREF(Py_None); resultobj = Py_None;
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6358 int arg2 ;
6359 PyObject * obj0 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self",(char *) "min", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 (arg1)->SetMinimumSizeY(arg2);
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 Py_INCREF(Py_None); resultobj = Py_None;
6374 return resultobj;
6375 fail:
6376 return NULL;
6377 }
6378
6379
6380 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj;
6382 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6383 int result;
6384 PyObject * obj0 = 0 ;
6385 char *kwnames[] = {
6386 (char *) "self", NULL
6387 };
6388
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6394
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 }
6398 resultobj = PyInt_FromLong((long)result);
6399 return resultobj;
6400 fail:
6401 return NULL;
6402 }
6403
6404
6405 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6406 PyObject *resultobj;
6407 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6408 int result;
6409 PyObject * obj0 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "self", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 resultobj = PyInt_FromLong((long)result);
6424 return resultobj;
6425 fail:
6426 return NULL;
6427 }
6428
6429
6430 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6431 PyObject *resultobj;
6432 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6433 int arg2 ;
6434 PyObject * obj0 = 0 ;
6435 char *kwnames[] = {
6436 (char *) "self",(char *) "max", NULL
6437 };
6438
6439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 (arg1)->SetMaximumSizeX(arg2);
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 Py_INCREF(Py_None); resultobj = Py_None;
6449 return resultobj;
6450 fail:
6451 return NULL;
6452 }
6453
6454
6455 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6456 PyObject *resultobj;
6457 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6458 int arg2 ;
6459 PyObject * obj0 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self",(char *) "max", NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 (arg1)->SetMaximumSizeY(arg2);
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 Py_INCREF(Py_None); resultobj = Py_None;
6474 return resultobj;
6475 fail:
6476 return NULL;
6477 }
6478
6479
6480 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6481 PyObject *resultobj;
6482 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6483 int result;
6484 PyObject * obj0 = 0 ;
6485 char *kwnames[] = {
6486 (char *) "self", NULL
6487 };
6488
6489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 resultobj = PyInt_FromLong((long)result);
6499 return resultobj;
6500 fail:
6501 return NULL;
6502 }
6503
6504
6505 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject *resultobj;
6507 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6508 int result;
6509 PyObject * obj0 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6516 {
6517 PyThreadState* __tstate = wxPyBeginAllowThreads();
6518 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6519
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = PyInt_FromLong((long)result);
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6533 int arg2 ;
6534 int arg3 ;
6535 int arg4 = (int) 2 ;
6536 int result;
6537 PyObject * obj0 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 resultobj = PyInt_FromLong((long)result);
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj;
6560 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6561 PyObject * obj0 = 0 ;
6562 char *kwnames[] = {
6563 (char *) "self", NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 (arg1)->SizeWindows();
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 Py_INCREF(Py_None); resultobj = Py_None;
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6583 PyObject *obj;
6584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6585 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6586 Py_INCREF(obj);
6587 return Py_BuildValue((char *)"");
6588 }
6589 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6590 PyObject *resultobj;
6591 int arg1 = (int) 0 ;
6592 int arg2 = (int) wxSASH_NONE ;
6593 wxSashEvent *result;
6594 char *kwnames[] = {
6595 (char *) "id",(char *) "edge", NULL
6596 };
6597
6598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6602
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6616 int arg2 ;
6617 PyObject * obj0 = 0 ;
6618 char *kwnames[] = {
6619 (char *) "self",(char *) "edge", NULL
6620 };
6621
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 Py_INCREF(Py_None); resultobj = Py_None;
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6641 int result;
6642 PyObject * obj0 = 0 ;
6643 char *kwnames[] = {
6644 (char *) "self", NULL
6645 };
6646
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 resultobj = PyInt_FromLong((long)result);
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6666 wxRect *arg2 = 0 ;
6667 wxRect temp2 ;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self",(char *) "rect", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6676 {
6677 arg2 = &temp2;
6678 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6679 }
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 (arg1)->SetDragRect((wxRect const &)*arg2);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 Py_INCREF(Py_None); resultobj = Py_None;
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6697 wxRect result;
6698 PyObject * obj0 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = ((wxSashEvent const *)arg1)->GetDragRect();
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 {
6713 wxRect * resultptr;
6714 resultptr = new wxRect((wxRect &) result);
6715 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6716 }
6717 return resultobj;
6718 fail:
6719 return NULL;
6720 }
6721
6722
6723 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6726 int arg2 ;
6727 PyObject * obj0 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self",(char *) "status", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6734 {
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6737
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 Py_INCREF(Py_None); resultobj = Py_None;
6742 return resultobj;
6743 fail:
6744 return NULL;
6745 }
6746
6747
6748 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6751 int result;
6752 PyObject * obj0 = 0 ;
6753 char *kwnames[] = {
6754 (char *) "self", NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 resultobj = PyInt_FromLong((long)result);
6767 return resultobj;
6768 fail:
6769 return NULL;
6770 }
6771
6772
6773 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6774 PyObject *obj;
6775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6776 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6777 Py_INCREF(obj);
6778 return Py_BuildValue((char *)"");
6779 }
6780 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj;
6782 int arg1 = (int) 0 ;
6783 wxQueryLayoutInfoEvent *result;
6784 char *kwnames[] = {
6785 (char *) "id", NULL
6786 };
6787
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6797 return resultobj;
6798 fail:
6799 return NULL;
6800 }
6801
6802
6803 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj;
6805 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6806 int arg2 ;
6807 PyObject * obj0 = 0 ;
6808 char *kwnames[] = {
6809 (char *) "self",(char *) "length", NULL
6810 };
6811
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->SetRequestedLength(arg2);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 Py_INCREF(Py_None); resultobj = Py_None;
6822 return resultobj;
6823 fail:
6824 return NULL;
6825 }
6826
6827
6828 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj;
6830 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6831 int result;
6832 PyObject * obj0 = 0 ;
6833 char *kwnames[] = {
6834 (char *) "self", NULL
6835 };
6836
6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6842
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 resultobj = PyInt_FromLong((long)result);
6847 return resultobj;
6848 fail:
6849 return NULL;
6850 }
6851
6852
6853 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj;
6855 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6856 int arg2 ;
6857 PyObject * obj0 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "flags", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 (arg1)->SetFlags(arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 Py_INCREF(Py_None); resultobj = Py_None;
6872 return resultobj;
6873 fail:
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6881 int result;
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "self", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 resultobj = PyInt_FromLong((long)result);
6897 return resultobj;
6898 fail:
6899 return NULL;
6900 }
6901
6902
6903 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject *resultobj;
6905 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6906 wxSize *arg2 = 0 ;
6907 wxSize temp2 ;
6908 PyObject * obj0 = 0 ;
6909 PyObject * obj1 = 0 ;
6910 char *kwnames[] = {
6911 (char *) "self",(char *) "size", NULL
6912 };
6913
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6916 {
6917 arg2 = &temp2;
6918 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6919 }
6920 {
6921 PyThreadState* __tstate = wxPyBeginAllowThreads();
6922 (arg1)->SetSize((wxSize const &)*arg2);
6923
6924 wxPyEndAllowThreads(__tstate);
6925 if (PyErr_Occurred()) SWIG_fail;
6926 }
6927 Py_INCREF(Py_None); resultobj = Py_None;
6928 return resultobj;
6929 fail:
6930 return NULL;
6931 }
6932
6933
6934 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj;
6936 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6937 wxSize result;
6938 PyObject * obj0 = 0 ;
6939 char *kwnames[] = {
6940 (char *) "self", NULL
6941 };
6942
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 {
6953 wxSize * resultptr;
6954 resultptr = new wxSize((wxSize &) result);
6955 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6956 }
6957 return resultobj;
6958 fail:
6959 return NULL;
6960 }
6961
6962
6963 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6966 int arg2 ;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self",(char *) "orient", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 Py_INCREF(Py_None); resultobj = Py_None;
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6991 int result;
6992 PyObject * obj0 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 resultobj = PyInt_FromLong((long)result);
7007 return resultobj;
7008 fail:
7009 return NULL;
7010 }
7011
7012
7013 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj;
7015 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7016 int arg2 ;
7017 PyObject * obj0 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self",(char *) "align", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7027
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 Py_INCREF(Py_None); resultobj = Py_None;
7032 return resultobj;
7033 fail:
7034 return NULL;
7035 }
7036
7037
7038 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj;
7040 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7041 int result;
7042 PyObject * obj0 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7049 {
7050 PyThreadState* __tstate = wxPyBeginAllowThreads();
7051 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7052
7053 wxPyEndAllowThreads(__tstate);
7054 if (PyErr_Occurred()) SWIG_fail;
7055 }
7056 resultobj = PyInt_FromLong((long)result);
7057 return resultobj;
7058 fail:
7059 return NULL;
7060 }
7061
7062
7063 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7064 PyObject *obj;
7065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7066 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7067 Py_INCREF(obj);
7068 return Py_BuildValue((char *)"");
7069 }
7070 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 int arg1 = (int) 0 ;
7073 wxCalculateLayoutEvent *result;
7074 char *kwnames[] = {
7075 (char *) "id", NULL
7076 };
7077
7078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7082
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7087 return resultobj;
7088 fail:
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7096 int arg2 ;
7097 PyObject * obj0 = 0 ;
7098 char *kwnames[] = {
7099 (char *) "self",(char *) "flags", NULL
7100 };
7101
7102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 (arg1)->SetFlags(arg2);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 Py_INCREF(Py_None); resultobj = Py_None;
7112 return resultobj;
7113 fail:
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj;
7120 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7121 int result;
7122 PyObject * obj0 = 0 ;
7123 char *kwnames[] = {
7124 (char *) "self", NULL
7125 };
7126
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 resultobj = PyInt_FromLong((long)result);
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7146 wxRect *arg2 = 0 ;
7147 wxRect temp2 ;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj1 = 0 ;
7150 char *kwnames[] = {
7151 (char *) "self",(char *) "rect", NULL
7152 };
7153
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7156 {
7157 arg2 = &temp2;
7158 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7159 }
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 (arg1)->SetRect((wxRect const &)*arg2);
7163
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 Py_INCREF(Py_None); resultobj = Py_None;
7168 return resultobj;
7169 fail:
7170 return NULL;
7171 }
7172
7173
7174 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj;
7176 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7177 wxRect result;
7178 PyObject * obj0 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7188
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 {
7193 wxRect * resultptr;
7194 resultptr = new wxRect((wxRect &) result);
7195 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7196 }
7197 return resultobj;
7198 fail:
7199 return NULL;
7200 }
7201
7202
7203 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7204 PyObject *obj;
7205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7206 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7207 Py_INCREF(obj);
7208 return Py_BuildValue((char *)"");
7209 }
7210 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxWindow *arg1 = (wxWindow *) 0 ;
7213 int arg2 ;
7214 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7215 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7216 wxSize const &arg4_defvalue = wxDefaultSize ;
7217 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7218 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7219 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7220 wxString *arg6 = (wxString *) &arg6_defvalue ;
7221 wxSashLayoutWindow *result;
7222 wxPoint temp3 ;
7223 wxSize temp4 ;
7224 bool temp6 = False ;
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj2 = 0 ;
7227 PyObject * obj3 = 0 ;
7228 PyObject * obj5 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7235 if (obj2) {
7236 {
7237 arg3 = &temp3;
7238 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7239 }
7240 }
7241 if (obj3) {
7242 {
7243 arg4 = &temp4;
7244 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7245 }
7246 }
7247 if (obj5) {
7248 {
7249 arg6 = wxString_in_helper(obj5);
7250 if (arg6 == NULL) SWIG_fail;
7251 temp6 = True;
7252 }
7253 }
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7262 {
7263 if (temp6)
7264 delete arg6;
7265 }
7266 return resultobj;
7267 fail:
7268 {
7269 if (temp6)
7270 delete arg6;
7271 }
7272 return NULL;
7273 }
7274
7275
7276 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7277 PyObject *resultobj;
7278 wxSashLayoutWindow *result;
7279 char *kwnames[] = {
7280 NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7292 return resultobj;
7293 fail:
7294 return NULL;
7295 }
7296
7297
7298 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7301 wxWindow *arg2 = (wxWindow *) 0 ;
7302 int arg3 ;
7303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7305 wxSize const &arg5_defvalue = wxDefaultSize ;
7306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7307 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7308 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7309 wxString *arg7 = (wxString *) &arg7_defvalue ;
7310 bool result;
7311 wxPoint temp4 ;
7312 wxSize temp5 ;
7313 bool temp7 = False ;
7314 PyObject * obj0 = 0 ;
7315 PyObject * obj1 = 0 ;
7316 PyObject * obj3 = 0 ;
7317 PyObject * obj4 = 0 ;
7318 PyObject * obj6 = 0 ;
7319 char *kwnames[] = {
7320 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7321 };
7322
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7326 if (obj3) {
7327 {
7328 arg4 = &temp4;
7329 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7330 }
7331 }
7332 if (obj4) {
7333 {
7334 arg5 = &temp5;
7335 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7336 }
7337 }
7338 if (obj6) {
7339 {
7340 arg7 = wxString_in_helper(obj6);
7341 if (arg7 == NULL) SWIG_fail;
7342 temp7 = True;
7343 }
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7348
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 resultobj = PyInt_FromLong((long)result);
7353 {
7354 if (temp7)
7355 delete arg7;
7356 }
7357 return resultobj;
7358 fail:
7359 {
7360 if (temp7)
7361 delete arg7;
7362 }
7363 return NULL;
7364 }
7365
7366
7367 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj;
7369 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7370 int result;
7371 PyObject * obj0 = 0 ;
7372 char *kwnames[] = {
7373 (char *) "self", NULL
7374 };
7375
7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = (int)(arg1)->GetAlignment();
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 resultobj = PyInt_FromLong((long)result);
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7395 int result;
7396 PyObject * obj0 = 0 ;
7397 char *kwnames[] = {
7398 (char *) "self", NULL
7399 };
7400
7401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 result = (int)(arg1)->GetOrientation();
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 resultobj = PyInt_FromLong((long)result);
7411 return resultobj;
7412 fail:
7413 return NULL;
7414 }
7415
7416
7417 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj;
7419 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7420 int arg2 ;
7421 PyObject * obj0 = 0 ;
7422 char *kwnames[] = {
7423 (char *) "self",(char *) "alignment", NULL
7424 };
7425
7426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 Py_INCREF(Py_None); resultobj = Py_None;
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7445 wxSize *arg2 = 0 ;
7446 wxSize temp2 ;
7447 PyObject * obj0 = 0 ;
7448 PyObject * obj1 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self",(char *) "size", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7455 {
7456 arg2 = &temp2;
7457 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7458 }
7459 {
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7462
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 Py_INCREF(Py_None); resultobj = Py_None;
7467 return resultobj;
7468 fail:
7469 return NULL;
7470 }
7471
7472
7473 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7474 PyObject *resultobj;
7475 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7476 int arg2 ;
7477 PyObject * obj0 = 0 ;
7478 char *kwnames[] = {
7479 (char *) "self",(char *) "orientation", NULL
7480 };
7481
7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 Py_INCREF(Py_None); resultobj = Py_None;
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7499 PyObject *obj;
7500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7501 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7502 Py_INCREF(obj);
7503 return Py_BuildValue((char *)"");
7504 }
7505 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7506 PyObject *resultobj;
7507 wxLayoutAlgorithm *result;
7508 char *kwnames[] = {
7509 NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7521 return resultobj;
7522 fail:
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 delete arg1;
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 Py_INCREF(Py_None); resultobj = Py_None;
7545 return resultobj;
7546 fail:
7547 return NULL;
7548 }
7549
7550
7551 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7554 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7555 wxRect *arg3 = (wxRect *) NULL ;
7556 bool result;
7557 PyObject * obj0 = 0 ;
7558 PyObject * obj1 = 0 ;
7559 PyObject * obj2 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self",(char *) "frame",(char *) "rect", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7567 if (obj2) {
7568 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7569 }
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = PyInt_FromLong((long)result);
7578 return resultobj;
7579 fail:
7580 return NULL;
7581 }
7582
7583
7584 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7585 PyObject *resultobj;
7586 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7587 wxFrame *arg2 = (wxFrame *) 0 ;
7588 wxWindow *arg3 = (wxWindow *) NULL ;
7589 bool result;
7590 PyObject * obj0 = 0 ;
7591 PyObject * obj1 = 0 ;
7592 PyObject * obj2 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7600 if (obj2) {
7601 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7602 }
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 resultobj = PyInt_FromLong((long)result);
7611 return resultobj;
7612 fail:
7613 return NULL;
7614 }
7615
7616
7617 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7620 wxWindow *arg2 = (wxWindow *) 0 ;
7621 wxWindow *arg3 = (wxWindow *) NULL ;
7622 bool result;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 PyObject * obj2 = 0 ;
7626 char *kwnames[] = {
7627 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7628 };
7629
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7633 if (obj2) {
7634 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7635 }
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 resultobj = PyInt_FromLong((long)result);
7644 return resultobj;
7645 fail:
7646 return NULL;
7647 }
7648
7649
7650 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7651 PyObject *obj;
7652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7653 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7654 Py_INCREF(obj);
7655 return Py_BuildValue((char *)"");
7656 }
7657 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxWindow *arg1 = (wxWindow *) 0 ;
7660 int arg2 = (int) wxBORDER_NONE ;
7661 wxPopupWindow *result;
7662 PyObject * obj0 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "parent",(char *) "flags", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7677 return resultobj;
7678 fail:
7679 return NULL;
7680 }
7681
7682
7683 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7684 PyObject *resultobj;
7685 wxPopupWindow *result;
7686 char *kwnames[] = {
7687 NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 result = (wxPopupWindow *)new wxPopupWindow();
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7699 return resultobj;
7700 fail:
7701 return NULL;
7702 }
7703
7704
7705 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7706 PyObject *obj;
7707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7708 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7709 Py_INCREF(obj);
7710 return Py_BuildValue((char *)"");
7711 }
7712 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj;
7714 wxWindow *arg1 = (wxWindow *) 0 ;
7715 int arg2 = (int) wxBORDER_NONE ;
7716 wxPyPopupTransientWindow *result;
7717 PyObject * obj0 = 0 ;
7718 char *kwnames[] = {
7719 (char *) "parent",(char *) "style", NULL
7720 };
7721
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7724 {
7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
7726 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7727
7728 wxPyEndAllowThreads(__tstate);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 }
7731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7732 return resultobj;
7733 fail:
7734 return NULL;
7735 }
7736
7737
7738 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7739 PyObject *resultobj;
7740 wxPyPopupTransientWindow *result;
7741 char *kwnames[] = {
7742 NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7754 return resultobj;
7755 fail:
7756 return NULL;
7757 }
7758
7759
7760 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7761 PyObject *obj;
7762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7763 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7764 Py_INCREF(obj);
7765 return Py_BuildValue((char *)"");
7766 }
7767 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxWindow *arg1 = (wxWindow *) 0 ;
7770 wxString *arg2 = (wxString *) 0 ;
7771 int arg3 = (int) 100 ;
7772 wxRect *arg4 = (wxRect *) NULL ;
7773 wxTipWindow *result;
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 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7784 if (obj3) {
7785 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7786 }
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const *)arg2,arg3,arg4);
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj;
7803 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7804 wxRect *arg2 = 0 ;
7805 wxRect temp2 ;
7806 PyObject * obj0 = 0 ;
7807 PyObject * obj1 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "self",(char *) "rectBound", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7814 {
7815 arg2 = &temp2;
7816 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7817 }
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7835 PyObject * obj0 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 (arg1)->Close();
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 Py_INCREF(Py_None); resultobj = Py_None;
7850 return resultobj;
7851 fail:
7852 return NULL;
7853 }
7854
7855
7856 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7857 PyObject *obj;
7858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7859 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7860 Py_INCREF(obj);
7861 return Py_BuildValue((char *)"");
7862 }
7863 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj;
7865 wxWindow *arg1 = (wxWindow *) 0 ;
7866 int arg2 = (int) wxID_ANY ;
7867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7869 wxSize const &arg4_defvalue = wxDefaultSize ;
7870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7871 long arg5 = (long) 0 ;
7872 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7873 wxString *arg6 = (wxString *) &arg6_defvalue ;
7874 wxPyVScrolledWindow *result;
7875 wxPoint temp3 ;
7876 wxSize temp4 ;
7877 bool temp6 = False ;
7878 PyObject * obj0 = 0 ;
7879 PyObject * obj2 = 0 ;
7880 PyObject * obj3 = 0 ;
7881 PyObject * obj5 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7888 if (obj2) {
7889 {
7890 arg3 = &temp3;
7891 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7892 }
7893 }
7894 if (obj3) {
7895 {
7896 arg4 = &temp4;
7897 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7898 }
7899 }
7900 if (obj5) {
7901 {
7902 arg6 = wxString_in_helper(obj5);
7903 if (arg6 == NULL) SWIG_fail;
7904 temp6 = True;
7905 }
7906 }
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7915 {
7916 if (temp6)
7917 delete arg6;
7918 }
7919 return resultobj;
7920 fail:
7921 {
7922 if (temp6)
7923 delete arg6;
7924 }
7925 return NULL;
7926 }
7927
7928
7929 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj;
7931 wxPyVScrolledWindow *result;
7932 char *kwnames[] = {
7933 NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7945 return resultobj;
7946 fail:
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7954 PyObject *arg2 = (PyObject *) 0 ;
7955 PyObject *arg3 = (PyObject *) 0 ;
7956 PyObject * obj0 = 0 ;
7957 PyObject * obj1 = 0 ;
7958 PyObject * obj2 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self",(char *) "self",(char *) "_class", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7965 arg2 = obj1;
7966 arg3 = obj2;
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 (arg1)->_setCallbackInfo(arg2,arg3);
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 Py_INCREF(Py_None); resultobj = Py_None;
7975 return resultobj;
7976 fail:
7977 return NULL;
7978 }
7979
7980
7981 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7982 PyObject *resultobj;
7983 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7984 wxWindow *arg2 = (wxWindow *) 0 ;
7985 int arg3 = (int) wxID_ANY ;
7986 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7987 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7988 wxSize const &arg5_defvalue = wxDefaultSize ;
7989 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7990 long arg6 = (long) 0 ;
7991 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7992 wxString *arg7 = (wxString *) &arg7_defvalue ;
7993 bool result;
7994 wxPoint temp4 ;
7995 wxSize temp5 ;
7996 bool temp7 = False ;
7997 PyObject * obj0 = 0 ;
7998 PyObject * obj1 = 0 ;
7999 PyObject * obj3 = 0 ;
8000 PyObject * obj4 = 0 ;
8001 PyObject * obj6 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8009 if (obj3) {
8010 {
8011 arg4 = &temp4;
8012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8013 }
8014 }
8015 if (obj4) {
8016 {
8017 arg5 = &temp5;
8018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8019 }
8020 }
8021 if (obj6) {
8022 {
8023 arg7 = wxString_in_helper(obj6);
8024 if (arg7 == NULL) SWIG_fail;
8025 temp7 = True;
8026 }
8027 }
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 resultobj = PyInt_FromLong((long)result);
8036 {
8037 if (temp7)
8038 delete arg7;
8039 }
8040 return resultobj;
8041 fail:
8042 {
8043 if (temp7)
8044 delete arg7;
8045 }
8046 return NULL;
8047 }
8048
8049
8050 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8053 size_t arg2 ;
8054 PyObject * obj0 = 0 ;
8055 PyObject * obj1 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self",(char *) "count", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8062 arg2 = (size_t) PyInt_AsLong(obj1);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->SetLineCount(arg2);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8081 size_t arg2 ;
8082 bool result;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self",(char *) "line", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8091 arg2 = (size_t) PyInt_AsLong(obj1);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (bool)(arg1)->ScrollToLine(arg2);
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 resultobj = PyInt_FromLong((long)result);
8101 return resultobj;
8102 fail:
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8110 int arg2 ;
8111 bool result;
8112 PyObject * obj0 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self",(char *) "lines", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (bool)(arg1)->ScrollLines(arg2);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 resultobj = PyInt_FromLong((long)result);
8127 return resultobj;
8128 fail:
8129 return NULL;
8130 }
8131
8132
8133 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj;
8135 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8136 int arg2 ;
8137 bool result;
8138 PyObject * obj0 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "self",(char *) "pages", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (bool)(arg1)->ScrollPages(arg2);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 resultobj = PyInt_FromLong((long)result);
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8162 size_t arg2 ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self",(char *) "line", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8171 arg2 = (size_t) PyInt_AsLong(obj1);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 (arg1)->RefreshLine(arg2);
8176
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 Py_INCREF(Py_None); resultobj = Py_None;
8181 return resultobj;
8182 fail:
8183 return NULL;
8184 }
8185
8186
8187 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj;
8189 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8190 size_t arg2 ;
8191 size_t arg3 ;
8192 PyObject * obj0 = 0 ;
8193 PyObject * obj1 = 0 ;
8194 PyObject * obj2 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self",(char *) "from",(char *) "to", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8201 arg2 = (size_t) PyInt_AsLong(obj1);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 arg3 = (size_t) PyInt_AsLong(obj2);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 (arg1)->RefreshLines(arg2,arg3);
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 Py_INCREF(Py_None); resultobj = Py_None;
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj;
8221 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8222 int arg2 ;
8223 int arg3 ;
8224 int result;
8225 PyObject * obj0 = 0 ;
8226 char *kwnames[] = {
8227 (char *) "self",(char *) "x",(char *) "y", NULL
8228 };
8229
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 resultobj = PyInt_FromLong((long)result);
8240 return resultobj;
8241 fail:
8242 return NULL;
8243 }
8244
8245
8246 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj;
8248 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8249 wxPoint *arg2 = 0 ;
8250 int result;
8251 wxPoint temp2 ;
8252 PyObject * obj0 = 0 ;
8253 PyObject * obj1 = 0 ;
8254 char *kwnames[] = {
8255 (char *) "self",(char *) "pt", NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8260 {
8261 arg2 = &temp2;
8262 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8263 }
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 resultobj = PyInt_FromLong((long)result);
8272 return resultobj;
8273 fail:
8274 return NULL;
8275 }
8276
8277
8278 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj;
8280 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8281 PyObject * obj0 = 0 ;
8282 char *kwnames[] = {
8283 (char *) "self", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 (arg1)->RefreshAll();
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 Py_INCREF(Py_None); resultobj = Py_None;
8296 return resultobj;
8297 fail:
8298 return NULL;
8299 }
8300
8301
8302 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj;
8304 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8305 size_t result;
8306 PyObject * obj0 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 resultobj = PyInt_FromLong((long)result);
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8330 size_t result;
8331 PyObject * obj0 = 0 ;
8332 char *kwnames[] = {
8333 (char *) "self", NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = PyInt_FromLong((long)result);
8346 return resultobj;
8347 fail:
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8355 size_t result;
8356 PyObject * obj0 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "self", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 resultobj = PyInt_FromLong((long)result);
8371 return resultobj;
8372 fail:
8373 return NULL;
8374 }
8375
8376
8377 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8378 PyObject *resultobj;
8379 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8380 size_t arg2 ;
8381 bool result;
8382 PyObject * obj0 = 0 ;
8383 PyObject * obj1 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self",(char *) "line", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8390 arg2 = (size_t) PyInt_AsLong(obj1);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8395
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 resultobj = PyInt_FromLong((long)result);
8400 return resultobj;
8401 fail:
8402 return NULL;
8403 }
8404
8405
8406 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8407 PyObject *obj;
8408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8409 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8410 Py_INCREF(obj);
8411 return Py_BuildValue((char *)"");
8412 }
8413 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8414 PyObject *resultobj;
8415 wxWindow *arg1 = (wxWindow *) 0 ;
8416 int arg2 = (int) wxID_ANY ;
8417 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8418 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8419 wxSize const &arg4_defvalue = wxDefaultSize ;
8420 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8421 long arg5 = (long) 0 ;
8422 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8423 wxString *arg6 = (wxString *) &arg6_defvalue ;
8424 wxPyVListBox *result;
8425 wxPoint temp3 ;
8426 wxSize temp4 ;
8427 bool temp6 = False ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj2 = 0 ;
8430 PyObject * obj3 = 0 ;
8431 PyObject * obj5 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8438 if (obj2) {
8439 {
8440 arg3 = &temp3;
8441 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8442 }
8443 }
8444 if (obj3) {
8445 {
8446 arg4 = &temp4;
8447 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8448 }
8449 }
8450 if (obj5) {
8451 {
8452 arg6 = wxString_in_helper(obj5);
8453 if (arg6 == NULL) SWIG_fail;
8454 temp6 = True;
8455 }
8456 }
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8465 {
8466 if (temp6)
8467 delete arg6;
8468 }
8469 return resultobj;
8470 fail:
8471 {
8472 if (temp6)
8473 delete arg6;
8474 }
8475 return NULL;
8476 }
8477
8478
8479 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 wxPyVListBox *result;
8482 char *kwnames[] = {
8483 NULL
8484 };
8485
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (wxPyVListBox *)new wxPyVListBox();
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8504 PyObject *arg2 = (PyObject *) 0 ;
8505 PyObject *arg3 = (PyObject *) 0 ;
8506 PyObject * obj0 = 0 ;
8507 PyObject * obj1 = 0 ;
8508 PyObject * obj2 = 0 ;
8509 char *kwnames[] = {
8510 (char *) "self",(char *) "self",(char *) "_class", NULL
8511 };
8512
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8515 arg2 = obj1;
8516 arg3 = obj2;
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 (arg1)->_setCallbackInfo(arg2,arg3);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 Py_INCREF(Py_None); resultobj = Py_None;
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj;
8533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8534 wxWindow *arg2 = (wxWindow *) 0 ;
8535 int arg3 = (int) wxID_ANY ;
8536 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8537 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8538 wxSize const &arg5_defvalue = wxDefaultSize ;
8539 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8540 long arg6 = (long) 0 ;
8541 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8542 wxString *arg7 = (wxString *) &arg7_defvalue ;
8543 bool result;
8544 wxPoint temp4 ;
8545 wxSize temp5 ;
8546 bool temp7 = False ;
8547 PyObject * obj0 = 0 ;
8548 PyObject * obj1 = 0 ;
8549 PyObject * obj3 = 0 ;
8550 PyObject * obj4 = 0 ;
8551 PyObject * obj6 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8559 if (obj3) {
8560 {
8561 arg4 = &temp4;
8562 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8563 }
8564 }
8565 if (obj4) {
8566 {
8567 arg5 = &temp5;
8568 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8569 }
8570 }
8571 if (obj6) {
8572 {
8573 arg7 = wxString_in_helper(obj6);
8574 if (arg7 == NULL) SWIG_fail;
8575 temp7 = True;
8576 }
8577 }
8578 {
8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
8580 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8581
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 resultobj = PyInt_FromLong((long)result);
8586 {
8587 if (temp7)
8588 delete arg7;
8589 }
8590 return resultobj;
8591 fail:
8592 {
8593 if (temp7)
8594 delete arg7;
8595 }
8596 return NULL;
8597 }
8598
8599
8600 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8603 size_t result;
8604 PyObject * obj0 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self", NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 resultobj = PyInt_FromLong((long)result);
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8628 bool result;
8629 PyObject * obj0 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 resultobj = PyInt_FromLong((long)result);
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8651 PyObject *resultobj;
8652 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8653 int result;
8654 PyObject * obj0 = 0 ;
8655 char *kwnames[] = {
8656 (char *) "self", NULL
8657 };
8658
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 resultobj = PyInt_FromLong((long)result);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8678 size_t arg2 ;
8679 bool result;
8680 PyObject * obj0 = 0 ;
8681 PyObject * obj1 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self",(char *) "item", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8688 arg2 = (size_t) PyInt_AsLong(obj1);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 resultobj = PyInt_FromLong((long)result);
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8707 size_t arg2 ;
8708 bool result;
8709 PyObject * obj0 = 0 ;
8710 PyObject * obj1 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "item", NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8717 arg2 = (size_t) PyInt_AsLong(obj1);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 resultobj = PyInt_FromLong((long)result);
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8736 size_t result;
8737 PyObject * obj0 = 0 ;
8738 char *kwnames[] = {
8739 (char *) "self", NULL
8740 };
8741
8742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 resultobj = PyInt_FromLong((long)result);
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8761 unsigned long *arg2 = 0 ;
8762 int result;
8763 PyObject * obj0 = 0 ;
8764 PyObject * obj1 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self",(char *) "cookie", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8772 if (arg2 == NULL) {
8773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8774 }
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 resultobj = PyInt_FromLong((long)result);
8783 return resultobj;
8784 fail:
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8792 unsigned long *arg2 = 0 ;
8793 int result;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "self",(char *) "cookie", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8803 if (arg2 == NULL) {
8804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8805 }
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 resultobj = PyInt_FromLong((long)result);
8814 return resultobj;
8815 fail:
8816 return NULL;
8817 }
8818
8819
8820 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj;
8822 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8823 wxPoint result;
8824 PyObject * obj0 = 0 ;
8825 char *kwnames[] = {
8826 (char *) "self", NULL
8827 };
8828
8829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8831 {
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 result = ((wxPyVListBox const *)arg1)->GetMargins();
8834
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 {
8839 wxPoint * resultptr;
8840 resultptr = new wxPoint((wxPoint &) result);
8841 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8842 }
8843 return resultobj;
8844 fail:
8845 return NULL;
8846 }
8847
8848
8849 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj;
8851 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8852 wxColour *result;
8853 PyObject * obj0 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "self", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 {
8863 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8864 result = (wxColour *) &_result_ref;
8865 }
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8871 return resultobj;
8872 fail:
8873 return NULL;
8874 }
8875
8876
8877 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj;
8879 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8880 size_t arg2 ;
8881 PyObject * obj0 = 0 ;
8882 PyObject * obj1 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self",(char *) "count", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8889 arg2 = (size_t) PyInt_AsLong(obj1);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 (arg1)->SetItemCount(arg2);
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 Py_INCREF(Py_None); resultobj = Py_None;
8899 return resultobj;
8900 fail:
8901 return NULL;
8902 }
8903
8904
8905 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8908 PyObject * obj0 = 0 ;
8909 char *kwnames[] = {
8910 (char *) "self", NULL
8911 };
8912
8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 (arg1)->Clear();
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 Py_INCREF(Py_None); resultobj = Py_None;
8923 return resultobj;
8924 fail:
8925 return NULL;
8926 }
8927
8928
8929 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8932 int arg2 ;
8933 PyObject * obj0 = 0 ;
8934 char *kwnames[] = {
8935 (char *) "self",(char *) "selection", NULL
8936 };
8937
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 (arg1)->SetSelection(arg2);
8943
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 }
8947 Py_INCREF(Py_None); resultobj = Py_None;
8948 return resultobj;
8949 fail:
8950 return NULL;
8951 }
8952
8953
8954 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8955 PyObject *resultobj;
8956 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8957 size_t arg2 ;
8958 bool arg3 = (bool) True ;
8959 bool result;
8960 PyObject * obj0 = 0 ;
8961 PyObject * obj1 = 0 ;
8962 PyObject * obj2 = 0 ;
8963 char *kwnames[] = {
8964 (char *) "self",(char *) "item",(char *) "select", NULL
8965 };
8966
8967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8969 arg2 = (size_t) PyInt_AsLong(obj1);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 if (obj2) {
8972 arg3 = PyInt_AsLong(obj2) ? true : false;
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (bool)(arg1)->Select(arg2,arg3);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 resultobj = PyInt_FromLong((long)result);
8983 return resultobj;
8984 fail:
8985 return NULL;
8986 }
8987
8988
8989 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8992 size_t arg2 ;
8993 size_t arg3 ;
8994 bool result;
8995 PyObject * obj0 = 0 ;
8996 PyObject * obj1 = 0 ;
8997 PyObject * obj2 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self",(char *) "from",(char *) "to", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004 arg2 = (size_t) PyInt_AsLong(obj1);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 arg3 = (size_t) PyInt_AsLong(obj2);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (bool)(arg1)->SelectRange(arg2,arg3);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = PyInt_FromLong((long)result);
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9025 size_t arg2 ;
9026 PyObject * obj0 = 0 ;
9027 PyObject * obj1 = 0 ;
9028 char *kwnames[] = {
9029 (char *) "self",(char *) "item", NULL
9030 };
9031
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9034 arg2 = (size_t) PyInt_AsLong(obj1);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 (arg1)->Toggle(arg2);
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 Py_INCREF(Py_None); resultobj = Py_None;
9044 return resultobj;
9045 fail:
9046 return NULL;
9047 }
9048
9049
9050 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj;
9052 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9053 bool result;
9054 PyObject * obj0 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (bool)(arg1)->SelectAll();
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 resultobj = PyInt_FromLong((long)result);
9069 return resultobj;
9070 fail:
9071 return NULL;
9072 }
9073
9074
9075 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject *resultobj;
9077 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9078 bool result;
9079 PyObject * obj0 = 0 ;
9080 char *kwnames[] = {
9081 (char *) "self", NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 result = (bool)(arg1)->DeselectAll();
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 resultobj = PyInt_FromLong((long)result);
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9103 wxPoint *arg2 = 0 ;
9104 wxPoint temp2 ;
9105 PyObject * obj0 = 0 ;
9106 PyObject * obj1 = 0 ;
9107 char *kwnames[] = {
9108 (char *) "self",(char *) "pt", NULL
9109 };
9110
9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9113 {
9114 arg2 = &temp2;
9115 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9116 }
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 (arg1)->SetMargins((wxPoint const &)*arg2);
9120
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 Py_INCREF(Py_None); resultobj = Py_None;
9125 return resultobj;
9126 fail:
9127 return NULL;
9128 }
9129
9130
9131 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9132 PyObject *resultobj;
9133 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9134 int arg2 ;
9135 int arg3 ;
9136 PyObject * obj0 = 0 ;
9137 char *kwnames[] = {
9138 (char *) "self",(char *) "x",(char *) "y", NULL
9139 };
9140
9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 (arg1)->SetMargins(arg2,arg3);
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 Py_INCREF(Py_None); resultobj = Py_None;
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9160 wxColour *arg2 = 0 ;
9161 wxColour temp2 ;
9162 PyObject * obj0 = 0 ;
9163 PyObject * obj1 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self",(char *) "col", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9170 {
9171 arg2 = &temp2;
9172 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9173 }
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 Py_INCREF(Py_None); resultobj = Py_None;
9182 return resultobj;
9183 fail:
9184 return NULL;
9185 }
9186
9187
9188 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9189 PyObject *obj;
9190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9191 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9192 Py_INCREF(obj);
9193 return Py_BuildValue((char *)"");
9194 }
9195 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxWindow *arg1 = (wxWindow *) 0 ;
9198 int arg2 = (int) wxID_ANY ;
9199 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9200 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9201 wxSize const &arg4_defvalue = wxDefaultSize ;
9202 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9203 long arg5 = (long) 0 ;
9204 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9205 wxString *arg6 = (wxString *) &arg6_defvalue ;
9206 wxPyHtmlListBox *result;
9207 wxPoint temp3 ;
9208 wxSize temp4 ;
9209 bool temp6 = False ;
9210 PyObject * obj0 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 PyObject * obj3 = 0 ;
9213 PyObject * obj5 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9220 if (obj2) {
9221 {
9222 arg3 = &temp3;
9223 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9224 }
9225 }
9226 if (obj3) {
9227 {
9228 arg4 = &temp4;
9229 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9230 }
9231 }
9232 if (obj5) {
9233 {
9234 arg6 = wxString_in_helper(obj5);
9235 if (arg6 == NULL) SWIG_fail;
9236 temp6 = True;
9237 }
9238 }
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9247 {
9248 if (temp6)
9249 delete arg6;
9250 }
9251 return resultobj;
9252 fail:
9253 {
9254 if (temp6)
9255 delete arg6;
9256 }
9257 return NULL;
9258 }
9259
9260
9261 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxPyHtmlListBox *result;
9264 char *kwnames[] = {
9265 NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
9276 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9277 return resultobj;
9278 fail:
9279 return NULL;
9280 }
9281
9282
9283 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9284 PyObject *resultobj;
9285 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9286 PyObject *arg2 = (PyObject *) 0 ;
9287 PyObject *arg3 = (PyObject *) 0 ;
9288 PyObject * obj0 = 0 ;
9289 PyObject * obj1 = 0 ;
9290 PyObject * obj2 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self",(char *) "self",(char *) "_class", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9297 arg2 = obj1;
9298 arg3 = obj2;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->_setCallbackInfo(arg2,arg3);
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 Py_INCREF(Py_None); resultobj = Py_None;
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9316 wxWindow *arg2 = (wxWindow *) 0 ;
9317 int arg3 = (int) wxID_ANY ;
9318 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9319 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9320 wxSize const &arg5_defvalue = wxDefaultSize ;
9321 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9322 long arg6 = (long) 0 ;
9323 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9324 wxString *arg7 = (wxString *) &arg7_defvalue ;
9325 bool result;
9326 wxPoint temp4 ;
9327 wxSize temp5 ;
9328 bool temp7 = False ;
9329 PyObject * obj0 = 0 ;
9330 PyObject * obj1 = 0 ;
9331 PyObject * obj3 = 0 ;
9332 PyObject * obj4 = 0 ;
9333 PyObject * obj6 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9341 if (obj3) {
9342 {
9343 arg4 = &temp4;
9344 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9345 }
9346 }
9347 if (obj4) {
9348 {
9349 arg5 = &temp5;
9350 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9351 }
9352 }
9353 if (obj6) {
9354 {
9355 arg7 = wxString_in_helper(obj6);
9356 if (arg7 == NULL) SWIG_fail;
9357 temp7 = True;
9358 }
9359 }
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 resultobj = PyInt_FromLong((long)result);
9368 {
9369 if (temp7)
9370 delete arg7;
9371 }
9372 return resultobj;
9373 fail:
9374 {
9375 if (temp7)
9376 delete arg7;
9377 }
9378 return NULL;
9379 }
9380
9381
9382 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9383 PyObject *resultobj;
9384 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9385 PyObject * obj0 = 0 ;
9386 char *kwnames[] = {
9387 (char *) "self", NULL
9388 };
9389
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 (arg1)->RefreshAll();
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 Py_INCREF(Py_None); resultobj = Py_None;
9400 return resultobj;
9401 fail:
9402 return NULL;
9403 }
9404
9405
9406 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9407 PyObject *resultobj;
9408 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9409 size_t arg2 ;
9410 PyObject * obj0 = 0 ;
9411 PyObject * obj1 = 0 ;
9412 char *kwnames[] = {
9413 (char *) "self",(char *) "count", NULL
9414 };
9415
9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9418 arg2 = (size_t) PyInt_AsLong(obj1);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 (arg1)->SetItemCount(arg2);
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 Py_INCREF(Py_None); resultobj = Py_None;
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9435 PyObject *obj;
9436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9437 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9438 Py_INCREF(obj);
9439 return Py_BuildValue((char *)"");
9440 }
9441 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9442 PyObject *resultobj;
9443 wxTaskBarIcon *result;
9444 char *kwnames[] = {
9445 NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9466 PyObject * obj0 = 0 ;
9467 char *kwnames[] = {
9468 (char *) "self", NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 delete arg1;
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 Py_INCREF(Py_None); resultobj = Py_None;
9481 return resultobj;
9482 fail:
9483 return NULL;
9484 }
9485
9486
9487 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9488 PyObject *obj;
9489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9490 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9491 Py_INCREF(obj);
9492 return Py_BuildValue((char *)"");
9493 }
9494 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj;
9496 wxEventType arg1 ;
9497 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9498 wxTaskBarIconEvent *result;
9499 PyObject * obj1 = 0 ;
9500 char *kwnames[] = {
9501 (char *) "evtType",(char *) "tbIcon", NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9521 PyObject *obj;
9522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9523 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9524 Py_INCREF(obj);
9525 return Py_BuildValue((char *)"");
9526 }
9527 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj;
9529 wxColourData *result;
9530 char *kwnames[] = {
9531 NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9535 {
9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
9537 result = (wxColourData *)new wxColourData();
9538
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 }
9542 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9543 return resultobj;
9544 fail:
9545 return NULL;
9546 }
9547
9548
9549 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9550 PyObject *resultobj;
9551 wxColourData *arg1 = (wxColourData *) 0 ;
9552 PyObject * obj0 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 delete arg1;
9562
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 Py_INCREF(Py_None); resultobj = Py_None;
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9574 PyObject *resultobj;
9575 wxColourData *arg1 = (wxColourData *) 0 ;
9576 bool result;
9577 PyObject * obj0 = 0 ;
9578 char *kwnames[] = {
9579 (char *) "self", NULL
9580 };
9581
9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 result = (bool)(arg1)->GetChooseFull();
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 resultobj = PyInt_FromLong((long)result);
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj;
9600 wxColourData *arg1 = (wxColourData *) 0 ;
9601 wxColour result;
9602 PyObject * obj0 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (arg1)->GetColour();
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 {
9617 wxColour * resultptr;
9618 resultptr = new wxColour((wxColour &) result);
9619 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9620 }
9621 return resultobj;
9622 fail:
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxColourData *arg1 = (wxColourData *) 0 ;
9630 int arg2 ;
9631 wxColour result;
9632 PyObject * obj0 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self",(char *) "i", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (arg1)->GetCustomColour(arg2);
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 {
9647 wxColour * resultptr;
9648 resultptr = new wxColour((wxColour &) result);
9649 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9650 }
9651 return resultobj;
9652 fail:
9653 return NULL;
9654 }
9655
9656
9657 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj;
9659 wxColourData *arg1 = (wxColourData *) 0 ;
9660 int arg2 ;
9661 PyObject * obj0 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "flag", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 (arg1)->SetChooseFull(arg2);
9671
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
9675 Py_INCREF(Py_None); resultobj = Py_None;
9676 return resultobj;
9677 fail:
9678 return NULL;
9679 }
9680
9681
9682 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9683 PyObject *resultobj;
9684 wxColourData *arg1 = (wxColourData *) 0 ;
9685 wxColour *arg2 = 0 ;
9686 wxColour temp2 ;
9687 PyObject * obj0 = 0 ;
9688 PyObject * obj1 = 0 ;
9689 char *kwnames[] = {
9690 (char *) "self",(char *) "colour", NULL
9691 };
9692
9693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9695 {
9696 arg2 = &temp2;
9697 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9698 }
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 (arg1)->SetColour((wxColour const &)*arg2);
9702
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 Py_INCREF(Py_None); resultobj = Py_None;
9707 return resultobj;
9708 fail:
9709 return NULL;
9710 }
9711
9712
9713 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9714 PyObject *resultobj;
9715 wxColourData *arg1 = (wxColourData *) 0 ;
9716 int arg2 ;
9717 wxColour *arg3 = 0 ;
9718 wxColour temp3 ;
9719 PyObject * obj0 = 0 ;
9720 PyObject * obj2 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "i",(char *) "colour", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9727 {
9728 arg3 = &temp3;
9729 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9730 }
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9734
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 Py_INCREF(Py_None); resultobj = Py_None;
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9746 PyObject *obj;
9747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9748 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9749 Py_INCREF(obj);
9750 return Py_BuildValue((char *)"");
9751 }
9752 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9753 PyObject *resultobj;
9754 wxWindow *arg1 = (wxWindow *) 0 ;
9755 wxColourData *arg2 = (wxColourData *) NULL ;
9756 wxColourDialog *result;
9757 PyObject * obj0 = 0 ;
9758 PyObject * obj1 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "parent",(char *) "data", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9765 if (obj1) {
9766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9767 }
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
9775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9776 return resultobj;
9777 fail:
9778 return NULL;
9779 }
9780
9781
9782 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9783 PyObject *resultobj;
9784 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9785 wxColourData *result;
9786 PyObject * obj0 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "self", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 {
9796 wxColourData &_result_ref = (arg1)->GetColourData();
9797 result = (wxColourData *) &_result_ref;
9798 }
9799
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9804 return resultobj;
9805 fail:
9806 return NULL;
9807 }
9808
9809
9810 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj;
9812 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9813 int result;
9814 PyObject * obj0 = 0 ;
9815 char *kwnames[] = {
9816 (char *) "self", NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (int)(arg1)->ShowModal();
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 resultobj = PyInt_FromLong((long)result);
9829 return resultobj;
9830 fail:
9831 return NULL;
9832 }
9833
9834
9835 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9836 PyObject *obj;
9837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9838 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9839 Py_INCREF(obj);
9840 return Py_BuildValue((char *)"");
9841 }
9842 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 wxWindow *arg1 = (wxWindow *) 0 ;
9845 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9846 wxString *arg2 = (wxString *) &arg2_defvalue ;
9847 wxString const &arg3_defvalue = wxPyEmptyString ;
9848 wxString *arg3 = (wxString *) &arg3_defvalue ;
9849 long arg4 = (long) 0 ;
9850 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9851 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9852 wxSize const &arg6_defvalue = wxDefaultSize ;
9853 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9854 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9855 wxString *arg7 = (wxString *) &arg7_defvalue ;
9856 wxDirDialog *result;
9857 bool temp2 = False ;
9858 bool temp3 = False ;
9859 wxPoint temp5 ;
9860 wxSize temp6 ;
9861 bool temp7 = False ;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 PyObject * obj2 = 0 ;
9865 PyObject * obj4 = 0 ;
9866 PyObject * obj5 = 0 ;
9867 PyObject * obj6 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9874 if (obj1) {
9875 {
9876 arg2 = wxString_in_helper(obj1);
9877 if (arg2 == NULL) SWIG_fail;
9878 temp2 = True;
9879 }
9880 }
9881 if (obj2) {
9882 {
9883 arg3 = wxString_in_helper(obj2);
9884 if (arg3 == NULL) SWIG_fail;
9885 temp3 = True;
9886 }
9887 }
9888 if (obj4) {
9889 {
9890 arg5 = &temp5;
9891 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9892 }
9893 }
9894 if (obj5) {
9895 {
9896 arg6 = &temp6;
9897 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9898 }
9899 }
9900 if (obj6) {
9901 {
9902 arg7 = wxString_in_helper(obj6);
9903 if (arg7 == NULL) SWIG_fail;
9904 temp7 = True;
9905 }
9906 }
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9915 {
9916 if (temp2)
9917 delete arg2;
9918 }
9919 {
9920 if (temp3)
9921 delete arg3;
9922 }
9923 {
9924 if (temp7)
9925 delete arg7;
9926 }
9927 return resultobj;
9928 fail:
9929 {
9930 if (temp2)
9931 delete arg2;
9932 }
9933 {
9934 if (temp3)
9935 delete arg3;
9936 }
9937 {
9938 if (temp7)
9939 delete arg7;
9940 }
9941 return NULL;
9942 }
9943
9944
9945 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj;
9947 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9948 wxString result;
9949 PyObject * obj0 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "self", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (arg1)->GetPath();
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 {
9964 #if wxUSE_UNICODE
9965 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9966 #else
9967 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9968 #endif
9969 }
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj;
9978 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9979 wxString result;
9980 PyObject * obj0 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (arg1)->GetMessage();
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 {
9995 #if wxUSE_UNICODE
9996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9997 #else
9998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9999 #endif
10000 }
10001 return resultobj;
10002 fail:
10003 return NULL;
10004 }
10005
10006
10007 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10010 long result;
10011 PyObject * obj0 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 result = (long)(arg1)->GetStyle();
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 resultobj = PyInt_FromLong((long)result);
10026 return resultobj;
10027 fail:
10028 return NULL;
10029 }
10030
10031
10032 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj;
10034 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10035 wxString *arg2 = 0 ;
10036 bool temp2 = False ;
10037 PyObject * obj0 = 0 ;
10038 PyObject * obj1 = 0 ;
10039 char *kwnames[] = {
10040 (char *) "self",(char *) "message", NULL
10041 };
10042
10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10045 {
10046 arg2 = wxString_in_helper(obj1);
10047 if (arg2 == NULL) SWIG_fail;
10048 temp2 = True;
10049 }
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 (arg1)->SetMessage((wxString const &)*arg2);
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
10057 Py_INCREF(Py_None); resultobj = Py_None;
10058 {
10059 if (temp2)
10060 delete arg2;
10061 }
10062 return resultobj;
10063 fail:
10064 {
10065 if (temp2)
10066 delete arg2;
10067 }
10068 return NULL;
10069 }
10070
10071
10072 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10075 wxString *arg2 = 0 ;
10076 bool temp2 = False ;
10077 PyObject * obj0 = 0 ;
10078 PyObject * obj1 = 0 ;
10079 char *kwnames[] = {
10080 (char *) "self",(char *) "path", NULL
10081 };
10082
10083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10085 {
10086 arg2 = wxString_in_helper(obj1);
10087 if (arg2 == NULL) SWIG_fail;
10088 temp2 = True;
10089 }
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 (arg1)->SetPath((wxString const &)*arg2);
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 Py_INCREF(Py_None); resultobj = Py_None;
10098 {
10099 if (temp2)
10100 delete arg2;
10101 }
10102 return resultobj;
10103 fail:
10104 {
10105 if (temp2)
10106 delete arg2;
10107 }
10108 return NULL;
10109 }
10110
10111
10112 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj;
10114 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10115 int result;
10116 PyObject * obj0 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 result = (int)(arg1)->ShowModal();
10126
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 }
10130 resultobj = PyInt_FromLong((long)result);
10131 return resultobj;
10132 fail:
10133 return NULL;
10134 }
10135
10136
10137 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10138 PyObject *obj;
10139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10140 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10141 Py_INCREF(obj);
10142 return Py_BuildValue((char *)"");
10143 }
10144 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxWindow *arg1 = (wxWindow *) 0 ;
10147 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10148 wxString *arg2 = (wxString *) &arg2_defvalue ;
10149 wxString const &arg3_defvalue = wxPyEmptyString ;
10150 wxString *arg3 = (wxString *) &arg3_defvalue ;
10151 wxString const &arg4_defvalue = wxPyEmptyString ;
10152 wxString *arg4 = (wxString *) &arg4_defvalue ;
10153 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10154 wxString *arg5 = (wxString *) &arg5_defvalue ;
10155 long arg6 = (long) 0 ;
10156 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10157 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10158 wxFileDialog *result;
10159 bool temp2 = False ;
10160 bool temp3 = False ;
10161 bool temp4 = False ;
10162 bool temp5 = False ;
10163 wxPoint temp7 ;
10164 PyObject * obj0 = 0 ;
10165 PyObject * obj1 = 0 ;
10166 PyObject * obj2 = 0 ;
10167 PyObject * obj3 = 0 ;
10168 PyObject * obj4 = 0 ;
10169 PyObject * obj6 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10176 if (obj1) {
10177 {
10178 arg2 = wxString_in_helper(obj1);
10179 if (arg2 == NULL) SWIG_fail;
10180 temp2 = True;
10181 }
10182 }
10183 if (obj2) {
10184 {
10185 arg3 = wxString_in_helper(obj2);
10186 if (arg3 == NULL) SWIG_fail;
10187 temp3 = True;
10188 }
10189 }
10190 if (obj3) {
10191 {
10192 arg4 = wxString_in_helper(obj3);
10193 if (arg4 == NULL) SWIG_fail;
10194 temp4 = True;
10195 }
10196 }
10197 if (obj4) {
10198 {
10199 arg5 = wxString_in_helper(obj4);
10200 if (arg5 == NULL) SWIG_fail;
10201 temp5 = True;
10202 }
10203 }
10204 if (obj6) {
10205 {
10206 arg7 = &temp7;
10207 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10208 }
10209 }
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10218 {
10219 if (temp2)
10220 delete arg2;
10221 }
10222 {
10223 if (temp3)
10224 delete arg3;
10225 }
10226 {
10227 if (temp4)
10228 delete arg4;
10229 }
10230 {
10231 if (temp5)
10232 delete arg5;
10233 }
10234 return resultobj;
10235 fail:
10236 {
10237 if (temp2)
10238 delete arg2;
10239 }
10240 {
10241 if (temp3)
10242 delete arg3;
10243 }
10244 {
10245 if (temp4)
10246 delete arg4;
10247 }
10248 {
10249 if (temp5)
10250 delete arg5;
10251 }
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10259 wxString *arg2 = 0 ;
10260 bool temp2 = False ;
10261 PyObject * obj0 = 0 ;
10262 PyObject * obj1 = 0 ;
10263 char *kwnames[] = {
10264 (char *) "self",(char *) "message", NULL
10265 };
10266
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10269 {
10270 arg2 = wxString_in_helper(obj1);
10271 if (arg2 == NULL) SWIG_fail;
10272 temp2 = True;
10273 }
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 (arg1)->SetMessage((wxString const &)*arg2);
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 Py_INCREF(Py_None); resultobj = Py_None;
10282 {
10283 if (temp2)
10284 delete arg2;
10285 }
10286 return resultobj;
10287 fail:
10288 {
10289 if (temp2)
10290 delete arg2;
10291 }
10292 return NULL;
10293 }
10294
10295
10296 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10299 wxString *arg2 = 0 ;
10300 bool temp2 = False ;
10301 PyObject * obj0 = 0 ;
10302 PyObject * obj1 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self",(char *) "path", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10309 {
10310 arg2 = wxString_in_helper(obj1);
10311 if (arg2 == NULL) SWIG_fail;
10312 temp2 = True;
10313 }
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 (arg1)->SetPath((wxString const &)*arg2);
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 Py_INCREF(Py_None); resultobj = Py_None;
10322 {
10323 if (temp2)
10324 delete arg2;
10325 }
10326 return resultobj;
10327 fail:
10328 {
10329 if (temp2)
10330 delete arg2;
10331 }
10332 return NULL;
10333 }
10334
10335
10336 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10339 wxString *arg2 = 0 ;
10340 bool temp2 = False ;
10341 PyObject * obj0 = 0 ;
10342 PyObject * obj1 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self",(char *) "dir", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10349 {
10350 arg2 = wxString_in_helper(obj1);
10351 if (arg2 == NULL) SWIG_fail;
10352 temp2 = True;
10353 }
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 (arg1)->SetDirectory((wxString const &)*arg2);
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 Py_INCREF(Py_None); resultobj = Py_None;
10362 {
10363 if (temp2)
10364 delete arg2;
10365 }
10366 return resultobj;
10367 fail:
10368 {
10369 if (temp2)
10370 delete arg2;
10371 }
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10379 wxString *arg2 = 0 ;
10380 bool temp2 = False ;
10381 PyObject * obj0 = 0 ;
10382 PyObject * obj1 = 0 ;
10383 char *kwnames[] = {
10384 (char *) "self",(char *) "name", NULL
10385 };
10386
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10389 {
10390 arg2 = wxString_in_helper(obj1);
10391 if (arg2 == NULL) SWIG_fail;
10392 temp2 = True;
10393 }
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 (arg1)->SetFilename((wxString const &)*arg2);
10397
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 Py_INCREF(Py_None); resultobj = Py_None;
10402 {
10403 if (temp2)
10404 delete arg2;
10405 }
10406 return resultobj;
10407 fail:
10408 {
10409 if (temp2)
10410 delete arg2;
10411 }
10412 return NULL;
10413 }
10414
10415
10416 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj;
10418 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10419 wxString *arg2 = 0 ;
10420 bool temp2 = False ;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "wildCard", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 {
10430 arg2 = wxString_in_helper(obj1);
10431 if (arg2 == NULL) SWIG_fail;
10432 temp2 = True;
10433 }
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 (arg1)->SetWildcard((wxString const &)*arg2);
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 Py_INCREF(Py_None); resultobj = Py_None;
10442 {
10443 if (temp2)
10444 delete arg2;
10445 }
10446 return resultobj;
10447 fail:
10448 {
10449 if (temp2)
10450 delete arg2;
10451 }
10452 return NULL;
10453 }
10454
10455
10456 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10457 PyObject *resultobj;
10458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10459 long arg2 ;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "style", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 (arg1)->SetStyle(arg2);
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 Py_INCREF(Py_None); resultobj = Py_None;
10475 return resultobj;
10476 fail:
10477 return NULL;
10478 }
10479
10480
10481 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10482 PyObject *resultobj;
10483 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10484 int arg2 ;
10485 PyObject * obj0 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self",(char *) "filterIndex", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->SetFilterIndex(arg2);
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 Py_INCREF(Py_None); resultobj = Py_None;
10500 return resultobj;
10501 fail:
10502 return NULL;
10503 }
10504
10505
10506 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10507 PyObject *resultobj;
10508 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10509 wxString result;
10510 PyObject * obj0 = 0 ;
10511 char *kwnames[] = {
10512 (char *) "self", NULL
10513 };
10514
10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = ((wxFileDialog const *)arg1)->GetMessage();
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 {
10525 #if wxUSE_UNICODE
10526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10527 #else
10528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10529 #endif
10530 }
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10538 PyObject *resultobj;
10539 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10540 wxString result;
10541 PyObject * obj0 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 result = ((wxFileDialog const *)arg1)->GetPath();
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 {
10556 #if wxUSE_UNICODE
10557 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10558 #else
10559 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10560 #endif
10561 }
10562 return resultobj;
10563 fail:
10564 return NULL;
10565 }
10566
10567
10568 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10569 PyObject *resultobj;
10570 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10571 wxString result;
10572 PyObject * obj0 = 0 ;
10573 char *kwnames[] = {
10574 (char *) "self", NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = ((wxFileDialog const *)arg1)->GetDirectory();
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 {
10587 #if wxUSE_UNICODE
10588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10589 #else
10590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10591 #endif
10592 }
10593 return resultobj;
10594 fail:
10595 return NULL;
10596 }
10597
10598
10599 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10602 wxString result;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 result = ((wxFileDialog const *)arg1)->GetFilename();
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 {
10618 #if wxUSE_UNICODE
10619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10620 #else
10621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10622 #endif
10623 }
10624 return resultobj;
10625 fail:
10626 return NULL;
10627 }
10628
10629
10630 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10631 PyObject *resultobj;
10632 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10633 wxString result;
10634 PyObject * obj0 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "self", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 result = ((wxFileDialog const *)arg1)->GetWildcard();
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 {
10649 #if wxUSE_UNICODE
10650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10651 #else
10652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10653 #endif
10654 }
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj;
10663 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10664 long result;
10665 PyObject * obj0 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10672 {
10673 PyThreadState* __tstate = wxPyBeginAllowThreads();
10674 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10675
10676 wxPyEndAllowThreads(__tstate);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 resultobj = PyInt_FromLong((long)result);
10680 return resultobj;
10681 fail:
10682 return NULL;
10683 }
10684
10685
10686 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10687 PyObject *resultobj;
10688 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10689 int result;
10690 PyObject * obj0 = 0 ;
10691 char *kwnames[] = {
10692 (char *) "self", NULL
10693 };
10694
10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 resultobj = PyInt_FromLong((long)result);
10705 return resultobj;
10706 fail:
10707 return NULL;
10708 }
10709
10710
10711 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10712 PyObject *resultobj;
10713 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10714 PyObject *result;
10715 PyObject * obj0 = 0 ;
10716 char *kwnames[] = {
10717 (char *) "self", NULL
10718 };
10719
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 resultobj = result;
10730 return resultobj;
10731 fail:
10732 return NULL;
10733 }
10734
10735
10736 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10739 PyObject *result;
10740 PyObject * obj0 = 0 ;
10741 char *kwnames[] = {
10742 (char *) "self", NULL
10743 };
10744
10745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 resultobj = result;
10755 return resultobj;
10756 fail:
10757 return NULL;
10758 }
10759
10760
10761 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10762 PyObject *obj;
10763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10764 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10765 Py_INCREF(obj);
10766 return Py_BuildValue((char *)"");
10767 }
10768 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10769 PyObject *resultobj;
10770 wxWindow *arg1 = (wxWindow *) 0 ;
10771 wxString *arg2 = 0 ;
10772 wxString *arg3 = 0 ;
10773 int arg4 ;
10774 wxString *arg5 = (wxString *) 0 ;
10775 long arg6 = (long) wxCHOICEDLG_STYLE ;
10776 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10777 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10778 wxMultiChoiceDialog *result;
10779 bool temp2 = False ;
10780 bool temp3 = False ;
10781 wxPoint temp7 ;
10782 PyObject * obj0 = 0 ;
10783 PyObject * obj1 = 0 ;
10784 PyObject * obj2 = 0 ;
10785 PyObject * obj4 = 0 ;
10786 PyObject * obj6 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10793 {
10794 arg2 = wxString_in_helper(obj1);
10795 if (arg2 == NULL) SWIG_fail;
10796 temp2 = True;
10797 }
10798 {
10799 arg3 = wxString_in_helper(obj2);
10800 if (arg3 == NULL) SWIG_fail;
10801 temp3 = True;
10802 }
10803 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10804 if (obj6) {
10805 {
10806 arg7 = &temp7;
10807 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10808 }
10809 }
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10818 {
10819 if (temp2)
10820 delete arg2;
10821 }
10822 {
10823 if (temp3)
10824 delete arg3;
10825 }
10826 return resultobj;
10827 fail:
10828 {
10829 if (temp2)
10830 delete arg2;
10831 }
10832 {
10833 if (temp3)
10834 delete arg3;
10835 }
10836 return NULL;
10837 }
10838
10839
10840 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10843 wxArrayInt *arg2 = 0 ;
10844 PyObject * obj0 = 0 ;
10845 PyObject * obj1 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "selections", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10852 {
10853 if (! PySequence_Check(obj1)) {
10854 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10855 SWIG_fail;
10856 }
10857 arg2 = new wxArrayInt;
10858 int i, len=PySequence_Length(obj1);
10859 for (i=0; i<len; i++) {
10860 PyObject* item = PySequence_GetItem(obj1, i);
10861 PyObject* number = PyNumber_Int(item);
10862 arg2->Add(PyInt_AS_LONG(number));
10863 Py_DECREF(item);
10864 Py_DECREF(number);
10865 }
10866 }
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 Py_INCREF(Py_None); resultobj = Py_None;
10875 {
10876 if (arg2) delete arg2;
10877 }
10878 return resultobj;
10879 fail:
10880 {
10881 if (arg2) delete arg2;
10882 }
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj;
10889 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10890 PyObject *result;
10891 PyObject * obj0 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 resultobj = result;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909 }
10910
10911
10912 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10913 PyObject *obj;
10914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10915 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10916 Py_INCREF(obj);
10917 return Py_BuildValue((char *)"");
10918 }
10919 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10920 PyObject *resultobj;
10921 wxWindow *arg1 = (wxWindow *) 0 ;
10922 wxString *arg2 = 0 ;
10923 wxString *arg3 = 0 ;
10924 int arg4 ;
10925 wxString *arg5 = (wxString *) 0 ;
10926 long arg6 = (long) wxCHOICEDLG_STYLE ;
10927 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10928 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10929 wxSingleChoiceDialog *result;
10930 bool temp2 = False ;
10931 bool temp3 = False ;
10932 wxPoint temp6 ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 PyObject * obj2 = 0 ;
10936 PyObject * obj3 = 0 ;
10937 PyObject * obj5 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10944 {
10945 arg2 = wxString_in_helper(obj1);
10946 if (arg2 == NULL) SWIG_fail;
10947 temp2 = True;
10948 }
10949 {
10950 arg3 = wxString_in_helper(obj2);
10951 if (arg3 == NULL) SWIG_fail;
10952 temp3 = True;
10953 }
10954 {
10955 arg4 = PyList_Size(obj3);
10956 arg5 = wxString_LIST_helper(obj3);
10957 if (arg5 == NULL) SWIG_fail;
10958 }
10959 if (obj5) {
10960 {
10961 arg7 = &temp6;
10962 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10963 }
10964 }
10965 {
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
10967 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10973 {
10974 if (temp2)
10975 delete arg2;
10976 }
10977 {
10978 if (temp3)
10979 delete arg3;
10980 }
10981 {
10982 if (arg5) delete [] arg5;
10983 }
10984 return resultobj;
10985 fail:
10986 {
10987 if (temp2)
10988 delete arg2;
10989 }
10990 {
10991 if (temp3)
10992 delete arg3;
10993 }
10994 {
10995 if (arg5) delete [] arg5;
10996 }
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11004 int result;
11005 PyObject * obj0 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 result = (int)(arg1)->GetSelection();
11015
11016 wxPyEndAllowThreads(__tstate);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 }
11019 resultobj = PyInt_FromLong((long)result);
11020 return resultobj;
11021 fail:
11022 return NULL;
11023 }
11024
11025
11026 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11027 PyObject *resultobj;
11028 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11029 wxString result;
11030 PyObject * obj0 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "self", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11037 {
11038 PyThreadState* __tstate = wxPyBeginAllowThreads();
11039 result = (arg1)->GetStringSelection();
11040
11041 wxPyEndAllowThreads(__tstate);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 {
11045 #if wxUSE_UNICODE
11046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11047 #else
11048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11049 #endif
11050 }
11051 return resultobj;
11052 fail:
11053 return NULL;
11054 }
11055
11056
11057 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11060 int arg2 ;
11061 PyObject * obj0 = 0 ;
11062 char *kwnames[] = {
11063 (char *) "self",(char *) "sel", NULL
11064 };
11065
11066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 (arg1)->SetSelection(arg2);
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 Py_INCREF(Py_None); resultobj = Py_None;
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj;
11084 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11085 int result;
11086 PyObject * obj0 = 0 ;
11087 char *kwnames[] = {
11088 (char *) "self", NULL
11089 };
11090
11091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 result = (int)(arg1)->ShowModal();
11096
11097 wxPyEndAllowThreads(__tstate);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
11100 resultobj = PyInt_FromLong((long)result);
11101 return resultobj;
11102 fail:
11103 return NULL;
11104 }
11105
11106
11107 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11108 PyObject *obj;
11109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11110 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11111 Py_INCREF(obj);
11112 return Py_BuildValue((char *)"");
11113 }
11114 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxWindow *arg1 = (wxWindow *) 0 ;
11117 wxString *arg2 = 0 ;
11118 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11119 wxString *arg3 = (wxString *) &arg3_defvalue ;
11120 wxString const &arg4_defvalue = wxPyEmptyString ;
11121 wxString *arg4 = (wxString *) &arg4_defvalue ;
11122 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11123 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11124 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11125 wxTextEntryDialog *result;
11126 bool temp2 = False ;
11127 bool temp3 = False ;
11128 bool temp4 = False ;
11129 wxPoint temp6 ;
11130 PyObject * obj0 = 0 ;
11131 PyObject * obj1 = 0 ;
11132 PyObject * obj2 = 0 ;
11133 PyObject * obj3 = 0 ;
11134 PyObject * obj5 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11141 {
11142 arg2 = wxString_in_helper(obj1);
11143 if (arg2 == NULL) SWIG_fail;
11144 temp2 = True;
11145 }
11146 if (obj2) {
11147 {
11148 arg3 = wxString_in_helper(obj2);
11149 if (arg3 == NULL) SWIG_fail;
11150 temp3 = True;
11151 }
11152 }
11153 if (obj3) {
11154 {
11155 arg4 = wxString_in_helper(obj3);
11156 if (arg4 == NULL) SWIG_fail;
11157 temp4 = True;
11158 }
11159 }
11160 if (obj5) {
11161 {
11162 arg6 = &temp6;
11163 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11164 }
11165 }
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11174 {
11175 if (temp2)
11176 delete arg2;
11177 }
11178 {
11179 if (temp3)
11180 delete arg3;
11181 }
11182 {
11183 if (temp4)
11184 delete arg4;
11185 }
11186 return resultobj;
11187 fail:
11188 {
11189 if (temp2)
11190 delete arg2;
11191 }
11192 {
11193 if (temp3)
11194 delete arg3;
11195 }
11196 {
11197 if (temp4)
11198 delete arg4;
11199 }
11200 return NULL;
11201 }
11202
11203
11204 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11205 PyObject *resultobj;
11206 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11207 wxString result;
11208 PyObject * obj0 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 result = (arg1)->GetValue();
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 {
11223 #if wxUSE_UNICODE
11224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11225 #else
11226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11227 #endif
11228 }
11229 return resultobj;
11230 fail:
11231 return NULL;
11232 }
11233
11234
11235 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj;
11237 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11238 wxString *arg2 = 0 ;
11239 bool temp2 = False ;
11240 PyObject * obj0 = 0 ;
11241 PyObject * obj1 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self",(char *) "value", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11248 {
11249 arg2 = wxString_in_helper(obj1);
11250 if (arg2 == NULL) SWIG_fail;
11251 temp2 = True;
11252 }
11253 {
11254 PyThreadState* __tstate = wxPyBeginAllowThreads();
11255 (arg1)->SetValue((wxString const &)*arg2);
11256
11257 wxPyEndAllowThreads(__tstate);
11258 if (PyErr_Occurred()) SWIG_fail;
11259 }
11260 Py_INCREF(Py_None); resultobj = Py_None;
11261 {
11262 if (temp2)
11263 delete arg2;
11264 }
11265 return resultobj;
11266 fail:
11267 {
11268 if (temp2)
11269 delete arg2;
11270 }
11271 return NULL;
11272 }
11273
11274
11275 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11276 PyObject *resultobj;
11277 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11278 int result;
11279 PyObject * obj0 = 0 ;
11280 char *kwnames[] = {
11281 (char *) "self", NULL
11282 };
11283
11284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 result = (int)(arg1)->ShowModal();
11289
11290 wxPyEndAllowThreads(__tstate);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 }
11293 resultobj = PyInt_FromLong((long)result);
11294 return resultobj;
11295 fail:
11296 return NULL;
11297 }
11298
11299
11300 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11301 PyObject *obj;
11302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11303 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11304 Py_INCREF(obj);
11305 return Py_BuildValue((char *)"");
11306 }
11307 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject *resultobj;
11309 wxFontData *result;
11310 char *kwnames[] = {
11311 NULL
11312 };
11313
11314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11315 {
11316 PyThreadState* __tstate = wxPyBeginAllowThreads();
11317 result = (wxFontData *)new wxFontData();
11318
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11323 return resultobj;
11324 fail:
11325 return NULL;
11326 }
11327
11328
11329 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11330 PyObject *resultobj;
11331 wxFontData *arg1 = (wxFontData *) 0 ;
11332 PyObject * obj0 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 delete arg1;
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 Py_INCREF(Py_None); resultobj = Py_None;
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj;
11355 wxFontData *arg1 = (wxFontData *) 0 ;
11356 bool arg2 ;
11357 PyObject * obj0 = 0 ;
11358 PyObject * obj1 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self",(char *) "enable", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11365 arg2 = PyInt_AsLong(obj1) ? true : false;
11366 if (PyErr_Occurred()) SWIG_fail;
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 (arg1)->EnableEffects(arg2);
11370
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 Py_INCREF(Py_None); resultobj = Py_None;
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj;
11383 wxFontData *arg1 = (wxFontData *) 0 ;
11384 bool result;
11385 PyObject * obj0 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 result = (bool)(arg1)->GetAllowSymbols();
11395
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 resultobj = PyInt_FromLong((long)result);
11400 return resultobj;
11401 fail:
11402 return NULL;
11403 }
11404
11405
11406 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj;
11408 wxFontData *arg1 = (wxFontData *) 0 ;
11409 wxColour result;
11410 PyObject * obj0 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (arg1)->GetColour();
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 wxColour * resultptr;
11426 resultptr = new wxColour((wxColour &) result);
11427 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11428 }
11429 return resultobj;
11430 fail:
11431 return NULL;
11432 }
11433
11434
11435 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11436 PyObject *resultobj;
11437 wxFontData *arg1 = (wxFontData *) 0 ;
11438 wxFont result;
11439 PyObject * obj0 = 0 ;
11440 char *kwnames[] = {
11441 (char *) "self", NULL
11442 };
11443
11444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (arg1)->GetChosenFont();
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 {
11454 wxFont * resultptr;
11455 resultptr = new wxFont((wxFont &) result);
11456 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11457 }
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxFontData *arg1 = (wxFontData *) 0 ;
11467 bool result;
11468 PyObject * obj0 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 result = (bool)(arg1)->GetEnableEffects();
11478
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 resultobj = PyInt_FromLong((long)result);
11483 return resultobj;
11484 fail:
11485 return NULL;
11486 }
11487
11488
11489 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj;
11491 wxFontData *arg1 = (wxFontData *) 0 ;
11492 wxFont result;
11493 PyObject * obj0 = 0 ;
11494 char *kwnames[] = {
11495 (char *) "self", NULL
11496 };
11497
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 result = (arg1)->GetInitialFont();
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 {
11508 wxFont * resultptr;
11509 resultptr = new wxFont((wxFont &) result);
11510 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11511 }
11512 return resultobj;
11513 fail:
11514 return NULL;
11515 }
11516
11517
11518 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj;
11520 wxFontData *arg1 = (wxFontData *) 0 ;
11521 bool result;
11522 PyObject * obj0 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "self", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 result = (bool)(arg1)->GetShowHelp();
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 resultobj = PyInt_FromLong((long)result);
11537 return resultobj;
11538 fail:
11539 return NULL;
11540 }
11541
11542
11543 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11544 PyObject *resultobj;
11545 wxFontData *arg1 = (wxFontData *) 0 ;
11546 bool arg2 ;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "allowSymbols", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11555 arg2 = PyInt_AsLong(obj1) ? true : false;
11556 if (PyErr_Occurred()) SWIG_fail;
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->SetAllowSymbols(arg2);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 return resultobj;
11566 fail:
11567 return NULL;
11568 }
11569
11570
11571 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11572 PyObject *resultobj;
11573 wxFontData *arg1 = (wxFontData *) 0 ;
11574 wxFont *arg2 = 0 ;
11575 PyObject * obj0 = 0 ;
11576 PyObject * obj1 = 0 ;
11577 char *kwnames[] = {
11578 (char *) "self",(char *) "font", NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 if (arg2 == NULL) {
11585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11586 }
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->SetChosenFont((wxFont const &)*arg2);
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj;
11603 wxFontData *arg1 = (wxFontData *) 0 ;
11604 wxColour *arg2 = 0 ;
11605 wxColour temp2 ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "self",(char *) "colour", NULL
11610 };
11611
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11614 {
11615 arg2 = &temp2;
11616 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11617 }
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 (arg1)->SetColour((wxColour const &)*arg2);
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 Py_INCREF(Py_None); resultobj = Py_None;
11626 return resultobj;
11627 fail:
11628 return NULL;
11629 }
11630
11631
11632 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11633 PyObject *resultobj;
11634 wxFontData *arg1 = (wxFontData *) 0 ;
11635 wxFont *arg2 = 0 ;
11636 PyObject * obj0 = 0 ;
11637 PyObject * obj1 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "self",(char *) "font", NULL
11640 };
11641
11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11645 if (arg2 == NULL) {
11646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11647 }
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 (arg1)->SetInitialFont((wxFont const &)*arg2);
11651
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 Py_INCREF(Py_None); resultobj = Py_None;
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj;
11664 wxFontData *arg1 = (wxFontData *) 0 ;
11665 int arg2 ;
11666 int arg3 ;
11667 PyObject * obj0 = 0 ;
11668 char *kwnames[] = {
11669 (char *) "self",(char *) "min",(char *) "max", NULL
11670 };
11671
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 (arg1)->SetRange(arg2,arg3);
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 Py_INCREF(Py_None); resultobj = Py_None;
11682 return resultobj;
11683 fail:
11684 return NULL;
11685 }
11686
11687
11688 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11689 PyObject *resultobj;
11690 wxFontData *arg1 = (wxFontData *) 0 ;
11691 bool arg2 ;
11692 PyObject * obj0 = 0 ;
11693 PyObject * obj1 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self",(char *) "showHelp", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11700 arg2 = PyInt_AsLong(obj1) ? true : false;
11701 if (PyErr_Occurred()) SWIG_fail;
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->SetShowHelp(arg2);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 Py_INCREF(Py_None); resultobj = Py_None;
11710 return resultobj;
11711 fail:
11712 return NULL;
11713 }
11714
11715
11716 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11717 PyObject *obj;
11718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11719 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11720 Py_INCREF(obj);
11721 return Py_BuildValue((char *)"");
11722 }
11723 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxWindow *arg1 = (wxWindow *) 0 ;
11726 wxFontData *arg2 = 0 ;
11727 wxFontDialog *result;
11728 PyObject * obj0 = 0 ;
11729 PyObject * obj1 = 0 ;
11730 char *kwnames[] = {
11731 (char *) "parent",(char *) "data", NULL
11732 };
11733
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11737 if (arg2 == NULL) {
11738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11739 }
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11748 return resultobj;
11749 fail:
11750 return NULL;
11751 }
11752
11753
11754 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11757 wxFontData *result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 {
11768 wxFontData &_result_ref = (arg1)->GetFontData();
11769 result = (wxFontData *) &_result_ref;
11770 }
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11776 return resultobj;
11777 fail:
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11785 int result;
11786 PyObject * obj0 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 result = (int)(arg1)->ShowModal();
11796
11797 wxPyEndAllowThreads(__tstate);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 }
11800 resultobj = PyInt_FromLong((long)result);
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11808 PyObject *obj;
11809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11810 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11811 Py_INCREF(obj);
11812 return Py_BuildValue((char *)"");
11813 }
11814 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11815 PyObject *resultobj;
11816 wxWindow *arg1 = (wxWindow *) 0 ;
11817 wxString *arg2 = 0 ;
11818 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11819 wxString *arg3 = (wxString *) &arg3_defvalue ;
11820 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11821 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11822 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11823 wxMessageDialog *result;
11824 bool temp2 = False ;
11825 bool temp3 = False ;
11826 wxPoint temp5 ;
11827 PyObject * obj0 = 0 ;
11828 PyObject * obj1 = 0 ;
11829 PyObject * obj2 = 0 ;
11830 PyObject * obj4 = 0 ;
11831 char *kwnames[] = {
11832 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11837 {
11838 arg2 = wxString_in_helper(obj1);
11839 if (arg2 == NULL) SWIG_fail;
11840 temp2 = True;
11841 }
11842 if (obj2) {
11843 {
11844 arg3 = wxString_in_helper(obj2);
11845 if (arg3 == NULL) SWIG_fail;
11846 temp3 = True;
11847 }
11848 }
11849 if (obj4) {
11850 {
11851 arg5 = &temp5;
11852 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11853 }
11854 }
11855 {
11856 PyThreadState* __tstate = wxPyBeginAllowThreads();
11857 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11858
11859 wxPyEndAllowThreads(__tstate);
11860 if (PyErr_Occurred()) SWIG_fail;
11861 }
11862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11863 {
11864 if (temp2)
11865 delete arg2;
11866 }
11867 {
11868 if (temp3)
11869 delete arg3;
11870 }
11871 return resultobj;
11872 fail:
11873 {
11874 if (temp2)
11875 delete arg2;
11876 }
11877 {
11878 if (temp3)
11879 delete arg3;
11880 }
11881 return NULL;
11882 }
11883
11884
11885 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11886 PyObject *resultobj;
11887 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11888 int result;
11889 PyObject * obj0 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "self", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 result = (int)(arg1)->ShowModal();
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 resultobj = PyInt_FromLong((long)result);
11904 return resultobj;
11905 fail:
11906 return NULL;
11907 }
11908
11909
11910 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11911 PyObject *obj;
11912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11913 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11914 Py_INCREF(obj);
11915 return Py_BuildValue((char *)"");
11916 }
11917 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj;
11919 wxString *arg1 = 0 ;
11920 wxString *arg2 = 0 ;
11921 int arg3 = (int) 100 ;
11922 wxWindow *arg4 = (wxWindow *) NULL ;
11923 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11924 wxProgressDialog *result;
11925 bool temp1 = False ;
11926 bool temp2 = False ;
11927 PyObject * obj0 = 0 ;
11928 PyObject * obj1 = 0 ;
11929 PyObject * obj3 = 0 ;
11930 char *kwnames[] = {
11931 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11932 };
11933
11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11935 {
11936 arg1 = wxString_in_helper(obj0);
11937 if (arg1 == NULL) SWIG_fail;
11938 temp1 = True;
11939 }
11940 {
11941 arg2 = wxString_in_helper(obj1);
11942 if (arg2 == NULL) SWIG_fail;
11943 temp2 = True;
11944 }
11945 if (obj3) {
11946 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11947 }
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11956 {
11957 if (temp1)
11958 delete arg1;
11959 }
11960 {
11961 if (temp2)
11962 delete arg2;
11963 }
11964 return resultobj;
11965 fail:
11966 {
11967 if (temp1)
11968 delete arg1;
11969 }
11970 {
11971 if (temp2)
11972 delete arg2;
11973 }
11974 return NULL;
11975 }
11976
11977
11978 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11979 PyObject *resultobj;
11980 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11981 int arg2 ;
11982 wxString const &arg3_defvalue = wxPyEmptyString ;
11983 wxString *arg3 = (wxString *) &arg3_defvalue ;
11984 bool result;
11985 bool temp3 = False ;
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj2 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11994 if (obj2) {
11995 {
11996 arg3 = wxString_in_helper(obj2);
11997 if (arg3 == NULL) SWIG_fail;
11998 temp3 = True;
11999 }
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 resultobj = PyInt_FromLong((long)result);
12009 {
12010 if (temp3)
12011 delete arg3;
12012 }
12013 return resultobj;
12014 fail:
12015 {
12016 if (temp3)
12017 delete arg3;
12018 }
12019 return NULL;
12020 }
12021
12022
12023 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12026 PyObject * obj0 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 (arg1)->Resume();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 Py_INCREF(Py_None); resultobj = Py_None;
12041 return resultobj;
12042 fail:
12043 return NULL;
12044 }
12045
12046
12047 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12048 PyObject *obj;
12049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12050 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12051 Py_INCREF(obj);
12052 return Py_BuildValue((char *)"");
12053 }
12054 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12057 int arg2 = (int) 0 ;
12058 wxFindDialogEvent *result;
12059 char *kwnames[] = {
12060 (char *) "commandType",(char *) "id", NULL
12061 };
12062
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12064 {
12065 PyThreadState* __tstate = wxPyBeginAllowThreads();
12066 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12067
12068 wxPyEndAllowThreads(__tstate);
12069 if (PyErr_Occurred()) SWIG_fail;
12070 }
12071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12072 return resultobj;
12073 fail:
12074 return NULL;
12075 }
12076
12077
12078 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12079 PyObject *resultobj;
12080 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12081 int result;
12082 PyObject * obj0 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self", NULL
12085 };
12086
12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 result = (int)(arg1)->GetFlags();
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 resultobj = PyInt_FromLong((long)result);
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj;
12105 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12106 wxString result;
12107 PyObject * obj0 = 0 ;
12108 char *kwnames[] = {
12109 (char *) "self", NULL
12110 };
12111
12112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = (arg1)->GetFindString();
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 {
12122 #if wxUSE_UNICODE
12123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12124 #else
12125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12126 #endif
12127 }
12128 return resultobj;
12129 fail:
12130 return NULL;
12131 }
12132
12133
12134 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj;
12136 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12137 wxString *result;
12138 PyObject * obj0 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 {
12148 wxString const &_result_ref = (arg1)->GetReplaceString();
12149 result = (wxString *) &_result_ref;
12150 }
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12156 return resultobj;
12157 fail:
12158 return NULL;
12159 }
12160
12161
12162 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12163 PyObject *resultobj;
12164 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12165 wxFindReplaceDialog *result;
12166 PyObject * obj0 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12181 return resultobj;
12182 fail:
12183 return NULL;
12184 }
12185
12186
12187 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12188 PyObject *resultobj;
12189 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12190 int arg2 ;
12191 PyObject * obj0 = 0 ;
12192 char *kwnames[] = {
12193 (char *) "self",(char *) "flags", NULL
12194 };
12195
12196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 (arg1)->SetFlags(arg2);
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 Py_INCREF(Py_None); resultobj = Py_None;
12206 return resultobj;
12207 fail:
12208 return NULL;
12209 }
12210
12211
12212 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12215 wxString *arg2 = 0 ;
12216 bool temp2 = False ;
12217 PyObject * obj0 = 0 ;
12218 PyObject * obj1 = 0 ;
12219 char *kwnames[] = {
12220 (char *) "self",(char *) "str", NULL
12221 };
12222
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12225 {
12226 arg2 = wxString_in_helper(obj1);
12227 if (arg2 == NULL) SWIG_fail;
12228 temp2 = True;
12229 }
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 (arg1)->SetFindString((wxString const &)*arg2);
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 Py_INCREF(Py_None); resultobj = Py_None;
12238 {
12239 if (temp2)
12240 delete arg2;
12241 }
12242 return resultobj;
12243 fail:
12244 {
12245 if (temp2)
12246 delete arg2;
12247 }
12248 return NULL;
12249 }
12250
12251
12252 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12255 wxString *arg2 = 0 ;
12256 bool temp2 = False ;
12257 PyObject * obj0 = 0 ;
12258 PyObject * obj1 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self",(char *) "str", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12265 {
12266 arg2 = wxString_in_helper(obj1);
12267 if (arg2 == NULL) SWIG_fail;
12268 temp2 = True;
12269 }
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 (arg1)->SetReplaceString((wxString const &)*arg2);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 Py_INCREF(Py_None); resultobj = Py_None;
12278 {
12279 if (temp2)
12280 delete arg2;
12281 }
12282 return resultobj;
12283 fail:
12284 {
12285 if (temp2)
12286 delete arg2;
12287 }
12288 return NULL;
12289 }
12290
12291
12292 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12293 PyObject *obj;
12294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12295 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12296 Py_INCREF(obj);
12297 return Py_BuildValue((char *)"");
12298 }
12299 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 int arg1 = (int) 0 ;
12302 wxFindReplaceData *result;
12303 char *kwnames[] = {
12304 (char *) "flags", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12325 PyObject * obj0 = 0 ;
12326 char *kwnames[] = {
12327 (char *) "self", NULL
12328 };
12329
12330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 delete arg1;
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 Py_INCREF(Py_None); resultobj = Py_None;
12340 return resultobj;
12341 fail:
12342 return NULL;
12343 }
12344
12345
12346 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12347 PyObject *resultobj;
12348 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12349 wxString *result;
12350 PyObject * obj0 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 {
12360 wxString const &_result_ref = (arg1)->GetFindString();
12361 result = (wxString *) &_result_ref;
12362 }
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12368 return resultobj;
12369 fail:
12370 return NULL;
12371 }
12372
12373
12374 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12375 PyObject *resultobj;
12376 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12377 wxString *result;
12378 PyObject * obj0 = 0 ;
12379 char *kwnames[] = {
12380 (char *) "self", NULL
12381 };
12382
12383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 {
12388 wxString const &_result_ref = (arg1)->GetReplaceString();
12389 result = (wxString *) &_result_ref;
12390 }
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12396 return resultobj;
12397 fail:
12398 return NULL;
12399 }
12400
12401
12402 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj;
12404 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12405 int result;
12406 PyObject * obj0 = 0 ;
12407 char *kwnames[] = {
12408 (char *) "self", NULL
12409 };
12410
12411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 result = (int)(arg1)->GetFlags();
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 resultobj = PyInt_FromLong((long)result);
12421 return resultobj;
12422 fail:
12423 return NULL;
12424 }
12425
12426
12427 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12428 PyObject *resultobj;
12429 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12430 int arg2 ;
12431 PyObject * obj0 = 0 ;
12432 char *kwnames[] = {
12433 (char *) "self",(char *) "flags", NULL
12434 };
12435
12436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12438 {
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 (arg1)->SetFlags(arg2);
12441
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 Py_INCREF(Py_None); resultobj = Py_None;
12446 return resultobj;
12447 fail:
12448 return NULL;
12449 }
12450
12451
12452 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12453 PyObject *resultobj;
12454 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12455 wxString *arg2 = 0 ;
12456 bool temp2 = False ;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459 char *kwnames[] = {
12460 (char *) "self",(char *) "str", NULL
12461 };
12462
12463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12465 {
12466 arg2 = wxString_in_helper(obj1);
12467 if (arg2 == NULL) SWIG_fail;
12468 temp2 = True;
12469 }
12470 {
12471 PyThreadState* __tstate = wxPyBeginAllowThreads();
12472 (arg1)->SetFindString((wxString const &)*arg2);
12473
12474 wxPyEndAllowThreads(__tstate);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 }
12477 Py_INCREF(Py_None); resultobj = Py_None;
12478 {
12479 if (temp2)
12480 delete arg2;
12481 }
12482 return resultobj;
12483 fail:
12484 {
12485 if (temp2)
12486 delete arg2;
12487 }
12488 return NULL;
12489 }
12490
12491
12492 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12493 PyObject *resultobj;
12494 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12495 wxString *arg2 = 0 ;
12496 bool temp2 = False ;
12497 PyObject * obj0 = 0 ;
12498 PyObject * obj1 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self",(char *) "str", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12505 {
12506 arg2 = wxString_in_helper(obj1);
12507 if (arg2 == NULL) SWIG_fail;
12508 temp2 = True;
12509 }
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 (arg1)->SetReplaceString((wxString const &)*arg2);
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 Py_INCREF(Py_None); resultobj = Py_None;
12518 {
12519 if (temp2)
12520 delete arg2;
12521 }
12522 return resultobj;
12523 fail:
12524 {
12525 if (temp2)
12526 delete arg2;
12527 }
12528 return NULL;
12529 }
12530
12531
12532 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12533 PyObject *obj;
12534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12535 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12536 Py_INCREF(obj);
12537 return Py_BuildValue((char *)"");
12538 }
12539 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12540 PyObject *resultobj;
12541 wxWindow *arg1 = (wxWindow *) 0 ;
12542 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12543 wxString *arg3 = 0 ;
12544 int arg4 = (int) 0 ;
12545 wxFindReplaceDialog *result;
12546 bool temp3 = False ;
12547 PyObject * obj0 = 0 ;
12548 PyObject * obj1 = 0 ;
12549 PyObject * obj2 = 0 ;
12550 char *kwnames[] = {
12551 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12552 };
12553
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12557 {
12558 arg3 = wxString_in_helper(obj2);
12559 if (arg3 == NULL) SWIG_fail;
12560 temp3 = True;
12561 }
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12570 {
12571 if (temp3)
12572 delete arg3;
12573 }
12574 return resultobj;
12575 fail:
12576 {
12577 if (temp3)
12578 delete arg3;
12579 }
12580 return NULL;
12581 }
12582
12583
12584 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxFindReplaceDialog *result;
12587 char *kwnames[] = {
12588 NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12595
12596 wxPyEndAllowThreads(__tstate);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12600 return resultobj;
12601 fail:
12602 return NULL;
12603 }
12604
12605
12606 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12607 PyObject *resultobj;
12608 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12609 wxWindow *arg2 = (wxWindow *) 0 ;
12610 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12611 wxString *arg4 = 0 ;
12612 int arg5 = (int) 0 ;
12613 bool result;
12614 bool temp4 = False ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
12618 PyObject * obj3 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12626 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12627 {
12628 arg4 = wxString_in_helper(obj3);
12629 if (arg4 == NULL) SWIG_fail;
12630 temp4 = True;
12631 }
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = PyInt_FromLong((long)result);
12640 {
12641 if (temp4)
12642 delete arg4;
12643 }
12644 return resultobj;
12645 fail:
12646 {
12647 if (temp4)
12648 delete arg4;
12649 }
12650 return NULL;
12651 }
12652
12653
12654 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12655 PyObject *resultobj;
12656 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12657 wxFindReplaceData *result;
12658 PyObject * obj0 = 0 ;
12659 char *kwnames[] = {
12660 (char *) "self", NULL
12661 };
12662
12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = (wxFindReplaceData *)(arg1)->GetData();
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12682 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12683 PyObject * obj0 = 0 ;
12684 PyObject * obj1 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self",(char *) "data", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->SetData(arg2);
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12707 PyObject *obj;
12708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12709 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12710 Py_INCREF(obj);
12711 return Py_BuildValue((char *)"");
12712 }
12713 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12714 PyObject *resultobj;
12715 wxWindow *arg1 = (wxWindow *) 0 ;
12716 int arg2 ;
12717 wxString *arg3 = 0 ;
12718 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12719 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12720 wxSize const &arg5_defvalue = wxDefaultSize ;
12721 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12722 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12723 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12724 wxString *arg7 = (wxString *) &arg7_defvalue ;
12725 wxMDIParentFrame *result;
12726 bool temp3 = False ;
12727 wxPoint temp4 ;
12728 wxSize temp5 ;
12729 bool temp7 = False ;
12730 PyObject * obj0 = 0 ;
12731 PyObject * obj2 = 0 ;
12732 PyObject * obj3 = 0 ;
12733 PyObject * obj4 = 0 ;
12734 PyObject * obj6 = 0 ;
12735 char *kwnames[] = {
12736 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12737 };
12738
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12741 {
12742 arg3 = wxString_in_helper(obj2);
12743 if (arg3 == NULL) SWIG_fail;
12744 temp3 = True;
12745 }
12746 if (obj3) {
12747 {
12748 arg4 = &temp4;
12749 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12750 }
12751 }
12752 if (obj4) {
12753 {
12754 arg5 = &temp5;
12755 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12756 }
12757 }
12758 if (obj6) {
12759 {
12760 arg7 = wxString_in_helper(obj6);
12761 if (arg7 == NULL) SWIG_fail;
12762 temp7 = True;
12763 }
12764 }
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12768
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12773 {
12774 if (temp3)
12775 delete arg3;
12776 }
12777 {
12778 if (temp7)
12779 delete arg7;
12780 }
12781 return resultobj;
12782 fail:
12783 {
12784 if (temp3)
12785 delete arg3;
12786 }
12787 {
12788 if (temp7)
12789 delete arg7;
12790 }
12791 return NULL;
12792 }
12793
12794
12795 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxMDIParentFrame *result;
12798 char *kwnames[] = {
12799 NULL
12800 };
12801
12802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj;
12819 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12820 wxWindow *arg2 = (wxWindow *) 0 ;
12821 int arg3 ;
12822 wxString *arg4 = 0 ;
12823 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12824 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12825 wxSize const &arg6_defvalue = wxDefaultSize ;
12826 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12827 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12828 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12829 wxString *arg8 = (wxString *) &arg8_defvalue ;
12830 bool result;
12831 bool temp4 = False ;
12832 wxPoint temp5 ;
12833 wxSize temp6 ;
12834 bool temp8 = False ;
12835 PyObject * obj0 = 0 ;
12836 PyObject * obj1 = 0 ;
12837 PyObject * obj3 = 0 ;
12838 PyObject * obj4 = 0 ;
12839 PyObject * obj5 = 0 ;
12840 PyObject * obj7 = 0 ;
12841 char *kwnames[] = {
12842 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12843 };
12844
12845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12848 {
12849 arg4 = wxString_in_helper(obj3);
12850 if (arg4 == NULL) SWIG_fail;
12851 temp4 = True;
12852 }
12853 if (obj4) {
12854 {
12855 arg5 = &temp5;
12856 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12857 }
12858 }
12859 if (obj5) {
12860 {
12861 arg6 = &temp6;
12862 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12863 }
12864 }
12865 if (obj7) {
12866 {
12867 arg8 = wxString_in_helper(obj7);
12868 if (arg8 == NULL) SWIG_fail;
12869 temp8 = True;
12870 }
12871 }
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12875
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 resultobj = PyInt_FromLong((long)result);
12880 {
12881 if (temp4)
12882 delete arg4;
12883 }
12884 {
12885 if (temp8)
12886 delete arg8;
12887 }
12888 return resultobj;
12889 fail:
12890 {
12891 if (temp4)
12892 delete arg4;
12893 }
12894 {
12895 if (temp8)
12896 delete arg8;
12897 }
12898 return NULL;
12899 }
12900
12901
12902 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj;
12904 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12905 PyObject * obj0 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 (arg1)->ActivateNext();
12915
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 Py_INCREF(Py_None); resultobj = Py_None;
12920 return resultobj;
12921 fail:
12922 return NULL;
12923 }
12924
12925
12926 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12927 PyObject *resultobj;
12928 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12929 PyObject * obj0 = 0 ;
12930 char *kwnames[] = {
12931 (char *) "self", NULL
12932 };
12933
12934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 (arg1)->ActivatePrevious();
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 Py_INCREF(Py_None); resultobj = Py_None;
12944 return resultobj;
12945 fail:
12946 return NULL;
12947 }
12948
12949
12950 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12951 PyObject *resultobj;
12952 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12953 PyObject * obj0 = 0 ;
12954 char *kwnames[] = {
12955 (char *) "self", NULL
12956 };
12957
12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12960 {
12961 PyThreadState* __tstate = wxPyBeginAllowThreads();
12962 (arg1)->ArrangeIcons();
12963
12964 wxPyEndAllowThreads(__tstate);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 }
12967 Py_INCREF(Py_None); resultobj = Py_None;
12968 return resultobj;
12969 fail:
12970 return NULL;
12971 }
12972
12973
12974 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12975 PyObject *resultobj;
12976 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12977 PyObject * obj0 = 0 ;
12978 char *kwnames[] = {
12979 (char *) "self", NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 (arg1)->Cascade();
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 Py_INCREF(Py_None); resultobj = Py_None;
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13001 wxMDIChildFrame *result;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 {
13017 resultobj = wxPyMake_wxObject(result);
13018 }
13019 return resultobj;
13020 fail:
13021 return NULL;
13022 }
13023
13024
13025 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13028 wxMDIClientWindow *result;
13029 PyObject * obj0 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "self", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 {
13044 resultobj = wxPyMake_wxObject(result);
13045 }
13046 return resultobj;
13047 fail:
13048 return NULL;
13049 }
13050
13051
13052 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj;
13054 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13055 wxWindow *result;
13056 PyObject * obj0 = 0 ;
13057 char *kwnames[] = {
13058 (char *) "self", NULL
13059 };
13060
13061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13063 {
13064 PyThreadState* __tstate = wxPyBeginAllowThreads();
13065 result = (wxWindow *)(arg1)->GetToolBar();
13066
13067 wxPyEndAllowThreads(__tstate);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
13070 {
13071 resultobj = wxPyMake_wxObject(result);
13072 }
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13082 PyObject * obj0 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 (arg1)->Tile();
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 Py_INCREF(Py_None); resultobj = Py_None;
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13104 PyObject *obj;
13105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13106 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13107 Py_INCREF(obj);
13108 return Py_BuildValue((char *)"");
13109 }
13110 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13111 PyObject *resultobj;
13112 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13113 int arg2 ;
13114 wxString *arg3 = 0 ;
13115 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13116 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13117 wxSize const &arg5_defvalue = wxDefaultSize ;
13118 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13119 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13120 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13121 wxString *arg7 = (wxString *) &arg7_defvalue ;
13122 wxMDIChildFrame *result;
13123 bool temp3 = False ;
13124 wxPoint temp4 ;
13125 wxSize temp5 ;
13126 bool temp7 = False ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj2 = 0 ;
13129 PyObject * obj3 = 0 ;
13130 PyObject * obj4 = 0 ;
13131 PyObject * obj6 = 0 ;
13132 char *kwnames[] = {
13133 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13134 };
13135
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13138 {
13139 arg3 = wxString_in_helper(obj2);
13140 if (arg3 == NULL) SWIG_fail;
13141 temp3 = True;
13142 }
13143 if (obj3) {
13144 {
13145 arg4 = &temp4;
13146 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13147 }
13148 }
13149 if (obj4) {
13150 {
13151 arg5 = &temp5;
13152 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13153 }
13154 }
13155 if (obj6) {
13156 {
13157 arg7 = wxString_in_helper(obj6);
13158 if (arg7 == NULL) SWIG_fail;
13159 temp7 = True;
13160 }
13161 }
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 {
13170 resultobj = wxPyMake_wxObject(result);
13171 }
13172 {
13173 if (temp3)
13174 delete arg3;
13175 }
13176 {
13177 if (temp7)
13178 delete arg7;
13179 }
13180 return resultobj;
13181 fail:
13182 {
13183 if (temp3)
13184 delete arg3;
13185 }
13186 {
13187 if (temp7)
13188 delete arg7;
13189 }
13190 return NULL;
13191 }
13192
13193
13194 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13195 PyObject *resultobj;
13196 wxMDIChildFrame *result;
13197 char *kwnames[] = {
13198 NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 {
13210 resultobj = wxPyMake_wxObject(result);
13211 }
13212 return resultobj;
13213 fail:
13214 return NULL;
13215 }
13216
13217
13218 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj;
13220 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13221 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13222 int arg3 ;
13223 wxString *arg4 = 0 ;
13224 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13225 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13226 wxSize const &arg6_defvalue = wxDefaultSize ;
13227 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13228 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13229 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13230 wxString *arg8 = (wxString *) &arg8_defvalue ;
13231 bool result;
13232 bool temp4 = False ;
13233 wxPoint temp5 ;
13234 wxSize temp6 ;
13235 bool temp8 = False ;
13236 PyObject * obj0 = 0 ;
13237 PyObject * obj1 = 0 ;
13238 PyObject * obj3 = 0 ;
13239 PyObject * obj4 = 0 ;
13240 PyObject * obj5 = 0 ;
13241 PyObject * obj7 = 0 ;
13242 char *kwnames[] = {
13243 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13244 };
13245
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13249 {
13250 arg4 = wxString_in_helper(obj3);
13251 if (arg4 == NULL) SWIG_fail;
13252 temp4 = True;
13253 }
13254 if (obj4) {
13255 {
13256 arg5 = &temp5;
13257 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13258 }
13259 }
13260 if (obj5) {
13261 {
13262 arg6 = &temp6;
13263 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13264 }
13265 }
13266 if (obj7) {
13267 {
13268 arg8 = wxString_in_helper(obj7);
13269 if (arg8 == NULL) SWIG_fail;
13270 temp8 = True;
13271 }
13272 }
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
13275 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 resultobj = PyInt_FromLong((long)result);
13281 {
13282 if (temp4)
13283 delete arg4;
13284 }
13285 {
13286 if (temp8)
13287 delete arg8;
13288 }
13289 return resultobj;
13290 fail:
13291 {
13292 if (temp4)
13293 delete arg4;
13294 }
13295 {
13296 if (temp8)
13297 delete arg8;
13298 }
13299 return NULL;
13300 }
13301
13302
13303 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13306 PyObject * obj0 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 (arg1)->Activate();
13316
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 Py_INCREF(Py_None); resultobj = Py_None;
13321 return resultobj;
13322 fail:
13323 return NULL;
13324 }
13325
13326
13327 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj;
13329 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13330 bool arg2 ;
13331 PyObject * obj0 = 0 ;
13332 PyObject * obj1 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self",(char *) "maximize", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13339 arg2 = PyInt_AsLong(obj1) ? true : false;
13340 if (PyErr_Occurred()) SWIG_fail;
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 (arg1)->Maximize(arg2);
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
13348 Py_INCREF(Py_None); resultobj = Py_None;
13349 return resultobj;
13350 fail:
13351 return NULL;
13352 }
13353
13354
13355 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13356 PyObject *resultobj;
13357 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13358 PyObject * obj0 = 0 ;
13359 char *kwnames[] = {
13360 (char *) "self", NULL
13361 };
13362
13363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->Restore();
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 Py_INCREF(Py_None); resultobj = Py_None;
13373 return resultobj;
13374 fail:
13375 return NULL;
13376 }
13377
13378
13379 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13380 PyObject *obj;
13381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13382 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13383 Py_INCREF(obj);
13384 return Py_BuildValue((char *)"");
13385 }
13386 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj;
13388 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13389 long arg2 = (long) 0 ;
13390 wxMDIClientWindow *result;
13391 PyObject * obj0 = 0 ;
13392 char *kwnames[] = {
13393 (char *) "parent",(char *) "style", NULL
13394 };
13395
13396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 {
13406 resultobj = wxPyMake_wxObject(result);
13407 }
13408 return resultobj;
13409 fail:
13410 return NULL;
13411 }
13412
13413
13414 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13415 PyObject *resultobj;
13416 wxMDIClientWindow *result;
13417 char *kwnames[] = {
13418 NULL
13419 };
13420
13421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 {
13430 resultobj = wxPyMake_wxObject(result);
13431 }
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj;
13440 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13441 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13442 long arg3 = (long) 0 ;
13443 bool result;
13444 PyObject * obj0 = 0 ;
13445 PyObject * obj1 = 0 ;
13446 char *kwnames[] = {
13447 (char *) "self",(char *) "parent",(char *) "style", NULL
13448 };
13449
13450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
13455 result = (bool)(arg1)->Create(arg2,arg3);
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 resultobj = PyInt_FromLong((long)result);
13461 return resultobj;
13462 fail:
13463 return NULL;
13464 }
13465
13466
13467 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13468 PyObject *obj;
13469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13470 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13471 Py_INCREF(obj);
13472 return Py_BuildValue((char *)"");
13473 }
13474 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj;
13476 wxWindow *arg1 = (wxWindow *) 0 ;
13477 int arg2 ;
13478 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13479 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13480 wxSize const &arg4_defvalue = wxDefaultSize ;
13481 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13482 long arg5 = (long) 0 ;
13483 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13484 wxString *arg6 = (wxString *) &arg6_defvalue ;
13485 wxPyWindow *result;
13486 wxPoint temp3 ;
13487 wxSize temp4 ;
13488 bool temp6 = False ;
13489 PyObject * obj0 = 0 ;
13490 PyObject * obj2 = 0 ;
13491 PyObject * obj3 = 0 ;
13492 PyObject * obj5 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13499 if (obj2) {
13500 {
13501 arg3 = &temp3;
13502 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13503 }
13504 }
13505 if (obj3) {
13506 {
13507 arg4 = &temp4;
13508 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13509 }
13510 }
13511 if (obj5) {
13512 {
13513 arg6 = wxString_in_helper(obj5);
13514 if (arg6 == NULL) SWIG_fail;
13515 temp6 = True;
13516 }
13517 }
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13526 {
13527 if (temp6)
13528 delete arg6;
13529 }
13530 return resultobj;
13531 fail:
13532 {
13533 if (temp6)
13534 delete arg6;
13535 }
13536 return NULL;
13537 }
13538
13539
13540 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13541 PyObject *resultobj;
13542 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13543 PyObject *arg2 = (PyObject *) 0 ;
13544 PyObject *arg3 = (PyObject *) 0 ;
13545 PyObject * obj0 = 0 ;
13546 PyObject * obj1 = 0 ;
13547 PyObject * obj2 = 0 ;
13548 char *kwnames[] = {
13549 (char *) "self",(char *) "self",(char *) "_class", NULL
13550 };
13551
13552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13554 arg2 = obj1;
13555 arg3 = obj2;
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 (arg1)->_setCallbackInfo(arg2,arg3);
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 Py_INCREF(Py_None); resultobj = Py_None;
13564 return resultobj;
13565 fail:
13566 return NULL;
13567 }
13568
13569
13570 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13571 PyObject *resultobj;
13572 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13573 int arg2 ;
13574 int arg3 ;
13575 int arg4 ;
13576 int arg5 ;
13577 PyObject * obj0 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 Py_INCREF(Py_None); resultobj = Py_None;
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13601 int arg2 ;
13602 int arg3 ;
13603 int arg4 ;
13604 int arg5 ;
13605 int arg6 = (int) wxSIZE_AUTO ;
13606 PyObject * obj0 = 0 ;
13607 char *kwnames[] = {
13608 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13609 };
13610
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13616
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 Py_INCREF(Py_None); resultobj = Py_None;
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13630 int arg2 ;
13631 int arg3 ;
13632 PyObject * obj0 = 0 ;
13633 char *kwnames[] = {
13634 (char *) "self",(char *) "width",(char *) "height", NULL
13635 };
13636
13637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 (arg1)->base_DoSetClientSize(arg2,arg3);
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 Py_INCREF(Py_None); resultobj = Py_None;
13647 return resultobj;
13648 fail:
13649 return NULL;
13650 }
13651
13652
13653 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13654 PyObject *resultobj;
13655 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13656 int arg2 ;
13657 int arg3 ;
13658 PyObject * obj0 = 0 ;
13659 char *kwnames[] = {
13660 (char *) "self",(char *) "x",(char *) "y", NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 Py_INCREF(Py_None); resultobj = Py_None;
13673 return resultobj;
13674 fail:
13675 return NULL;
13676 }
13677
13678
13679 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13682 int *arg2 = (int *) 0 ;
13683 int *arg3 = (int *) 0 ;
13684 int temp2 ;
13685 int temp3 ;
13686 PyObject * obj0 = 0 ;
13687 char *kwnames[] = {
13688 (char *) "self", NULL
13689 };
13690
13691 arg2 = &temp2;
13692 arg3 = &temp3;
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 Py_INCREF(Py_None); resultobj = Py_None;
13703 {
13704 PyObject *o = PyInt_FromLong((long) (*arg2));
13705 resultobj = t_output_helper(resultobj,o);
13706 }
13707 {
13708 PyObject *o = PyInt_FromLong((long) (*arg3));
13709 resultobj = t_output_helper(resultobj,o);
13710 }
13711 return resultobj;
13712 fail:
13713 return NULL;
13714 }
13715
13716
13717 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13718 PyObject *resultobj;
13719 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13720 int *arg2 = (int *) 0 ;
13721 int *arg3 = (int *) 0 ;
13722 int temp2 ;
13723 int temp3 ;
13724 PyObject * obj0 = 0 ;
13725 char *kwnames[] = {
13726 (char *) "self", NULL
13727 };
13728
13729 arg2 = &temp2;
13730 arg3 = &temp3;
13731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13736
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 Py_INCREF(Py_None); resultobj = Py_None;
13741 {
13742 PyObject *o = PyInt_FromLong((long) (*arg2));
13743 resultobj = t_output_helper(resultobj,o);
13744 }
13745 {
13746 PyObject *o = PyInt_FromLong((long) (*arg3));
13747 resultobj = t_output_helper(resultobj,o);
13748 }
13749 return resultobj;
13750 fail:
13751 return NULL;
13752 }
13753
13754
13755 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13758 int *arg2 = (int *) 0 ;
13759 int *arg3 = (int *) 0 ;
13760 int temp2 ;
13761 int temp3 ;
13762 PyObject * obj0 = 0 ;
13763 char *kwnames[] = {
13764 (char *) "self", NULL
13765 };
13766
13767 arg2 = &temp2;
13768 arg3 = &temp3;
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13771 {
13772 PyThreadState* __tstate = wxPyBeginAllowThreads();
13773 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13774
13775 wxPyEndAllowThreads(__tstate);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 Py_INCREF(Py_None); resultobj = Py_None;
13779 {
13780 PyObject *o = PyInt_FromLong((long) (*arg2));
13781 resultobj = t_output_helper(resultobj,o);
13782 }
13783 {
13784 PyObject *o = PyInt_FromLong((long) (*arg3));
13785 resultobj = t_output_helper(resultobj,o);
13786 }
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13796 wxSize result;
13797 PyObject * obj0 = 0 ;
13798 char *kwnames[] = {
13799 (char *) "self", NULL
13800 };
13801
13802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 {
13812 wxSize * resultptr;
13813 resultptr = new wxSize((wxSize &) result);
13814 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13815 }
13816 return resultobj;
13817 fail:
13818 return NULL;
13819 }
13820
13821
13822 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13823 PyObject *resultobj;
13824 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13825 wxSize result;
13826 PyObject * obj0 = 0 ;
13827 char *kwnames[] = {
13828 (char *) "self", NULL
13829 };
13830
13831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 {
13841 wxSize * resultptr;
13842 resultptr = new wxSize((wxSize &) result);
13843 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13844 }
13845 return resultobj;
13846 fail:
13847 return NULL;
13848 }
13849
13850
13851 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13852 PyObject *resultobj;
13853 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13854 PyObject * obj0 = 0 ;
13855 char *kwnames[] = {
13856 (char *) "self", NULL
13857 };
13858
13859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 (arg1)->base_InitDialog();
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 Py_INCREF(Py_None); resultobj = Py_None;
13869 return resultobj;
13870 fail:
13871 return NULL;
13872 }
13873
13874
13875 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13878 bool result;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 result = (bool)(arg1)->base_TransferDataToWindow();
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 resultobj = PyInt_FromLong((long)result);
13894 return resultobj;
13895 fail:
13896 return NULL;
13897 }
13898
13899
13900 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13903 bool result;
13904 PyObject * obj0 = 0 ;
13905 char *kwnames[] = {
13906 (char *) "self", NULL
13907 };
13908
13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 result = (bool)(arg1)->base_TransferDataFromWindow();
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 resultobj = PyInt_FromLong((long)result);
13919 return resultobj;
13920 fail:
13921 return NULL;
13922 }
13923
13924
13925 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj;
13927 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13928 bool result;
13929 PyObject * obj0 = 0 ;
13930 char *kwnames[] = {
13931 (char *) "self", NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 result = (bool)(arg1)->base_Validate();
13939
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 resultobj = PyInt_FromLong((long)result);
13944 return resultobj;
13945 fail:
13946 return NULL;
13947 }
13948
13949
13950 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13951 PyObject *resultobj;
13952 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13953 bool result;
13954 PyObject * obj0 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13961 {
13962 PyThreadState* __tstate = wxPyBeginAllowThreads();
13963 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13964
13965 wxPyEndAllowThreads(__tstate);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 resultobj = PyInt_FromLong((long)result);
13969 return resultobj;
13970 fail:
13971 return NULL;
13972 }
13973
13974
13975 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13976 PyObject *resultobj;
13977 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13978 bool result;
13979 PyObject * obj0 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
13989
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 resultobj = PyInt_FromLong((long)result);
13994 return resultobj;
13995 fail:
13996 return NULL;
13997 }
13998
13999
14000 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj;
14002 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14003 wxSize result;
14004 PyObject * obj0 = 0 ;
14005 char *kwnames[] = {
14006 (char *) "self", NULL
14007 };
14008
14009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14011 {
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14014
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 {
14019 wxSize * resultptr;
14020 resultptr = new wxSize((wxSize &) result);
14021 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14022 }
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14030 PyObject *resultobj;
14031 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14032 wxWindow *arg2 = (wxWindow *) 0 ;
14033 PyObject * obj0 = 0 ;
14034 PyObject * obj1 = 0 ;
14035 char *kwnames[] = {
14036 (char *) "self",(char *) "child", NULL
14037 };
14038
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14042 {
14043 PyThreadState* __tstate = wxPyBeginAllowThreads();
14044 (arg1)->base_AddChild(arg2);
14045
14046 wxPyEndAllowThreads(__tstate);
14047 if (PyErr_Occurred()) SWIG_fail;
14048 }
14049 Py_INCREF(Py_None); resultobj = Py_None;
14050 return resultobj;
14051 fail:
14052 return NULL;
14053 }
14054
14055
14056 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14057 PyObject *resultobj;
14058 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14059 wxWindow *arg2 = (wxWindow *) 0 ;
14060 PyObject * obj0 = 0 ;
14061 PyObject * obj1 = 0 ;
14062 char *kwnames[] = {
14063 (char *) "self",(char *) "child", NULL
14064 };
14065
14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 (arg1)->base_RemoveChild(arg2);
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14084 PyObject *obj;
14085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14086 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14087 Py_INCREF(obj);
14088 return Py_BuildValue((char *)"");
14089 }
14090 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj;
14092 wxWindow *arg1 = (wxWindow *) 0 ;
14093 int arg2 ;
14094 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14095 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14096 wxSize const &arg4_defvalue = wxDefaultSize ;
14097 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14098 long arg5 = (long) 0 ;
14099 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14100 wxString *arg6 = (wxString *) &arg6_defvalue ;
14101 wxPyPanel *result;
14102 wxPoint temp3 ;
14103 wxSize temp4 ;
14104 bool temp6 = False ;
14105 PyObject * obj0 = 0 ;
14106 PyObject * obj2 = 0 ;
14107 PyObject * obj3 = 0 ;
14108 PyObject * obj5 = 0 ;
14109 char *kwnames[] = {
14110 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14111 };
14112
14113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14115 if (obj2) {
14116 {
14117 arg3 = &temp3;
14118 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14119 }
14120 }
14121 if (obj3) {
14122 {
14123 arg4 = &temp4;
14124 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14125 }
14126 }
14127 if (obj5) {
14128 {
14129 arg6 = wxString_in_helper(obj5);
14130 if (arg6 == NULL) SWIG_fail;
14131 temp6 = True;
14132 }
14133 }
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14142 {
14143 if (temp6)
14144 delete arg6;
14145 }
14146 return resultobj;
14147 fail:
14148 {
14149 if (temp6)
14150 delete arg6;
14151 }
14152 return NULL;
14153 }
14154
14155
14156 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj;
14158 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14159 PyObject *arg2 = (PyObject *) 0 ;
14160 PyObject *arg3 = (PyObject *) 0 ;
14161 PyObject * obj0 = 0 ;
14162 PyObject * obj1 = 0 ;
14163 PyObject * obj2 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self",(char *) "self",(char *) "_class", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14170 arg2 = obj1;
14171 arg3 = obj2;
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 (arg1)->_setCallbackInfo(arg2,arg3);
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 Py_INCREF(Py_None); resultobj = Py_None;
14180 return resultobj;
14181 fail:
14182 return NULL;
14183 }
14184
14185
14186 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14187 PyObject *resultobj;
14188 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14189 int arg2 ;
14190 int arg3 ;
14191 int arg4 ;
14192 int arg5 ;
14193 PyObject * obj0 = 0 ;
14194 char *kwnames[] = {
14195 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14196 };
14197
14198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 Py_INCREF(Py_None); resultobj = Py_None;
14208 return resultobj;
14209 fail:
14210 return NULL;
14211 }
14212
14213
14214 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14215 PyObject *resultobj;
14216 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14217 int arg2 ;
14218 int arg3 ;
14219 int arg4 ;
14220 int arg5 ;
14221 int arg6 = (int) wxSIZE_AUTO ;
14222 PyObject * obj0 = 0 ;
14223 char *kwnames[] = {
14224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14225 };
14226
14227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14232
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 Py_INCREF(Py_None); resultobj = Py_None;
14237 return resultobj;
14238 fail:
14239 return NULL;
14240 }
14241
14242
14243 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14244 PyObject *resultobj;
14245 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14246 int arg2 ;
14247 int arg3 ;
14248 PyObject * obj0 = 0 ;
14249 char *kwnames[] = {
14250 (char *) "self",(char *) "width",(char *) "height", NULL
14251 };
14252
14253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 (arg1)->base_DoSetClientSize(arg2,arg3);
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 Py_INCREF(Py_None); resultobj = Py_None;
14263 return resultobj;
14264 fail:
14265 return NULL;
14266 }
14267
14268
14269 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14270 PyObject *resultobj;
14271 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14272 int arg2 ;
14273 int arg3 ;
14274 PyObject * obj0 = 0 ;
14275 char *kwnames[] = {
14276 (char *) "self",(char *) "x",(char *) "y", NULL
14277 };
14278
14279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 Py_INCREF(Py_None); resultobj = Py_None;
14289 return resultobj;
14290 fail:
14291 return NULL;
14292 }
14293
14294
14295 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14296 PyObject *resultobj;
14297 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14298 int *arg2 = (int *) 0 ;
14299 int *arg3 = (int *) 0 ;
14300 int temp2 ;
14301 int temp3 ;
14302 PyObject * obj0 = 0 ;
14303 char *kwnames[] = {
14304 (char *) "self", NULL
14305 };
14306
14307 arg2 = &temp2;
14308 arg3 = &temp3;
14309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14311 {
14312 PyThreadState* __tstate = wxPyBeginAllowThreads();
14313 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14314
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 Py_INCREF(Py_None); resultobj = Py_None;
14319 {
14320 PyObject *o = PyInt_FromLong((long) (*arg2));
14321 resultobj = t_output_helper(resultobj,o);
14322 }
14323 {
14324 PyObject *o = PyInt_FromLong((long) (*arg3));
14325 resultobj = t_output_helper(resultobj,o);
14326 }
14327 return resultobj;
14328 fail:
14329 return NULL;
14330 }
14331
14332
14333 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14334 PyObject *resultobj;
14335 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14336 int *arg2 = (int *) 0 ;
14337 int *arg3 = (int *) 0 ;
14338 int temp2 ;
14339 int temp3 ;
14340 PyObject * obj0 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "self", NULL
14343 };
14344
14345 arg2 = &temp2;
14346 arg3 = &temp3;
14347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 Py_INCREF(Py_None); resultobj = Py_None;
14357 {
14358 PyObject *o = PyInt_FromLong((long) (*arg2));
14359 resultobj = t_output_helper(resultobj,o);
14360 }
14361 {
14362 PyObject *o = PyInt_FromLong((long) (*arg3));
14363 resultobj = t_output_helper(resultobj,o);
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368 }
14369
14370
14371 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj;
14373 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14374 int *arg2 = (int *) 0 ;
14375 int *arg3 = (int *) 0 ;
14376 int temp2 ;
14377 int temp3 ;
14378 PyObject * obj0 = 0 ;
14379 char *kwnames[] = {
14380 (char *) "self", NULL
14381 };
14382
14383 arg2 = &temp2;
14384 arg3 = &temp3;
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14390
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 Py_INCREF(Py_None); resultobj = Py_None;
14395 {
14396 PyObject *o = PyInt_FromLong((long) (*arg2));
14397 resultobj = t_output_helper(resultobj,o);
14398 }
14399 {
14400 PyObject *o = PyInt_FromLong((long) (*arg3));
14401 resultobj = t_output_helper(resultobj,o);
14402 }
14403 return resultobj;
14404 fail:
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14412 wxSize result;
14413 PyObject * obj0 = 0 ;
14414 char *kwnames[] = {
14415 (char *) "self", NULL
14416 };
14417
14418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 {
14428 wxSize * resultptr;
14429 resultptr = new wxSize((wxSize &) result);
14430 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14431 }
14432 return resultobj;
14433 fail:
14434 return NULL;
14435 }
14436
14437
14438 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14439 PyObject *resultobj;
14440 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14441 wxSize result;
14442 PyObject * obj0 = 0 ;
14443 char *kwnames[] = {
14444 (char *) "self", NULL
14445 };
14446
14447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14452
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 {
14457 wxSize * resultptr;
14458 resultptr = new wxSize((wxSize &) result);
14459 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14460 }
14461 return resultobj;
14462 fail:
14463 return NULL;
14464 }
14465
14466
14467 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14468 PyObject *resultobj;
14469 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14470 PyObject * obj0 = 0 ;
14471 char *kwnames[] = {
14472 (char *) "self", NULL
14473 };
14474
14475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 (arg1)->base_InitDialog();
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 Py_INCREF(Py_None); resultobj = Py_None;
14485 return resultobj;
14486 fail:
14487 return NULL;
14488 }
14489
14490
14491 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14492 PyObject *resultobj;
14493 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14494 bool result;
14495 PyObject * obj0 = 0 ;
14496 char *kwnames[] = {
14497 (char *) "self", NULL
14498 };
14499
14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 result = (bool)(arg1)->base_TransferDataToWindow();
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 resultobj = PyInt_FromLong((long)result);
14510 return resultobj;
14511 fail:
14512 return NULL;
14513 }
14514
14515
14516 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj;
14518 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14519 bool result;
14520 PyObject * obj0 = 0 ;
14521 char *kwnames[] = {
14522 (char *) "self", NULL
14523 };
14524
14525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 result = (bool)(arg1)->base_TransferDataFromWindow();
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 resultobj = PyInt_FromLong((long)result);
14535 return resultobj;
14536 fail:
14537 return NULL;
14538 }
14539
14540
14541 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14544 bool result;
14545 PyObject * obj0 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = (bool)(arg1)->base_Validate();
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 resultobj = PyInt_FromLong((long)result);
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14567 PyObject *resultobj;
14568 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14569 bool result;
14570 PyObject * obj0 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14577 {
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14580
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 resultobj = PyInt_FromLong((long)result);
14585 return resultobj;
14586 fail:
14587 return NULL;
14588 }
14589
14590
14591 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj;
14593 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14594 bool result;
14595 PyObject * obj0 = 0 ;
14596 char *kwnames[] = {
14597 (char *) "self", NULL
14598 };
14599
14600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14602 {
14603 PyThreadState* __tstate = wxPyBeginAllowThreads();
14604 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14605
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 resultobj = PyInt_FromLong((long)result);
14610 return resultobj;
14611 fail:
14612 return NULL;
14613 }
14614
14615
14616 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj;
14618 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14619 wxSize result;
14620 PyObject * obj0 = 0 ;
14621 char *kwnames[] = {
14622 (char *) "self", NULL
14623 };
14624
14625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14630
14631 wxPyEndAllowThreads(__tstate);
14632 if (PyErr_Occurred()) SWIG_fail;
14633 }
14634 {
14635 wxSize * resultptr;
14636 resultptr = new wxSize((wxSize &) result);
14637 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14638 }
14639 return resultobj;
14640 fail:
14641 return NULL;
14642 }
14643
14644
14645 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14646 PyObject *resultobj;
14647 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14648 wxWindow *arg2 = (wxWindow *) 0 ;
14649 PyObject * obj0 = 0 ;
14650 PyObject * obj1 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self",(char *) "child", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 (arg1)->base_AddChild(arg2);
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 Py_INCREF(Py_None); resultobj = Py_None;
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj;
14674 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14675 wxWindow *arg2 = (wxWindow *) 0 ;
14676 PyObject * obj0 = 0 ;
14677 PyObject * obj1 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self",(char *) "child", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 (arg1)->base_RemoveChild(arg2);
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 Py_INCREF(Py_None); resultobj = Py_None;
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14700 PyObject *obj;
14701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14702 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14703 Py_INCREF(obj);
14704 return Py_BuildValue((char *)"");
14705 }
14706 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxPrintData *result;
14709 char *kwnames[] = {
14710 NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 result = (wxPrintData *)new wxPrintData();
14717
14718 wxPyEndAllowThreads(__tstate);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14722 return resultobj;
14723 fail:
14724 return NULL;
14725 }
14726
14727
14728 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14729 PyObject *resultobj;
14730 wxPrintData *arg1 = (wxPrintData *) 0 ;
14731 PyObject * obj0 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 delete arg1;
14741
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 Py_INCREF(Py_None); resultobj = Py_None;
14746 return resultobj;
14747 fail:
14748 return NULL;
14749 }
14750
14751
14752 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxPrintData *arg1 = (wxPrintData *) 0 ;
14755 int result;
14756 PyObject * obj0 = 0 ;
14757 char *kwnames[] = {
14758 (char *) "self", NULL
14759 };
14760
14761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = (int)(arg1)->GetNoCopies();
14766
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 resultobj = PyInt_FromLong((long)result);
14771 return resultobj;
14772 fail:
14773 return NULL;
14774 }
14775
14776
14777 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14778 PyObject *resultobj;
14779 wxPrintData *arg1 = (wxPrintData *) 0 ;
14780 bool result;
14781 PyObject * obj0 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "self", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 result = (bool)(arg1)->GetCollate();
14791
14792 wxPyEndAllowThreads(__tstate);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 }
14795 resultobj = PyInt_FromLong((long)result);
14796 return resultobj;
14797 fail:
14798 return NULL;
14799 }
14800
14801
14802 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14803 PyObject *resultobj;
14804 wxPrintData *arg1 = (wxPrintData *) 0 ;
14805 int result;
14806 PyObject * obj0 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14813 {
14814 PyThreadState* __tstate = wxPyBeginAllowThreads();
14815 result = (int)(arg1)->GetOrientation();
14816
14817 wxPyEndAllowThreads(__tstate);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 resultobj = PyInt_FromLong((long)result);
14821 return resultobj;
14822 fail:
14823 return NULL;
14824 }
14825
14826
14827 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj;
14829 wxPrintData *arg1 = (wxPrintData *) 0 ;
14830 bool result;
14831 PyObject * obj0 = 0 ;
14832 char *kwnames[] = {
14833 (char *) "self", NULL
14834 };
14835
14836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14838 {
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 result = (bool)(arg1)->Ok();
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 resultobj = PyInt_FromLong((long)result);
14846 return resultobj;
14847 fail:
14848 return NULL;
14849 }
14850
14851
14852 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14853 PyObject *resultobj;
14854 wxPrintData *arg1 = (wxPrintData *) 0 ;
14855 wxString *result;
14856 PyObject * obj0 = 0 ;
14857 char *kwnames[] = {
14858 (char *) "self", NULL
14859 };
14860
14861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14863 {
14864 PyThreadState* __tstate = wxPyBeginAllowThreads();
14865 {
14866 wxString const &_result_ref = (arg1)->GetPrinterName();
14867 result = (wxString *) &_result_ref;
14868 }
14869
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14881 PyObject *resultobj;
14882 wxPrintData *arg1 = (wxPrintData *) 0 ;
14883 bool result;
14884 PyObject * obj0 = 0 ;
14885 char *kwnames[] = {
14886 (char *) "self", NULL
14887 };
14888
14889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (bool)(arg1)->GetColour();
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 resultobj = PyInt_FromLong((long)result);
14899 return resultobj;
14900 fail:
14901 return NULL;
14902 }
14903
14904
14905 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj;
14907 wxPrintData *arg1 = (wxPrintData *) 0 ;
14908 int result;
14909 PyObject * obj0 = 0 ;
14910 char *kwnames[] = {
14911 (char *) "self", NULL
14912 };
14913
14914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (int)(arg1)->GetDuplex();
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 resultobj = PyInt_FromLong((long)result);
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxPrintData *arg1 = (wxPrintData *) 0 ;
14933 int result;
14934 PyObject * obj0 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "self", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (int)(arg1)->GetPaperId();
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 resultobj = PyInt_FromLong((long)result);
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj;
14957 wxPrintData *arg1 = (wxPrintData *) 0 ;
14958 wxSize *result;
14959 PyObject * obj0 = 0 ;
14960 char *kwnames[] = {
14961 (char *) "self", NULL
14962 };
14963
14964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 {
14969 wxSize const &_result_ref = (arg1)->GetPaperSize();
14970 result = (wxSize *) &_result_ref;
14971 }
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxPrintData *arg1 = (wxPrintData *) 0 ;
14986 wxPrintQuality result;
14987 PyObject * obj0 = 0 ;
14988 char *kwnames[] = {
14989 (char *) "self", NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
14993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (arg1)->GetQuality();
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 {
15002 wxPrintQuality * resultptr;
15003 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15005 }
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxPrintData *arg1 = (wxPrintData *) 0 ;
15015 int arg2 ;
15016 PyObject * obj0 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "self",(char *) "v", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 (arg1)->SetNoCopies(arg2);
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 Py_INCREF(Py_None); resultobj = Py_None;
15031 return resultobj;
15032 fail:
15033 return NULL;
15034 }
15035
15036
15037 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj;
15039 wxPrintData *arg1 = (wxPrintData *) 0 ;
15040 bool arg2 ;
15041 PyObject * obj0 = 0 ;
15042 PyObject * obj1 = 0 ;
15043 char *kwnames[] = {
15044 (char *) "self",(char *) "flag", NULL
15045 };
15046
15047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15049 arg2 = PyInt_AsLong(obj1) ? true : false;
15050 if (PyErr_Occurred()) SWIG_fail;
15051 {
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 (arg1)->SetCollate(arg2);
15054
15055 wxPyEndAllowThreads(__tstate);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 }
15058 Py_INCREF(Py_None); resultobj = Py_None;
15059 return resultobj;
15060 fail:
15061 return NULL;
15062 }
15063
15064
15065 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxPrintData *arg1 = (wxPrintData *) 0 ;
15068 int arg2 ;
15069 PyObject * obj0 = 0 ;
15070 char *kwnames[] = {
15071 (char *) "self",(char *) "orient", NULL
15072 };
15073
15074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 (arg1)->SetOrientation(arg2);
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 Py_INCREF(Py_None); resultobj = Py_None;
15084 return resultobj;
15085 fail:
15086 return NULL;
15087 }
15088
15089
15090 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj;
15092 wxPrintData *arg1 = (wxPrintData *) 0 ;
15093 wxString *arg2 = 0 ;
15094 bool temp2 = False ;
15095 PyObject * obj0 = 0 ;
15096 PyObject * obj1 = 0 ;
15097 char *kwnames[] = {
15098 (char *) "self",(char *) "name", NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15103 {
15104 arg2 = wxString_in_helper(obj1);
15105 if (arg2 == NULL) SWIG_fail;
15106 temp2 = True;
15107 }
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 (arg1)->SetPrinterName((wxString const &)*arg2);
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 Py_INCREF(Py_None); resultobj = Py_None;
15116 {
15117 if (temp2)
15118 delete arg2;
15119 }
15120 return resultobj;
15121 fail:
15122 {
15123 if (temp2)
15124 delete arg2;
15125 }
15126 return NULL;
15127 }
15128
15129
15130 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15131 PyObject *resultobj;
15132 wxPrintData *arg1 = (wxPrintData *) 0 ;
15133 bool arg2 ;
15134 PyObject * obj0 = 0 ;
15135 PyObject * obj1 = 0 ;
15136 char *kwnames[] = {
15137 (char *) "self",(char *) "colour", NULL
15138 };
15139
15140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15142 arg2 = PyInt_AsLong(obj1) ? true : false;
15143 if (PyErr_Occurred()) SWIG_fail;
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 (arg1)->SetColour(arg2);
15147
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 Py_INCREF(Py_None); resultobj = Py_None;
15152 return resultobj;
15153 fail:
15154 return NULL;
15155 }
15156
15157
15158 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxPrintData *arg1 = (wxPrintData *) 0 ;
15161 int arg2 ;
15162 PyObject * obj0 = 0 ;
15163 char *kwnames[] = {
15164 (char *) "self",(char *) "duplex", NULL
15165 };
15166
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 (arg1)->SetDuplex((wxDuplexMode )arg2);
15172
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15176 Py_INCREF(Py_None); resultobj = Py_None;
15177 return resultobj;
15178 fail:
15179 return NULL;
15180 }
15181
15182
15183 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15184 PyObject *resultobj;
15185 wxPrintData *arg1 = (wxPrintData *) 0 ;
15186 int arg2 ;
15187 PyObject * obj0 = 0 ;
15188 char *kwnames[] = {
15189 (char *) "self",(char *) "sizeId", NULL
15190 };
15191
15192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->SetPaperId((wxPaperSize )arg2);
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 Py_INCREF(Py_None); resultobj = Py_None;
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxPrintData *arg1 = (wxPrintData *) 0 ;
15211 wxSize *arg2 = 0 ;
15212 wxSize temp2 ;
15213 PyObject * obj0 = 0 ;
15214 PyObject * obj1 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self",(char *) "sz", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15221 {
15222 arg2 = &temp2;
15223 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15224 }
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 (arg1)->SetPaperSize((wxSize const &)*arg2);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 Py_INCREF(Py_None); resultobj = Py_None;
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj;
15241 wxPrintData *arg1 = (wxPrintData *) 0 ;
15242 wxPrintQuality arg2 ;
15243 wxPrintQuality *argp2 ;
15244 PyObject * obj0 = 0 ;
15245 PyObject * obj1 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self",(char *) "quality", NULL
15248 };
15249
15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15252 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15253 arg2 = *argp2;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 (arg1)->SetQuality(arg2);
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 Py_INCREF(Py_None); resultobj = Py_None;
15262 return resultobj;
15263 fail:
15264 return NULL;
15265 }
15266
15267
15268 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15269 PyObject *resultobj;
15270 wxPrintData *arg1 = (wxPrintData *) 0 ;
15271 wxString *result;
15272 PyObject * obj0 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "self", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 {
15282 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15283 result = (wxString *) &_result_ref;
15284 }
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
15289 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15290 return resultobj;
15291 fail:
15292 return NULL;
15293 }
15294
15295
15296 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15297 PyObject *resultobj;
15298 wxPrintData *arg1 = (wxPrintData *) 0 ;
15299 wxString *result;
15300 PyObject * obj0 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 {
15310 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15311 result = (wxString *) &_result_ref;
15312 }
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15318 return resultobj;
15319 fail:
15320 return NULL;
15321 }
15322
15323
15324 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxPrintData *arg1 = (wxPrintData *) 0 ;
15327 wxString *result;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 {
15338 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15339 result = (wxString *) &_result_ref;
15340 }
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxPrintData *arg1 = (wxPrintData *) 0 ;
15355 wxString *result;
15356 PyObject * obj0 = 0 ;
15357 char *kwnames[] = {
15358 (char *) "self", NULL
15359 };
15360
15361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 {
15366 wxString const &_result_ref = (arg1)->GetFilename();
15367 result = (wxString *) &_result_ref;
15368 }
15369
15370 wxPyEndAllowThreads(__tstate);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxPrintData *arg1 = (wxPrintData *) 0 ;
15383 wxString *result;
15384 PyObject * obj0 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 {
15394 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15395 result = (wxString *) &_result_ref;
15396 }
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 wxPrintData *arg1 = (wxPrintData *) 0 ;
15411 double result;
15412 PyObject * obj0 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "self", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (double)(arg1)->GetPrinterScaleX();
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 resultobj = PyFloat_FromDouble(result);
15427 return resultobj;
15428 fail:
15429 return NULL;
15430 }
15431
15432
15433 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxPrintData *arg1 = (wxPrintData *) 0 ;
15436 double result;
15437 PyObject * obj0 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (double)(arg1)->GetPrinterScaleY();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 resultobj = PyFloat_FromDouble(result);
15452 return resultobj;
15453 fail:
15454 return NULL;
15455 }
15456
15457
15458 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj;
15460 wxPrintData *arg1 = (wxPrintData *) 0 ;
15461 long result;
15462 PyObject * obj0 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 result = (long)(arg1)->GetPrinterTranslateX();
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 resultobj = PyInt_FromLong((long)result);
15477 return resultobj;
15478 fail:
15479 return NULL;
15480 }
15481
15482
15483 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxPrintData *arg1 = (wxPrintData *) 0 ;
15486 long result;
15487 PyObject * obj0 = 0 ;
15488 char *kwnames[] = {
15489 (char *) "self", NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (long)(arg1)->GetPrinterTranslateY();
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 resultobj = PyInt_FromLong((long)result);
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxPrintData *arg1 = (wxPrintData *) 0 ;
15511 int result;
15512 PyObject * obj0 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "self", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 result = (int)(arg1)->GetPrintMode();
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 resultobj = PyInt_FromLong((long)result);
15527 return resultobj;
15528 fail:
15529 return NULL;
15530 }
15531
15532
15533 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxPrintData *arg1 = (wxPrintData *) 0 ;
15536 wxString *arg2 = 0 ;
15537 bool temp2 = False ;
15538 PyObject * obj0 = 0 ;
15539 PyObject * obj1 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self",(char *) "command", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15546 {
15547 arg2 = wxString_in_helper(obj1);
15548 if (arg2 == NULL) SWIG_fail;
15549 temp2 = True;
15550 }
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 {
15560 if (temp2)
15561 delete arg2;
15562 }
15563 return resultobj;
15564 fail:
15565 {
15566 if (temp2)
15567 delete arg2;
15568 }
15569 return NULL;
15570 }
15571
15572
15573 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15574 PyObject *resultobj;
15575 wxPrintData *arg1 = (wxPrintData *) 0 ;
15576 wxString *arg2 = 0 ;
15577 bool temp2 = False ;
15578 PyObject * obj0 = 0 ;
15579 PyObject * obj1 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self",(char *) "options", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15586 {
15587 arg2 = wxString_in_helper(obj1);
15588 if (arg2 == NULL) SWIG_fail;
15589 temp2 = True;
15590 }
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 {
15600 if (temp2)
15601 delete arg2;
15602 }
15603 return resultobj;
15604 fail:
15605 {
15606 if (temp2)
15607 delete arg2;
15608 }
15609 return NULL;
15610 }
15611
15612
15613 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15614 PyObject *resultobj;
15615 wxPrintData *arg1 = (wxPrintData *) 0 ;
15616 wxString *arg2 = 0 ;
15617 bool temp2 = False ;
15618 PyObject * obj0 = 0 ;
15619 PyObject * obj1 = 0 ;
15620 char *kwnames[] = {
15621 (char *) "self",(char *) "command", NULL
15622 };
15623
15624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15626 {
15627 arg2 = wxString_in_helper(obj1);
15628 if (arg2 == NULL) SWIG_fail;
15629 temp2 = True;
15630 }
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 Py_INCREF(Py_None); resultobj = Py_None;
15639 {
15640 if (temp2)
15641 delete arg2;
15642 }
15643 return resultobj;
15644 fail:
15645 {
15646 if (temp2)
15647 delete arg2;
15648 }
15649 return NULL;
15650 }
15651
15652
15653 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj;
15655 wxPrintData *arg1 = (wxPrintData *) 0 ;
15656 wxString *arg2 = 0 ;
15657 bool temp2 = False ;
15658 PyObject * obj0 = 0 ;
15659 PyObject * obj1 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self",(char *) "filename", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15666 {
15667 arg2 = wxString_in_helper(obj1);
15668 if (arg2 == NULL) SWIG_fail;
15669 temp2 = True;
15670 }
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 (arg1)->SetFilename((wxString const &)*arg2);
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 Py_INCREF(Py_None); resultobj = Py_None;
15679 {
15680 if (temp2)
15681 delete arg2;
15682 }
15683 return resultobj;
15684 fail:
15685 {
15686 if (temp2)
15687 delete arg2;
15688 }
15689 return NULL;
15690 }
15691
15692
15693 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxPrintData *arg1 = (wxPrintData *) 0 ;
15696 wxString *arg2 = 0 ;
15697 bool temp2 = False ;
15698 PyObject * obj0 = 0 ;
15699 PyObject * obj1 = 0 ;
15700 char *kwnames[] = {
15701 (char *) "self",(char *) "path", NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15706 {
15707 arg2 = wxString_in_helper(obj1);
15708 if (arg2 == NULL) SWIG_fail;
15709 temp2 = True;
15710 }
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15714
15715 wxPyEndAllowThreads(__tstate);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 Py_INCREF(Py_None); resultobj = Py_None;
15719 {
15720 if (temp2)
15721 delete arg2;
15722 }
15723 return resultobj;
15724 fail:
15725 {
15726 if (temp2)
15727 delete arg2;
15728 }
15729 return NULL;
15730 }
15731
15732
15733 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj;
15735 wxPrintData *arg1 = (wxPrintData *) 0 ;
15736 double arg2 ;
15737 PyObject * obj0 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self",(char *) "x", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15744 {
15745 PyThreadState* __tstate = wxPyBeginAllowThreads();
15746 (arg1)->SetPrinterScaleX(arg2);
15747
15748 wxPyEndAllowThreads(__tstate);
15749 if (PyErr_Occurred()) SWIG_fail;
15750 }
15751 Py_INCREF(Py_None); resultobj = Py_None;
15752 return resultobj;
15753 fail:
15754 return NULL;
15755 }
15756
15757
15758 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15759 PyObject *resultobj;
15760 wxPrintData *arg1 = (wxPrintData *) 0 ;
15761 double arg2 ;
15762 PyObject * obj0 = 0 ;
15763 char *kwnames[] = {
15764 (char *) "self",(char *) "y", NULL
15765 };
15766
15767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15769 {
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 (arg1)->SetPrinterScaleY(arg2);
15772
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 Py_INCREF(Py_None); resultobj = Py_None;
15777 return resultobj;
15778 fail:
15779 return NULL;
15780 }
15781
15782
15783 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15784 PyObject *resultobj;
15785 wxPrintData *arg1 = (wxPrintData *) 0 ;
15786 double arg2 ;
15787 double arg3 ;
15788 PyObject * obj0 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self",(char *) "x",(char *) "y", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 (arg1)->SetPrinterScaling(arg2,arg3);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 Py_INCREF(Py_None); resultobj = Py_None;
15803 return resultobj;
15804 fail:
15805 return NULL;
15806 }
15807
15808
15809 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj;
15811 wxPrintData *arg1 = (wxPrintData *) 0 ;
15812 long arg2 ;
15813 PyObject * obj0 = 0 ;
15814 char *kwnames[] = {
15815 (char *) "self",(char *) "x", NULL
15816 };
15817
15818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 (arg1)->SetPrinterTranslateX(arg2);
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 Py_INCREF(Py_None); resultobj = Py_None;
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxPrintData *arg1 = (wxPrintData *) 0 ;
15837 long arg2 ;
15838 PyObject * obj0 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self",(char *) "y", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15845 {
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 (arg1)->SetPrinterTranslateY(arg2);
15848
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 Py_INCREF(Py_None); resultobj = Py_None;
15853 return resultobj;
15854 fail:
15855 return NULL;
15856 }
15857
15858
15859 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15860 PyObject *resultobj;
15861 wxPrintData *arg1 = (wxPrintData *) 0 ;
15862 long arg2 ;
15863 long arg3 ;
15864 PyObject * obj0 = 0 ;
15865 char *kwnames[] = {
15866 (char *) "self",(char *) "x",(char *) "y", NULL
15867 };
15868
15869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15871 {
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 (arg1)->SetPrinterTranslation(arg2,arg3);
15874
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 Py_INCREF(Py_None); resultobj = Py_None;
15879 return resultobj;
15880 fail:
15881 return NULL;
15882 }
15883
15884
15885 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxPrintData *arg1 = (wxPrintData *) 0 ;
15888 int arg2 ;
15889 PyObject * obj0 = 0 ;
15890 char *kwnames[] = {
15891 (char *) "self",(char *) "printMode", NULL
15892 };
15893
15894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15896 {
15897 PyThreadState* __tstate = wxPyBeginAllowThreads();
15898 (arg1)->SetPrintMode((wxPrintMode )arg2);
15899
15900 wxPyEndAllowThreads(__tstate);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 Py_INCREF(Py_None); resultobj = Py_None;
15904 return resultobj;
15905 fail:
15906 return NULL;
15907 }
15908
15909
15910 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15911 PyObject *obj;
15912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15913 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15914 Py_INCREF(obj);
15915 return Py_BuildValue((char *)"");
15916 }
15917 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxPageSetupDialogData *result;
15920 char *kwnames[] = {
15921 NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15928
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15933 return resultobj;
15934 fail:
15935 return NULL;
15936 }
15937
15938
15939 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 delete arg1;
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 Py_INCREF(Py_None); resultobj = Py_None;
15957 return resultobj;
15958 fail:
15959 return NULL;
15960 }
15961
15962
15963 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj;
15965 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15966 bool arg2 ;
15967 PyObject * obj0 = 0 ;
15968 PyObject * obj1 = 0 ;
15969 char *kwnames[] = {
15970 (char *) "self",(char *) "flag", NULL
15971 };
15972
15973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15975 arg2 = PyInt_AsLong(obj1) ? true : false;
15976 if (PyErr_Occurred()) SWIG_fail;
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 (arg1)->EnableHelp(arg2);
15980
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 Py_INCREF(Py_None); resultobj = Py_None;
15985 return resultobj;
15986 fail:
15987 return NULL;
15988 }
15989
15990
15991 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj;
15993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15994 bool arg2 ;
15995 PyObject * obj0 = 0 ;
15996 PyObject * obj1 = 0 ;
15997 char *kwnames[] = {
15998 (char *) "self",(char *) "flag", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16003 arg2 = PyInt_AsLong(obj1) ? true : false;
16004 if (PyErr_Occurred()) SWIG_fail;
16005 {
16006 PyThreadState* __tstate = wxPyBeginAllowThreads();
16007 (arg1)->EnableMargins(arg2);
16008
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 Py_INCREF(Py_None); resultobj = Py_None;
16013 return resultobj;
16014 fail:
16015 return NULL;
16016 }
16017
16018
16019 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16020 PyObject *resultobj;
16021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16022 bool arg2 ;
16023 PyObject * obj0 = 0 ;
16024 PyObject * obj1 = 0 ;
16025 char *kwnames[] = {
16026 (char *) "self",(char *) "flag", NULL
16027 };
16028
16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16031 arg2 = PyInt_AsLong(obj1) ? true : false;
16032 if (PyErr_Occurred()) SWIG_fail;
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 (arg1)->EnableOrientation(arg2);
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 Py_INCREF(Py_None); resultobj = Py_None;
16041 return resultobj;
16042 fail:
16043 return NULL;
16044 }
16045
16046
16047 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16048 PyObject *resultobj;
16049 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16050 bool arg2 ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self",(char *) "flag", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16059 arg2 = PyInt_AsLong(obj1) ? true : false;
16060 if (PyErr_Occurred()) SWIG_fail;
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 (arg1)->EnablePaper(arg2);
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 Py_INCREF(Py_None); resultobj = Py_None;
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16078 bool arg2 ;
16079 PyObject * obj0 = 0 ;
16080 PyObject * obj1 = 0 ;
16081 char *kwnames[] = {
16082 (char *) "self",(char *) "flag", NULL
16083 };
16084
16085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16087 arg2 = PyInt_AsLong(obj1) ? true : false;
16088 if (PyErr_Occurred()) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 (arg1)->EnablePrinter(arg2);
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 Py_INCREF(Py_None); resultobj = Py_None;
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16106 bool result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 result = (bool)(arg1)->GetDefaultMinMargins();
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 resultobj = PyInt_FromLong((long)result);
16122 return resultobj;
16123 fail:
16124 return NULL;
16125 }
16126
16127
16128 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16131 bool result;
16132 PyObject * obj0 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 result = (bool)(arg1)->GetEnableMargins();
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 resultobj = PyInt_FromLong((long)result);
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16156 bool result;
16157 PyObject * obj0 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 result = (bool)(arg1)->GetEnableOrientation();
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 resultobj = PyInt_FromLong((long)result);
16172 return resultobj;
16173 fail:
16174 return NULL;
16175 }
16176
16177
16178 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj;
16180 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16181 bool result;
16182 PyObject * obj0 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 result = (bool)(arg1)->GetEnablePaper();
16192
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 resultobj = PyInt_FromLong((long)result);
16197 return resultobj;
16198 fail:
16199 return NULL;
16200 }
16201
16202
16203 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16206 bool result;
16207 PyObject * obj0 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self", NULL
16210 };
16211
16212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 result = (bool)(arg1)->GetEnablePrinter();
16217
16218 wxPyEndAllowThreads(__tstate);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 resultobj = PyInt_FromLong((long)result);
16222 return resultobj;
16223 fail:
16224 return NULL;
16225 }
16226
16227
16228 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16231 bool result;
16232 PyObject * obj0 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 result = (bool)(arg1)->GetEnableHelp();
16242
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 resultobj = PyInt_FromLong((long)result);
16247 return resultobj;
16248 fail:
16249 return NULL;
16250 }
16251
16252
16253 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16254 PyObject *resultobj;
16255 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16256 bool result;
16257 PyObject * obj0 = 0 ;
16258 char *kwnames[] = {
16259 (char *) "self", NULL
16260 };
16261
16262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16264 {
16265 PyThreadState* __tstate = wxPyBeginAllowThreads();
16266 result = (bool)(arg1)->GetDefaultInfo();
16267
16268 wxPyEndAllowThreads(__tstate);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 resultobj = PyInt_FromLong((long)result);
16272 return resultobj;
16273 fail:
16274 return NULL;
16275 }
16276
16277
16278 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16281 wxPoint result;
16282 PyObject * obj0 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 result = (arg1)->GetMarginTopLeft();
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 {
16297 wxPoint * resultptr;
16298 resultptr = new wxPoint((wxPoint &) result);
16299 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16300 }
16301 return resultobj;
16302 fail:
16303 return NULL;
16304 }
16305
16306
16307 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16310 wxPoint result;
16311 PyObject * obj0 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16318 {
16319 PyThreadState* __tstate = wxPyBeginAllowThreads();
16320 result = (arg1)->GetMarginBottomRight();
16321
16322 wxPyEndAllowThreads(__tstate);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 }
16325 {
16326 wxPoint * resultptr;
16327 resultptr = new wxPoint((wxPoint &) result);
16328 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16329 }
16330 return resultobj;
16331 fail:
16332 return NULL;
16333 }
16334
16335
16336 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16339 wxPoint result;
16340 PyObject * obj0 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (arg1)->GetMinMarginTopLeft();
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 {
16355 wxPoint * resultptr;
16356 resultptr = new wxPoint((wxPoint &) result);
16357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16358 }
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16368 wxPoint result;
16369 PyObject * obj0 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 result = (arg1)->GetMinMarginBottomRight();
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 {
16384 wxPoint * resultptr;
16385 resultptr = new wxPoint((wxPoint &) result);
16386 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16387 }
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16397 int result;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 result = (int)(arg1)->GetPaperId();
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 resultobj = PyInt_FromLong((long)result);
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16422 wxSize result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (arg1)->GetPaperSize();
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 {
16438 wxSize * resultptr;
16439 resultptr = new wxSize((wxSize &) result);
16440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16441 }
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj;
16450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16451 wxPrintData *result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 {
16462 wxPrintData &_result_ref = (arg1)->GetPrintData();
16463 result = (wxPrintData *) &_result_ref;
16464 }
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16479 bool result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 result = (bool)(arg1)->Ok();
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 resultobj = PyInt_FromLong((long)result);
16495 return resultobj;
16496 fail:
16497 return NULL;
16498 }
16499
16500
16501 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16504 bool arg2 ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self",(char *) "flag", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16513 arg2 = PyInt_AsLong(obj1) ? true : false;
16514 if (PyErr_Occurred()) SWIG_fail;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->SetDefaultInfo(arg2);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16532 bool arg2 ;
16533 PyObject * obj0 = 0 ;
16534 PyObject * obj1 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self",(char *) "flag", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16541 arg2 = PyInt_AsLong(obj1) ? true : false;
16542 if (PyErr_Occurred()) SWIG_fail;
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 (arg1)->SetDefaultMinMargins(arg2);
16546
16547 wxPyEndAllowThreads(__tstate);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 Py_INCREF(Py_None); resultobj = Py_None;
16551 return resultobj;
16552 fail:
16553 return NULL;
16554 }
16555
16556
16557 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16560 wxPoint *arg2 = 0 ;
16561 wxPoint temp2 ;
16562 PyObject * obj0 = 0 ;
16563 PyObject * obj1 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self",(char *) "pt", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16570 {
16571 arg2 = &temp2;
16572 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16573 }
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16577
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 Py_INCREF(Py_None); resultobj = Py_None;
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16591 wxPoint *arg2 = 0 ;
16592 wxPoint temp2 ;
16593 PyObject * obj0 = 0 ;
16594 PyObject * obj1 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self",(char *) "pt", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16601 {
16602 arg2 = &temp2;
16603 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16604 }
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16608
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 Py_INCREF(Py_None); resultobj = Py_None;
16613 return resultobj;
16614 fail:
16615 return NULL;
16616 }
16617
16618
16619 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16620 PyObject *resultobj;
16621 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16622 wxPoint *arg2 = 0 ;
16623 wxPoint temp2 ;
16624 PyObject * obj0 = 0 ;
16625 PyObject * obj1 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self",(char *) "pt", NULL
16628 };
16629
16630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16632 {
16633 arg2 = &temp2;
16634 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16635 }
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 Py_INCREF(Py_None); resultobj = Py_None;
16644 return resultobj;
16645 fail:
16646 return NULL;
16647 }
16648
16649
16650 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16653 wxPoint *arg2 = 0 ;
16654 wxPoint temp2 ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "self",(char *) "pt", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16663 {
16664 arg2 = &temp2;
16665 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16666 }
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 Py_INCREF(Py_None); resultobj = Py_None;
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16684 int arg2 ;
16685 PyObject * obj0 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self",(char *) "id", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 (arg1)->SetPaperId((wxPaperSize )arg2);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 Py_INCREF(Py_None); resultobj = Py_None;
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16709 wxSize *arg2 = 0 ;
16710 wxSize temp2 ;
16711 PyObject * obj0 = 0 ;
16712 PyObject * obj1 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self",(char *) "size", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16719 {
16720 arg2 = &temp2;
16721 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16722 }
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 (arg1)->SetPaperSize((wxSize const &)*arg2);
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 Py_INCREF(Py_None); resultobj = Py_None;
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16740 wxPrintData *arg2 = 0 ;
16741 PyObject * obj0 = 0 ;
16742 PyObject * obj1 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "self",(char *) "printData", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16750 if (arg2 == NULL) {
16751 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16752 }
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 Py_INCREF(Py_None); resultobj = Py_None;
16761 return resultobj;
16762 fail:
16763 return NULL;
16764 }
16765
16766
16767 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16768 PyObject *obj;
16769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16770 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16771 Py_INCREF(obj);
16772 return Py_BuildValue((char *)"");
16773 }
16774 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj;
16776 wxWindow *arg1 = (wxWindow *) 0 ;
16777 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16778 wxPageSetupDialog *result;
16779 PyObject * obj0 = 0 ;
16780 PyObject * obj1 = 0 ;
16781 char *kwnames[] = {
16782 (char *) "parent",(char *) "data", NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16787 if (obj1) {
16788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16789 }
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16798 return resultobj;
16799 fail:
16800 return NULL;
16801 }
16802
16803
16804 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16807 wxPageSetupDialogData *result;
16808 PyObject * obj0 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self", NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 {
16818 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16819 result = (wxPageSetupDialogData *) &_result_ref;
16820 }
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16835 int result;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = (int)(arg1)->ShowModal();
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 resultobj = PyInt_FromLong((long)result);
16851 return resultobj;
16852 fail:
16853 return NULL;
16854 }
16855
16856
16857 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16858 PyObject *obj;
16859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16860 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16861 Py_INCREF(obj);
16862 return Py_BuildValue((char *)"");
16863 }
16864 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16865 PyObject *resultobj;
16866 wxPrintDialogData *result;
16867 char *kwnames[] = {
16868 NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 result = (wxPrintDialogData *)new wxPrintDialogData();
16875
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16880 return resultobj;
16881 fail:
16882 return NULL;
16883 }
16884
16885
16886 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj;
16888 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16889 PyObject * obj0 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 delete arg1;
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 Py_INCREF(Py_None); resultobj = Py_None;
16904 return resultobj;
16905 fail:
16906 return NULL;
16907 }
16908
16909
16910 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj;
16912 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16913 int result;
16914 PyObject * obj0 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "self", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 resultobj = PyInt_FromLong((long)result);
16929 return resultobj;
16930 fail:
16931 return NULL;
16932 }
16933
16934
16935 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16938 int result;
16939 PyObject * obj0 = 0 ;
16940 char *kwnames[] = {
16941 (char *) "self", NULL
16942 };
16943
16944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
16948 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 resultobj = PyInt_FromLong((long)result);
16954 return resultobj;
16955 fail:
16956 return NULL;
16957 }
16958
16959
16960 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj;
16962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16963 int result;
16964 PyObject * obj0 = 0 ;
16965 char *kwnames[] = {
16966 (char *) "self", NULL
16967 };
16968
16969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 resultobj = PyInt_FromLong((long)result);
16979 return resultobj;
16980 fail:
16981 return NULL;
16982 }
16983
16984
16985 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16988 int result;
16989 PyObject * obj0 = 0 ;
16990 char *kwnames[] = {
16991 (char *) "self", NULL
16992 };
16993
16994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
16995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16996 {
16997 PyThreadState* __tstate = wxPyBeginAllowThreads();
16998 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
16999
17000 wxPyEndAllowThreads(__tstate);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 }
17003 resultobj = PyInt_FromLong((long)result);
17004 return resultobj;
17005 fail:
17006 return NULL;
17007 }
17008
17009
17010 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj;
17012 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17013 int result;
17014 PyObject * obj0 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 resultobj = PyInt_FromLong((long)result);
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17038 bool result;
17039 PyObject * obj0 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 resultobj = PyInt_FromLong((long)result);
17054 return resultobj;
17055 fail:
17056 return NULL;
17057 }
17058
17059
17060 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17063 bool result;
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
17069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 resultobj = PyInt_FromLong((long)result);
17079 return resultobj;
17080 fail:
17081 return NULL;
17082 }
17083
17084
17085 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17086 PyObject *resultobj;
17087 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17088 bool result;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 resultobj = PyInt_FromLong((long)result);
17104 return resultobj;
17105 fail:
17106 return NULL;
17107 }
17108
17109
17110 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17113 bool result;
17114 PyObject * obj0 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = PyInt_FromLong((long)result);
17129 return resultobj;
17130 fail:
17131 return NULL;
17132 }
17133
17134
17135 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17138 bool result;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 resultobj = PyInt_FromLong((long)result);
17154 return resultobj;
17155 fail:
17156 return NULL;
17157 }
17158
17159
17160 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17163 int arg2 ;
17164 PyObject * obj0 = 0 ;
17165 char *kwnames[] = {
17166 (char *) "self",(char *) "v", NULL
17167 };
17168
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->SetFromPage(arg2);
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 Py_INCREF(Py_None); resultobj = Py_None;
17179 return resultobj;
17180 fail:
17181 return NULL;
17182 }
17183
17184
17185 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17188 int arg2 ;
17189 PyObject * obj0 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "self",(char *) "v", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 (arg1)->SetToPage(arg2);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 Py_INCREF(Py_None); resultobj = Py_None;
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17213 int arg2 ;
17214 PyObject * obj0 = 0 ;
17215 char *kwnames[] = {
17216 (char *) "self",(char *) "v", NULL
17217 };
17218
17219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 (arg1)->SetMinPage(arg2);
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 Py_INCREF(Py_None); resultobj = Py_None;
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17238 int arg2 ;
17239 PyObject * obj0 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self",(char *) "v", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17246 {
17247 PyThreadState* __tstate = wxPyBeginAllowThreads();
17248 (arg1)->SetMaxPage(arg2);
17249
17250 wxPyEndAllowThreads(__tstate);
17251 if (PyErr_Occurred()) SWIG_fail;
17252 }
17253 Py_INCREF(Py_None); resultobj = Py_None;
17254 return resultobj;
17255 fail:
17256 return NULL;
17257 }
17258
17259
17260 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17261 PyObject *resultobj;
17262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17263 int arg2 ;
17264 PyObject * obj0 = 0 ;
17265 char *kwnames[] = {
17266 (char *) "self",(char *) "v", NULL
17267 };
17268
17269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->SetNoCopies(arg2);
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 Py_INCREF(Py_None); resultobj = Py_None;
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17288 bool arg2 ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self",(char *) "flag", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17297 arg2 = PyInt_AsLong(obj1) ? true : false;
17298 if (PyErr_Occurred()) SWIG_fail;
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 (arg1)->SetAllPages(arg2);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 Py_INCREF(Py_None); resultobj = Py_None;
17307 return resultobj;
17308 fail:
17309 return NULL;
17310 }
17311
17312
17313 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17316 bool arg2 ;
17317 PyObject * obj0 = 0 ;
17318 PyObject * obj1 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self",(char *) "flag", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17325 arg2 = PyInt_AsLong(obj1) ? true : false;
17326 if (PyErr_Occurred()) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 (arg1)->SetSelection(arg2);
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 Py_INCREF(Py_None); resultobj = Py_None;
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17344 bool arg2 ;
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self",(char *) "flag", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17353 arg2 = PyInt_AsLong(obj1) ? true : false;
17354 if (PyErr_Occurred()) SWIG_fail;
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->SetCollate(arg2);
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 Py_INCREF(Py_None); resultobj = Py_None;
17363 return resultobj;
17364 fail:
17365 return NULL;
17366 }
17367
17368
17369 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17372 bool arg2 ;
17373 PyObject * obj0 = 0 ;
17374 PyObject * obj1 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self",(char *) "flag", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17381 arg2 = PyInt_AsLong(obj1) ? true : false;
17382 if (PyErr_Occurred()) SWIG_fail;
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 (arg1)->SetPrintToFile(arg2);
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 Py_INCREF(Py_None); resultobj = Py_None;
17391 return resultobj;
17392 fail:
17393 return NULL;
17394 }
17395
17396
17397 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17400 bool arg2 ;
17401 PyObject * obj0 = 0 ;
17402 PyObject * obj1 = 0 ;
17403 char *kwnames[] = {
17404 (char *) "self",(char *) "flag", NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17409 arg2 = PyInt_AsLong(obj1) ? true : false;
17410 if (PyErr_Occurred()) SWIG_fail;
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 (arg1)->SetSetupDialog(arg2);
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 Py_INCREF(Py_None); resultobj = Py_None;
17419 return resultobj;
17420 fail:
17421 return NULL;
17422 }
17423
17424
17425 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj;
17427 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17428 bool arg2 ;
17429 PyObject * obj0 = 0 ;
17430 PyObject * obj1 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self",(char *) "flag", NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17437 arg2 = PyInt_AsLong(obj1) ? true : false;
17438 if (PyErr_Occurred()) SWIG_fail;
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 (arg1)->EnablePrintToFile(arg2);
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 Py_INCREF(Py_None); resultobj = Py_None;
17447 return resultobj;
17448 fail:
17449 return NULL;
17450 }
17451
17452
17453 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17456 bool arg2 ;
17457 PyObject * obj0 = 0 ;
17458 PyObject * obj1 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self",(char *) "flag", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17465 arg2 = PyInt_AsLong(obj1) ? true : false;
17466 if (PyErr_Occurred()) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->EnableSelection(arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17484 bool arg2 ;
17485 PyObject * obj0 = 0 ;
17486 PyObject * obj1 = 0 ;
17487 char *kwnames[] = {
17488 (char *) "self",(char *) "flag", NULL
17489 };
17490
17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17493 arg2 = PyInt_AsLong(obj1) ? true : false;
17494 if (PyErr_Occurred()) SWIG_fail;
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 (arg1)->EnablePageNumbers(arg2);
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 Py_INCREF(Py_None); resultobj = Py_None;
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17512 bool arg2 ;
17513 PyObject * obj0 = 0 ;
17514 PyObject * obj1 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self",(char *) "flag", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17521 arg2 = PyInt_AsLong(obj1) ? true : false;
17522 if (PyErr_Occurred()) SWIG_fail;
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 (arg1)->EnableHelp(arg2);
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 Py_INCREF(Py_None); resultobj = Py_None;
17531 return resultobj;
17532 fail:
17533 return NULL;
17534 }
17535
17536
17537 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17538 PyObject *resultobj;
17539 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17540 bool result;
17541 PyObject * obj0 = 0 ;
17542 char *kwnames[] = {
17543 (char *) "self", NULL
17544 };
17545
17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 resultobj = PyInt_FromLong((long)result);
17556 return resultobj;
17557 fail:
17558 return NULL;
17559 }
17560
17561
17562 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17565 bool result;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 resultobj = PyInt_FromLong((long)result);
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17590 bool result;
17591 PyObject * obj0 = 0 ;
17592 char *kwnames[] = {
17593 (char *) "self", NULL
17594 };
17595
17596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 resultobj = PyInt_FromLong((long)result);
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17615 bool result;
17616 PyObject * obj0 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17626
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 resultobj = PyInt_FromLong((long)result);
17631 return resultobj;
17632 fail:
17633 return NULL;
17634 }
17635
17636
17637 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17638 PyObject *resultobj;
17639 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17640 bool result;
17641 PyObject * obj0 = 0 ;
17642 char *kwnames[] = {
17643 (char *) "self", NULL
17644 };
17645
17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = PyInt_FromLong((long)result);
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17665 wxPrintData *result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 {
17676 wxPrintData &_result_ref = (arg1)->GetPrintData();
17677 result = (wxPrintData *) &_result_ref;
17678 }
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17684 return resultobj;
17685 fail:
17686 return NULL;
17687 }
17688
17689
17690 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17691 PyObject *resultobj;
17692 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17693 wxPrintData *arg2 = 0 ;
17694 PyObject * obj0 = 0 ;
17695 PyObject * obj1 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self",(char *) "printData", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17703 if (arg2 == NULL) {
17704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17705 }
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 Py_INCREF(Py_None); resultobj = Py_None;
17714 return resultobj;
17715 fail:
17716 return NULL;
17717 }
17718
17719
17720 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17721 PyObject *obj;
17722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17723 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17724 Py_INCREF(obj);
17725 return Py_BuildValue((char *)"");
17726 }
17727 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxWindow *arg1 = (wxWindow *) 0 ;
17730 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17731 wxPrintDialog *result;
17732 PyObject * obj0 = 0 ;
17733 PyObject * obj1 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "parent",(char *) "data", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17740 if (obj1) {
17741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17742 }
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17760 wxPrintDialogData *result;
17761 PyObject * obj0 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 {
17771 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17772 result = (wxPrintDialogData *) &_result_ref;
17773 }
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17779 return resultobj;
17780 fail:
17781 return NULL;
17782 }
17783
17784
17785 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17786 PyObject *resultobj;
17787 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17788 wxDC *result;
17789 PyObject * obj0 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "self", NULL
17792 };
17793
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 result = (wxDC *)(arg1)->GetPrintDC();
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 {
17804 resultobj = wxPyMake_wxObject(result);
17805 }
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17815 int result;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (int)(arg1)->ShowModal();
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 resultobj = PyInt_FromLong((long)result);
17831 return resultobj;
17832 fail:
17833 return NULL;
17834 }
17835
17836
17837 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17838 PyObject *obj;
17839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17840 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17841 Py_INCREF(obj);
17842 return Py_BuildValue((char *)"");
17843 }
17844 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17845 PyObject *resultobj;
17846 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17847 wxPrinter *result;
17848 PyObject * obj0 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "data", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17854 if (obj0) {
17855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17856 }
17857 {
17858 PyThreadState* __tstate = wxPyBeginAllowThreads();
17859 result = (wxPrinter *)new wxPrinter(arg1);
17860
17861 wxPyEndAllowThreads(__tstate);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 }
17864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17865 return resultobj;
17866 fail:
17867 return NULL;
17868 }
17869
17870
17871 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17872 PyObject *resultobj;
17873 wxPrinter *arg1 = (wxPrinter *) 0 ;
17874 PyObject * obj0 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 delete arg1;
17884
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 Py_INCREF(Py_None); resultobj = Py_None;
17889 return resultobj;
17890 fail:
17891 return NULL;
17892 }
17893
17894
17895 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxPrinter *arg1 = (wxPrinter *) 0 ;
17898 wxWindow *arg2 = (wxWindow *) 0 ;
17899 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17900 PyObject * obj0 = 0 ;
17901 PyObject * obj1 = 0 ;
17902 PyObject * obj2 = 0 ;
17903 char *kwnames[] = {
17904 (char *) "self",(char *) "parent",(char *) "printout", NULL
17905 };
17906
17907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17910 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 (arg1)->CreateAbortWindow(arg2,arg3);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 Py_INCREF(Py_None); resultobj = Py_None;
17919 return resultobj;
17920 fail:
17921 return NULL;
17922 }
17923
17924
17925 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxPrinter *arg1 = (wxPrinter *) 0 ;
17928 wxPrintDialogData *result;
17929 PyObject * obj0 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "self", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17936 {
17937 PyThreadState* __tstate = wxPyBeginAllowThreads();
17938 {
17939 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17940 result = (wxPrintDialogData *) &_result_ref;
17941 }
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17947 return resultobj;
17948 fail:
17949 return NULL;
17950 }
17951
17952
17953 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17954 PyObject *resultobj;
17955 wxPrinter *arg1 = (wxPrinter *) 0 ;
17956 wxWindow *arg2 = (wxWindow *) 0 ;
17957 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17958 int arg4 = (int) True ;
17959 bool result;
17960 PyObject * obj0 = 0 ;
17961 PyObject * obj1 = 0 ;
17962 PyObject * obj2 = 0 ;
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17965 };
17966
17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17970 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 resultobj = PyInt_FromLong((long)result);
17979 return resultobj;
17980 fail:
17981 return NULL;
17982 }
17983
17984
17985 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17986 PyObject *resultobj;
17987 wxPrinter *arg1 = (wxPrinter *) 0 ;
17988 wxWindow *arg2 = (wxWindow *) 0 ;
17989 wxDC *result;
17990 PyObject * obj0 = 0 ;
17991 PyObject * obj1 = 0 ;
17992 char *kwnames[] = {
17993 (char *) "self",(char *) "parent", NULL
17994 };
17995
17996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 result = (wxDC *)(arg1)->PrintDialog(arg2);
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 {
18007 resultobj = wxPyMake_wxObject(result);
18008 }
18009 return resultobj;
18010 fail:
18011 return NULL;
18012 }
18013
18014
18015 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxPrinter *arg1 = (wxPrinter *) 0 ;
18018 wxWindow *arg2 = (wxWindow *) 0 ;
18019 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18020 wxString *arg4 = 0 ;
18021 bool temp4 = False ;
18022 PyObject * obj0 = 0 ;
18023 PyObject * obj1 = 0 ;
18024 PyObject * obj2 = 0 ;
18025 PyObject * obj3 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18033 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18034 {
18035 arg4 = wxString_in_helper(obj3);
18036 if (arg4 == NULL) SWIG_fail;
18037 temp4 = True;
18038 }
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 Py_INCREF(Py_None); resultobj = Py_None;
18047 {
18048 if (temp4)
18049 delete arg4;
18050 }
18051 return resultobj;
18052 fail:
18053 {
18054 if (temp4)
18055 delete arg4;
18056 }
18057 return NULL;
18058 }
18059
18060
18061 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj;
18063 wxPrinter *arg1 = (wxPrinter *) 0 ;
18064 wxWindow *arg2 = (wxWindow *) 0 ;
18065 bool result;
18066 PyObject * obj0 = 0 ;
18067 PyObject * obj1 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self",(char *) "parent", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = (bool)(arg1)->Setup(arg2);
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 resultobj = PyInt_FromLong((long)result);
18083 return resultobj;
18084 fail:
18085 return NULL;
18086 }
18087
18088
18089 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxPrinter *arg1 = (wxPrinter *) 0 ;
18092 bool result;
18093 PyObject * obj0 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (bool)(arg1)->GetAbort();
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 resultobj = PyInt_FromLong((long)result);
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 int result;
18117 char *kwnames[] = {
18118 NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 result = (int)wxPrinter::GetLastError();
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 resultobj = PyInt_FromLong((long)result);
18130 return resultobj;
18131 fail:
18132 return NULL;
18133 }
18134
18135
18136 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18137 PyObject *obj;
18138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18139 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18140 Py_INCREF(obj);
18141 return Py_BuildValue((char *)"");
18142 }
18143 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18146 wxString *arg1 = (wxString *) &arg1_defvalue ;
18147 wxPyPrintout *result;
18148 bool temp1 = False ;
18149 PyObject * obj0 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "title", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18155 if (obj0) {
18156 {
18157 arg1 = wxString_in_helper(obj0);
18158 if (arg1 == NULL) SWIG_fail;
18159 temp1 = True;
18160 }
18161 }
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 {
18170 resultobj = wxPyMake_wxObject(result);
18171 }
18172 {
18173 if (temp1)
18174 delete arg1;
18175 }
18176 return resultobj;
18177 fail:
18178 {
18179 if (temp1)
18180 delete arg1;
18181 }
18182 return NULL;
18183 }
18184
18185
18186 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18187 PyObject *resultobj;
18188 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18189 PyObject *arg2 = (PyObject *) 0 ;
18190 PyObject *arg3 = (PyObject *) 0 ;
18191 PyObject * obj0 = 0 ;
18192 PyObject * obj1 = 0 ;
18193 PyObject * obj2 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "self",(char *) "self",(char *) "_class", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18200 arg2 = obj1;
18201 arg3 = obj2;
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 (arg1)->_setCallbackInfo(arg2,arg3);
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 Py_INCREF(Py_None); resultobj = Py_None;
18210 return resultobj;
18211 fail:
18212 return NULL;
18213 }
18214
18215
18216 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
18218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18219 wxString result;
18220 PyObject * obj0 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 result = ((wxPyPrintout const *)arg1)->GetTitle();
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 {
18235 #if wxUSE_UNICODE
18236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18237 #else
18238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18239 #endif
18240 }
18241 return resultobj;
18242 fail:
18243 return NULL;
18244 }
18245
18246
18247 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18248 PyObject *resultobj;
18249 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18250 wxDC *result;
18251 PyObject * obj0 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 result = (wxDC *)(arg1)->GetDC();
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 {
18266 resultobj = wxPyMake_wxObject(result);
18267 }
18268 return resultobj;
18269 fail:
18270 return NULL;
18271 }
18272
18273
18274 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18277 wxDC *arg2 = (wxDC *) 0 ;
18278 PyObject * obj0 = 0 ;
18279 PyObject * obj1 = 0 ;
18280 char *kwnames[] = {
18281 (char *) "self",(char *) "dc", NULL
18282 };
18283
18284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 (arg1)->SetDC(arg2);
18290
18291 wxPyEndAllowThreads(__tstate);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 }
18294 Py_INCREF(Py_None); resultobj = Py_None;
18295 return resultobj;
18296 fail:
18297 return NULL;
18298 }
18299
18300
18301 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18304 int arg2 ;
18305 int arg3 ;
18306 PyObject * obj0 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "self",(char *) "w",(char *) "h", NULL
18309 };
18310
18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
18315 (arg1)->SetPageSizePixels(arg2,arg3);
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 Py_INCREF(Py_None); resultobj = Py_None;
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
18329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18330 int *arg2 = (int *) 0 ;
18331 int *arg3 = (int *) 0 ;
18332 int temp2 ;
18333 int temp3 ;
18334 PyObject * obj0 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self", NULL
18337 };
18338
18339 arg2 = &temp2;
18340 arg3 = &temp3;
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 (arg1)->GetPageSizePixels(arg2,arg3);
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
18350 Py_INCREF(Py_None); resultobj = Py_None;
18351 {
18352 PyObject *o = PyInt_FromLong((long) (*arg2));
18353 resultobj = t_output_helper(resultobj,o);
18354 }
18355 {
18356 PyObject *o = PyInt_FromLong((long) (*arg3));
18357 resultobj = t_output_helper(resultobj,o);
18358 }
18359 return resultobj;
18360 fail:
18361 return NULL;
18362 }
18363
18364
18365 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18366 PyObject *resultobj;
18367 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18368 int arg2 ;
18369 int arg3 ;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self",(char *) "w",(char *) "h", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 (arg1)->SetPageSizeMM(arg2,arg3);
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 Py_INCREF(Py_None); resultobj = Py_None;
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18394 int *arg2 = (int *) 0 ;
18395 int *arg3 = (int *) 0 ;
18396 int temp2 ;
18397 int temp3 ;
18398 PyObject * obj0 = 0 ;
18399 char *kwnames[] = {
18400 (char *) "self", NULL
18401 };
18402
18403 arg2 = &temp2;
18404 arg3 = &temp3;
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 (arg1)->GetPageSizeMM(arg2,arg3);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 Py_INCREF(Py_None); resultobj = Py_None;
18415 {
18416 PyObject *o = PyInt_FromLong((long) (*arg2));
18417 resultobj = t_output_helper(resultobj,o);
18418 }
18419 {
18420 PyObject *o = PyInt_FromLong((long) (*arg3));
18421 resultobj = t_output_helper(resultobj,o);
18422 }
18423 return resultobj;
18424 fail:
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18432 int arg2 ;
18433 int arg3 ;
18434 PyObject * obj0 = 0 ;
18435 char *kwnames[] = {
18436 (char *) "self",(char *) "x",(char *) "y", NULL
18437 };
18438
18439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 (arg1)->SetPPIScreen(arg2,arg3);
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 Py_INCREF(Py_None); resultobj = Py_None;
18449 return resultobj;
18450 fail:
18451 return NULL;
18452 }
18453
18454
18455 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18456 PyObject *resultobj;
18457 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18458 int *arg2 = (int *) 0 ;
18459 int *arg3 = (int *) 0 ;
18460 int temp2 ;
18461 int temp3 ;
18462 PyObject * obj0 = 0 ;
18463 char *kwnames[] = {
18464 (char *) "self", NULL
18465 };
18466
18467 arg2 = &temp2;
18468 arg3 = &temp3;
18469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 (arg1)->GetPPIScreen(arg2,arg3);
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 Py_INCREF(Py_None); resultobj = Py_None;
18479 {
18480 PyObject *o = PyInt_FromLong((long) (*arg2));
18481 resultobj = t_output_helper(resultobj,o);
18482 }
18483 {
18484 PyObject *o = PyInt_FromLong((long) (*arg3));
18485 resultobj = t_output_helper(resultobj,o);
18486 }
18487 return resultobj;
18488 fail:
18489 return NULL;
18490 }
18491
18492
18493 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18494 PyObject *resultobj;
18495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18496 int arg2 ;
18497 int arg3 ;
18498 PyObject * obj0 = 0 ;
18499 char *kwnames[] = {
18500 (char *) "self",(char *) "x",(char *) "y", NULL
18501 };
18502
18503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 (arg1)->SetPPIPrinter(arg2,arg3);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 Py_INCREF(Py_None); resultobj = Py_None;
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18522 int *arg2 = (int *) 0 ;
18523 int *arg3 = (int *) 0 ;
18524 int temp2 ;
18525 int temp3 ;
18526 PyObject * obj0 = 0 ;
18527 char *kwnames[] = {
18528 (char *) "self", NULL
18529 };
18530
18531 arg2 = &temp2;
18532 arg3 = &temp3;
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 (arg1)->GetPPIPrinter(arg2,arg3);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 Py_INCREF(Py_None); resultobj = Py_None;
18543 {
18544 PyObject *o = PyInt_FromLong((long) (*arg2));
18545 resultobj = t_output_helper(resultobj,o);
18546 }
18547 {
18548 PyObject *o = PyInt_FromLong((long) (*arg3));
18549 resultobj = t_output_helper(resultobj,o);
18550 }
18551 return resultobj;
18552 fail:
18553 return NULL;
18554 }
18555
18556
18557 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18558 PyObject *resultobj;
18559 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18560 bool result;
18561 PyObject * obj0 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 result = (bool)(arg1)->IsPreview();
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = PyInt_FromLong((long)result);
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18585 bool arg2 ;
18586 PyObject * obj0 = 0 ;
18587 PyObject * obj1 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self",(char *) "p", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18594 arg2 = PyInt_AsLong(obj1) ? true : false;
18595 if (PyErr_Occurred()) SWIG_fail;
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 (arg1)->SetIsPreview(arg2);
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 Py_INCREF(Py_None); resultobj = Py_None;
18604 return resultobj;
18605 fail:
18606 return NULL;
18607 }
18608
18609
18610 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18613 int arg2 ;
18614 int arg3 ;
18615 bool result;
18616 PyObject * obj0 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18623 {
18624 PyThreadState* __tstate = wxPyBeginAllowThreads();
18625 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18626
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
18630 resultobj = PyInt_FromLong((long)result);
18631 return resultobj;
18632 fail:
18633 return NULL;
18634 }
18635
18636
18637 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18638 PyObject *resultobj;
18639 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18640 PyObject * obj0 = 0 ;
18641 char *kwnames[] = {
18642 (char *) "self", NULL
18643 };
18644
18645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 (arg1)->base_OnEndDocument();
18650
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 Py_INCREF(Py_None); resultobj = Py_None;
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18664 PyObject * obj0 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 (arg1)->base_OnBeginPrinting();
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 Py_INCREF(Py_None); resultobj = Py_None;
18679 return resultobj;
18680 fail:
18681 return NULL;
18682 }
18683
18684
18685 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18686 PyObject *resultobj;
18687 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18688 PyObject * obj0 = 0 ;
18689 char *kwnames[] = {
18690 (char *) "self", NULL
18691 };
18692
18693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 (arg1)->base_OnEndPrinting();
18698
18699 wxPyEndAllowThreads(__tstate);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 Py_INCREF(Py_None); resultobj = Py_None;
18703 return resultobj;
18704 fail:
18705 return NULL;
18706 }
18707
18708
18709 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18710 PyObject *resultobj;
18711 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18712 PyObject * obj0 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 (arg1)->base_OnPreparePrinting();
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 Py_INCREF(Py_None); resultobj = Py_None;
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18736 int arg2 ;
18737 bool result;
18738 PyObject * obj0 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self",(char *) "page", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 result = (bool)(arg1)->base_HasPage(arg2);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 resultobj = PyInt_FromLong((long)result);
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18762 int *arg2 = (int *) 0 ;
18763 int *arg3 = (int *) 0 ;
18764 int *arg4 = (int *) 0 ;
18765 int *arg5 = (int *) 0 ;
18766 int temp2 ;
18767 int temp3 ;
18768 int temp4 ;
18769 int temp5 ;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "self", NULL
18773 };
18774
18775 arg2 = &temp2;
18776 arg3 = &temp3;
18777 arg4 = &temp4;
18778 arg5 = &temp5;
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 Py_INCREF(Py_None); resultobj = Py_None;
18789 {
18790 PyObject *o = PyInt_FromLong((long) (*arg2));
18791 resultobj = t_output_helper(resultobj,o);
18792 }
18793 {
18794 PyObject *o = PyInt_FromLong((long) (*arg3));
18795 resultobj = t_output_helper(resultobj,o);
18796 }
18797 {
18798 PyObject *o = PyInt_FromLong((long) (*arg4));
18799 resultobj = t_output_helper(resultobj,o);
18800 }
18801 {
18802 PyObject *o = PyInt_FromLong((long) (*arg5));
18803 resultobj = t_output_helper(resultobj,o);
18804 }
18805 return resultobj;
18806 fail:
18807 return NULL;
18808 }
18809
18810
18811 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18812 PyObject *obj;
18813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18814 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18815 Py_INCREF(obj);
18816 return Py_BuildValue((char *)"");
18817 }
18818 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18821 wxWindow *arg2 = (wxWindow *) 0 ;
18822 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18823 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18824 wxSize const &arg4_defvalue = wxDefaultSize ;
18825 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18826 long arg5 = (long) 0 ;
18827 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18828 wxString *arg6 = (wxString *) &arg6_defvalue ;
18829 wxPreviewCanvas *result;
18830 wxPoint temp3 ;
18831 wxSize temp4 ;
18832 bool temp6 = False ;
18833 PyObject * obj0 = 0 ;
18834 PyObject * obj1 = 0 ;
18835 PyObject * obj2 = 0 ;
18836 PyObject * obj3 = 0 ;
18837 PyObject * obj5 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18845 if (obj2) {
18846 {
18847 arg3 = &temp3;
18848 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18849 }
18850 }
18851 if (obj3) {
18852 {
18853 arg4 = &temp4;
18854 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18855 }
18856 }
18857 if (obj5) {
18858 {
18859 arg6 = wxString_in_helper(obj5);
18860 if (arg6 == NULL) SWIG_fail;
18861 temp6 = True;
18862 }
18863 }
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18872 {
18873 if (temp6)
18874 delete arg6;
18875 }
18876 return resultobj;
18877 fail:
18878 {
18879 if (temp6)
18880 delete arg6;
18881 }
18882 return NULL;
18883 }
18884
18885
18886 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18887 PyObject *obj;
18888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18889 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18890 Py_INCREF(obj);
18891 return Py_BuildValue((char *)"");
18892 }
18893 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18896 wxFrame *arg2 = (wxFrame *) 0 ;
18897 wxString *arg3 = 0 ;
18898 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18899 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18900 wxSize const &arg5_defvalue = wxDefaultSize ;
18901 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18902 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18903 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18904 wxString *arg7 = (wxString *) &arg7_defvalue ;
18905 wxPreviewFrame *result;
18906 bool temp3 = False ;
18907 wxPoint temp4 ;
18908 wxSize temp5 ;
18909 bool temp7 = False ;
18910 PyObject * obj0 = 0 ;
18911 PyObject * obj1 = 0 ;
18912 PyObject * obj2 = 0 ;
18913 PyObject * obj3 = 0 ;
18914 PyObject * obj4 = 0 ;
18915 PyObject * obj6 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18923 {
18924 arg3 = wxString_in_helper(obj2);
18925 if (arg3 == NULL) SWIG_fail;
18926 temp3 = True;
18927 }
18928 if (obj3) {
18929 {
18930 arg4 = &temp4;
18931 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18932 }
18933 }
18934 if (obj4) {
18935 {
18936 arg5 = &temp5;
18937 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18938 }
18939 }
18940 if (obj6) {
18941 {
18942 arg7 = wxString_in_helper(obj6);
18943 if (arg7 == NULL) SWIG_fail;
18944 temp7 = True;
18945 }
18946 }
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18955 {
18956 if (temp3)
18957 delete arg3;
18958 }
18959 {
18960 if (temp7)
18961 delete arg7;
18962 }
18963 return resultobj;
18964 fail:
18965 {
18966 if (temp3)
18967 delete arg3;
18968 }
18969 {
18970 if (temp7)
18971 delete arg7;
18972 }
18973 return NULL;
18974 }
18975
18976
18977 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18980 PyObject * obj0 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 (arg1)->Initialize();
18990
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 Py_INCREF(Py_None); resultobj = Py_None;
18995 return resultobj;
18996 fail:
18997 return NULL;
18998 }
18999
19000
19001 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19004 PyObject * obj0 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19011 {
19012 PyThreadState* __tstate = wxPyBeginAllowThreads();
19013 (arg1)->CreateControlBar();
19014
19015 wxPyEndAllowThreads(__tstate);
19016 if (PyErr_Occurred()) SWIG_fail;
19017 }
19018 Py_INCREF(Py_None); resultobj = Py_None;
19019 return resultobj;
19020 fail:
19021 return NULL;
19022 }
19023
19024
19025 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19026 PyObject *resultobj;
19027 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19028 PyObject * obj0 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 (arg1)->CreateCanvas();
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 Py_INCREF(Py_None); resultobj = Py_None;
19043 return resultobj;
19044 fail:
19045 return NULL;
19046 }
19047
19048
19049 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19052 wxPreviewControlBar *result;
19053 PyObject * obj0 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19075 PyObject *obj;
19076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19077 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19078 Py_INCREF(obj);
19079 return Py_BuildValue((char *)"");
19080 }
19081 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj;
19083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19084 long arg2 ;
19085 wxWindow *arg3 = (wxWindow *) 0 ;
19086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19088 wxSize const &arg5_defvalue = wxDefaultSize ;
19089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19090 long arg6 = (long) wxTAB_TRAVERSAL ;
19091 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19092 wxString *arg7 = (wxString *) &arg7_defvalue ;
19093 wxPreviewControlBar *result;
19094 wxPoint temp4 ;
19095 wxSize temp5 ;
19096 bool temp7 = False ;
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj2 = 0 ;
19099 PyObject * obj3 = 0 ;
19100 PyObject * obj4 = 0 ;
19101 PyObject * obj6 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19108 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19109 if (obj3) {
19110 {
19111 arg4 = &temp4;
19112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19113 }
19114 }
19115 if (obj4) {
19116 {
19117 arg5 = &temp5;
19118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19119 }
19120 }
19121 if (obj6) {
19122 {
19123 arg7 = wxString_in_helper(obj6);
19124 if (arg7 == NULL) SWIG_fail;
19125 temp7 = True;
19126 }
19127 }
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19136 {
19137 if (temp7)
19138 delete arg7;
19139 }
19140 return resultobj;
19141 fail:
19142 {
19143 if (temp7)
19144 delete arg7;
19145 }
19146 return NULL;
19147 }
19148
19149
19150 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19153 int result;
19154 PyObject * obj0 = 0 ;
19155 char *kwnames[] = {
19156 (char *) "self", NULL
19157 };
19158
19159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 result = (int)(arg1)->GetZoomControl();
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 resultobj = PyInt_FromLong((long)result);
19169 return resultobj;
19170 fail:
19171 return NULL;
19172 }
19173
19174
19175 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj;
19177 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19178 int arg2 ;
19179 PyObject * obj0 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self",(char *) "zoom", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 (arg1)->SetZoomControl(arg2);
19189
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
19193 Py_INCREF(Py_None); resultobj = Py_None;
19194 return resultobj;
19195 fail:
19196 return NULL;
19197 }
19198
19199
19200 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19201 PyObject *resultobj;
19202 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19203 wxPrintPreview *result;
19204 PyObject * obj0 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19219 return resultobj;
19220 fail:
19221 return NULL;
19222 }
19223
19224
19225 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19228 PyObject * obj0 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 (arg1)->OnNext();
19238
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 Py_INCREF(Py_None); resultobj = Py_None;
19243 return resultobj;
19244 fail:
19245 return NULL;
19246 }
19247
19248
19249 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19250 PyObject *resultobj;
19251 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 (arg1)->OnPrevious();
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 Py_INCREF(Py_None); resultobj = Py_None;
19267 return resultobj;
19268 fail:
19269 return NULL;
19270 }
19271
19272
19273 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19276 PyObject * obj0 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 (arg1)->OnFirst();
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 Py_INCREF(Py_None); resultobj = Py_None;
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj;
19299 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19300 PyObject * obj0 = 0 ;
19301 char *kwnames[] = {
19302 (char *) "self", NULL
19303 };
19304
19305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 (arg1)->OnLast();
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 Py_INCREF(Py_None); resultobj = Py_None;
19315 return resultobj;
19316 fail:
19317 return NULL;
19318 }
19319
19320
19321 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19322 PyObject *resultobj;
19323 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19324 PyObject * obj0 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 (arg1)->OnGoto();
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 Py_INCREF(Py_None); resultobj = Py_None;
19339 return resultobj;
19340 fail:
19341 return NULL;
19342 }
19343
19344
19345 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19346 PyObject *obj;
19347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19348 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19349 Py_INCREF(obj);
19350 return Py_BuildValue((char *)"");
19351 }
19352 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19353 PyObject *resultobj;
19354 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19355 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19356 wxPrintData *arg3 = (wxPrintData *) NULL ;
19357 wxPrintPreview *result;
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 PyObject * obj2 = 0 ;
19361 char *kwnames[] = {
19362 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19363 };
19364
19365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19368 if (obj2) {
19369 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19370 }
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19388 int arg2 ;
19389 bool result;
19390 PyObject * obj0 = 0 ;
19391 char *kwnames[] = {
19392 (char *) "self",(char *) "pageNum", NULL
19393 };
19394
19395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = (bool)(arg1)->SetCurrentPage(arg2);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 resultobj = PyInt_FromLong((long)result);
19405 return resultobj;
19406 fail:
19407 return NULL;
19408 }
19409
19410
19411 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19414 int result;
19415 PyObject * obj0 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 result = (int)(arg1)->GetCurrentPage();
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 resultobj = PyInt_FromLong((long)result);
19430 return resultobj;
19431 fail:
19432 return NULL;
19433 }
19434
19435
19436 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19437 PyObject *resultobj;
19438 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19439 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj1 = 0 ;
19442 char *kwnames[] = {
19443 (char *) "self",(char *) "printout", NULL
19444 };
19445
19446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 (arg1)->SetPrintout(arg2);
19452
19453 wxPyEndAllowThreads(__tstate);
19454 if (PyErr_Occurred()) SWIG_fail;
19455 }
19456 Py_INCREF(Py_None); resultobj = Py_None;
19457 return resultobj;
19458 fail:
19459 return NULL;
19460 }
19461
19462
19463 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19466 wxPyPrintout *result;
19467 PyObject * obj0 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 result = (wxPyPrintout *)(arg1)->GetPrintout();
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 {
19482 resultobj = wxPyMake_wxObject(result);
19483 }
19484 return resultobj;
19485 fail:
19486 return NULL;
19487 }
19488
19489
19490 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19493 wxPyPrintout *result;
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19501 {
19502 PyThreadState* __tstate = wxPyBeginAllowThreads();
19503 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19504
19505 wxPyEndAllowThreads(__tstate);
19506 if (PyErr_Occurred()) SWIG_fail;
19507 }
19508 {
19509 resultobj = wxPyMake_wxObject(result);
19510 }
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19520 wxFrame *arg2 = (wxFrame *) 0 ;
19521 PyObject * obj0 = 0 ;
19522 PyObject * obj1 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self",(char *) "frame", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19530 {
19531 PyThreadState* __tstate = wxPyBeginAllowThreads();
19532 (arg1)->SetFrame(arg2);
19533
19534 wxPyEndAllowThreads(__tstate);
19535 if (PyErr_Occurred()) SWIG_fail;
19536 }
19537 Py_INCREF(Py_None); resultobj = Py_None;
19538 return resultobj;
19539 fail:
19540 return NULL;
19541 }
19542
19543
19544 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19545 PyObject *resultobj;
19546 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19547 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19548 PyObject * obj0 = 0 ;
19549 PyObject * obj1 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self",(char *) "canvas", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 (arg1)->SetCanvas(arg2);
19560
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 Py_INCREF(Py_None); resultobj = Py_None;
19565 return resultobj;
19566 fail:
19567 return NULL;
19568 }
19569
19570
19571 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj;
19573 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19574 wxFrame *result;
19575 PyObject * obj0 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 result = (wxFrame *)(arg1)->GetFrame();
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 {
19590 resultobj = wxPyMake_wxObject(result);
19591 }
19592 return resultobj;
19593 fail:
19594 return NULL;
19595 }
19596
19597
19598 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19601 wxPreviewCanvas *result;
19602 PyObject * obj0 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19612
19613 wxPyEndAllowThreads(__tstate);
19614 if (PyErr_Occurred()) SWIG_fail;
19615 }
19616 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19617 return resultobj;
19618 fail:
19619 return NULL;
19620 }
19621
19622
19623 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19624 PyObject *resultobj;
19625 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19626 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19627 wxDC *arg3 = 0 ;
19628 bool result;
19629 PyObject * obj0 = 0 ;
19630 PyObject * obj1 = 0 ;
19631 PyObject * obj2 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19639 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19640 if (arg3 == NULL) {
19641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19642 }
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 resultobj = PyInt_FromLong((long)result);
19651 return resultobj;
19652 fail:
19653 return NULL;
19654 }
19655
19656
19657 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj;
19659 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19660 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19661 wxDC *arg3 = 0 ;
19662 bool result;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 PyObject * obj2 = 0 ;
19666 char *kwnames[] = {
19667 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19668 };
19669
19670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19673 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19674 if (arg3 == NULL) {
19675 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19676 }
19677 {
19678 PyThreadState* __tstate = wxPyBeginAllowThreads();
19679 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 resultobj = PyInt_FromLong((long)result);
19685 return resultobj;
19686 fail:
19687 return NULL;
19688 }
19689
19690
19691 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19694 int arg2 ;
19695 bool result;
19696 PyObject * obj0 = 0 ;
19697 char *kwnames[] = {
19698 (char *) "self",(char *) "pageNum", NULL
19699 };
19700
19701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (bool)(arg1)->RenderPage(arg2);
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 resultobj = PyInt_FromLong((long)result);
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19720 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19721 PyObject * obj0 = 0 ;
19722 PyObject * obj1 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self",(char *) "canvas", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->AdjustScrollbars(arg2);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 Py_INCREF(Py_None); resultobj = Py_None;
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19747 wxPrintDialogData *result;
19748 PyObject * obj0 = 0 ;
19749 char *kwnames[] = {
19750 (char *) "self", NULL
19751 };
19752
19753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 {
19758 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19759 result = (wxPrintDialogData *) &_result_ref;
19760 }
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19766 return resultobj;
19767 fail:
19768 return NULL;
19769 }
19770
19771
19772 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19773 PyObject *resultobj;
19774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19775 int arg2 ;
19776 PyObject * obj0 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self",(char *) "percent", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 (arg1)->SetZoom(arg2);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 Py_INCREF(Py_None); resultobj = Py_None;
19791 return resultobj;
19792 fail:
19793 return NULL;
19794 }
19795
19796
19797 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19800 int result;
19801 PyObject * obj0 = 0 ;
19802 char *kwnames[] = {
19803 (char *) "self", NULL
19804 };
19805
19806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = (int)(arg1)->GetZoom();
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = PyInt_FromLong((long)result);
19816 return resultobj;
19817 fail:
19818 return NULL;
19819 }
19820
19821
19822 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19823 PyObject *resultobj;
19824 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19825 int result;
19826 PyObject * obj0 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "self", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 result = (int)(arg1)->GetMaxPage();
19836
19837 wxPyEndAllowThreads(__tstate);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 }
19840 resultobj = PyInt_FromLong((long)result);
19841 return resultobj;
19842 fail:
19843 return NULL;
19844 }
19845
19846
19847 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19848 PyObject *resultobj;
19849 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19850 int result;
19851 PyObject * obj0 = 0 ;
19852 char *kwnames[] = {
19853 (char *) "self", NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (int)(arg1)->GetMinPage();
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 resultobj = PyInt_FromLong((long)result);
19866 return resultobj;
19867 fail:
19868 return NULL;
19869 }
19870
19871
19872 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19875 bool result;
19876 PyObject * obj0 = 0 ;
19877 char *kwnames[] = {
19878 (char *) "self", NULL
19879 };
19880
19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19883 {
19884 PyThreadState* __tstate = wxPyBeginAllowThreads();
19885 result = (bool)(arg1)->Ok();
19886
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 resultobj = PyInt_FromLong((long)result);
19891 return resultobj;
19892 fail:
19893 return NULL;
19894 }
19895
19896
19897 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19898 PyObject *resultobj;
19899 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19900 bool arg2 ;
19901 PyObject * obj0 = 0 ;
19902 PyObject * obj1 = 0 ;
19903 char *kwnames[] = {
19904 (char *) "self",(char *) "ok", NULL
19905 };
19906
19907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19909 arg2 = PyInt_AsLong(obj1) ? true : false;
19910 if (PyErr_Occurred()) SWIG_fail;
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 (arg1)->SetOk(arg2);
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 Py_INCREF(Py_None); resultobj = Py_None;
19919 return resultobj;
19920 fail:
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19928 bool arg2 ;
19929 bool result;
19930 PyObject * obj0 = 0 ;
19931 PyObject * obj1 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self",(char *) "interactive", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19938 arg2 = PyInt_AsLong(obj1) ? true : false;
19939 if (PyErr_Occurred()) SWIG_fail;
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 result = (bool)(arg1)->Print(arg2);
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 resultobj = PyInt_FromLong((long)result);
19948 return resultobj;
19949 fail:
19950 return NULL;
19951 }
19952
19953
19954 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj;
19956 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19957 PyObject * obj0 = 0 ;
19958 char *kwnames[] = {
19959 (char *) "self", NULL
19960 };
19961
19962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 (arg1)->DetermineScaling();
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 Py_INCREF(Py_None); resultobj = Py_None;
19972 return resultobj;
19973 fail:
19974 return NULL;
19975 }
19976
19977
19978 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19979 PyObject *obj;
19980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19981 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19982 Py_INCREF(obj);
19983 return Py_BuildValue((char *)"");
19984 }
19985 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj;
19987 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19988 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19989 wxPrintData *arg3 = (wxPrintData *) NULL ;
19990 wxPyPrintPreview *result;
19991 PyObject * obj0 = 0 ;
19992 PyObject * obj1 = 0 ;
19993 PyObject * obj2 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 if (obj2) {
20002 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20003 }
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20021 PyObject *arg2 = (PyObject *) 0 ;
20022 PyObject *arg3 = (PyObject *) 0 ;
20023 PyObject * obj0 = 0 ;
20024 PyObject * obj1 = 0 ;
20025 PyObject * obj2 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self",(char *) "self",(char *) "_class", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 arg2 = obj1;
20033 arg3 = obj2;
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 (arg1)->_setCallbackInfo(arg2,arg3);
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 Py_INCREF(Py_None); resultobj = Py_None;
20042 return resultobj;
20043 fail:
20044 return NULL;
20045 }
20046
20047
20048 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20049 PyObject *resultobj;
20050 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20051 int arg2 ;
20052 bool result;
20053 PyObject * obj0 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "pageNum", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 resultobj = PyInt_FromLong((long)result);
20068 return resultobj;
20069 fail:
20070 return NULL;
20071 }
20072
20073
20074 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20075 PyObject *resultobj;
20076 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20077 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20078 wxDC *arg3 = 0 ;
20079 bool result;
20080 PyObject * obj0 = 0 ;
20081 PyObject * obj1 = 0 ;
20082 PyObject * obj2 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20090 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20091 if (arg3 == NULL) {
20092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20093 }
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = PyInt_FromLong((long)result);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20111 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20112 wxDC *arg3 = 0 ;
20113 bool result;
20114 PyObject * obj0 = 0 ;
20115 PyObject * obj1 = 0 ;
20116 PyObject * obj2 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20124 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20125 if (arg3 == NULL) {
20126 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20127 }
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 resultobj = PyInt_FromLong((long)result);
20136 return resultobj;
20137 fail:
20138 return NULL;
20139 }
20140
20141
20142 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj;
20144 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20145 int arg2 ;
20146 bool result;
20147 PyObject * obj0 = 0 ;
20148 char *kwnames[] = {
20149 (char *) "self",(char *) "pageNum", NULL
20150 };
20151
20152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20154 {
20155 PyThreadState* __tstate = wxPyBeginAllowThreads();
20156 result = (bool)(arg1)->base_RenderPage(arg2);
20157
20158 wxPyEndAllowThreads(__tstate);
20159 if (PyErr_Occurred()) SWIG_fail;
20160 }
20161 resultobj = PyInt_FromLong((long)result);
20162 return resultobj;
20163 fail:
20164 return NULL;
20165 }
20166
20167
20168 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj;
20170 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20171 int arg2 ;
20172 PyObject * obj0 = 0 ;
20173 char *kwnames[] = {
20174 (char *) "self",(char *) "percent", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 (arg1)->base_SetZoom(arg2);
20182
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 Py_INCREF(Py_None); resultobj = Py_None;
20187 return resultobj;
20188 fail:
20189 return NULL;
20190 }
20191
20192
20193 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20194 PyObject *resultobj;
20195 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20196 bool arg2 ;
20197 bool result;
20198 PyObject * obj0 = 0 ;
20199 PyObject * obj1 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "interactive", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 arg2 = PyInt_AsLong(obj1) ? true : false;
20207 if (PyErr_Occurred()) SWIG_fail;
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 result = (bool)(arg1)->base_Print(arg2);
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 resultobj = PyInt_FromLong((long)result);
20216 return resultobj;
20217 fail:
20218 return NULL;
20219 }
20220
20221
20222 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20225 PyObject * obj0 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20232 {
20233 PyThreadState* __tstate = wxPyBeginAllowThreads();
20234 (arg1)->base_DetermineScaling();
20235
20236 wxPyEndAllowThreads(__tstate);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 }
20239 Py_INCREF(Py_None); resultobj = Py_None;
20240 return resultobj;
20241 fail:
20242 return NULL;
20243 }
20244
20245
20246 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20247 PyObject *obj;
20248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20249 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20250 Py_INCREF(obj);
20251 return Py_BuildValue((char *)"");
20252 }
20253 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20256 wxFrame *arg2 = (wxFrame *) 0 ;
20257 wxString *arg3 = 0 ;
20258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20260 wxSize const &arg5_defvalue = wxDefaultSize ;
20261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20262 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20263 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20264 wxString *arg7 = (wxString *) &arg7_defvalue ;
20265 wxPyPreviewFrame *result;
20266 bool temp3 = False ;
20267 wxPoint temp4 ;
20268 wxSize temp5 ;
20269 bool temp7 = False ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 PyObject * obj2 = 0 ;
20273 PyObject * obj3 = 0 ;
20274 PyObject * obj4 = 0 ;
20275 PyObject * obj6 = 0 ;
20276 char *kwnames[] = {
20277 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20278 };
20279
20280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20283 {
20284 arg3 = wxString_in_helper(obj2);
20285 if (arg3 == NULL) SWIG_fail;
20286 temp3 = True;
20287 }
20288 if (obj3) {
20289 {
20290 arg4 = &temp4;
20291 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20292 }
20293 }
20294 if (obj4) {
20295 {
20296 arg5 = &temp5;
20297 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20298 }
20299 }
20300 if (obj6) {
20301 {
20302 arg7 = wxString_in_helper(obj6);
20303 if (arg7 == NULL) SWIG_fail;
20304 temp7 = True;
20305 }
20306 }
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20315 {
20316 if (temp3)
20317 delete arg3;
20318 }
20319 {
20320 if (temp7)
20321 delete arg7;
20322 }
20323 return resultobj;
20324 fail:
20325 {
20326 if (temp3)
20327 delete arg3;
20328 }
20329 {
20330 if (temp7)
20331 delete arg7;
20332 }
20333 return NULL;
20334 }
20335
20336
20337 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20338 PyObject *resultobj;
20339 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20340 PyObject *arg2 = (PyObject *) 0 ;
20341 PyObject *arg3 = (PyObject *) 0 ;
20342 PyObject * obj0 = 0 ;
20343 PyObject * obj1 = 0 ;
20344 PyObject * obj2 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self",(char *) "self",(char *) "_class", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20351 arg2 = obj1;
20352 arg3 = obj2;
20353 {
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 (arg1)->_setCallbackInfo(arg2,arg3);
20356
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 Py_INCREF(Py_None); resultobj = Py_None;
20361 return resultobj;
20362 fail:
20363 return NULL;
20364 }
20365
20366
20367 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20370 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20371 PyObject * obj0 = 0 ;
20372 PyObject * obj1 = 0 ;
20373 char *kwnames[] = {
20374 (char *) "self",(char *) "canvas", NULL
20375 };
20376
20377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 (arg1)->SetPreviewCanvas(arg2);
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 Py_INCREF(Py_None); resultobj = Py_None;
20388 return resultobj;
20389 fail:
20390 return NULL;
20391 }
20392
20393
20394 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20397 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20398 PyObject * obj0 = 0 ;
20399 PyObject * obj1 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self",(char *) "bar", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 (arg1)->SetControlBar(arg2);
20410
20411 wxPyEndAllowThreads(__tstate);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
20414 Py_INCREF(Py_None); resultobj = Py_None;
20415 return resultobj;
20416 fail:
20417 return NULL;
20418 }
20419
20420
20421 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20422 PyObject *resultobj;
20423 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20424 PyObject * obj0 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 (arg1)->base_Initialize();
20434
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 Py_INCREF(Py_None); resultobj = Py_None;
20439 return resultobj;
20440 fail:
20441 return NULL;
20442 }
20443
20444
20445 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20446 PyObject *resultobj;
20447 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 (arg1)->base_CreateCanvas();
20458
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 Py_INCREF(Py_None); resultobj = Py_None;
20463 return resultobj;
20464 fail:
20465 return NULL;
20466 }
20467
20468
20469 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20472 PyObject * obj0 = 0 ;
20473 char *kwnames[] = {
20474 (char *) "self", NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20479 {
20480 PyThreadState* __tstate = wxPyBeginAllowThreads();
20481 (arg1)->base_CreateControlBar();
20482
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 Py_INCREF(Py_None); resultobj = Py_None;
20487 return resultobj;
20488 fail:
20489 return NULL;
20490 }
20491
20492
20493 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20494 PyObject *obj;
20495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20496 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20497 Py_INCREF(obj);
20498 return Py_BuildValue((char *)"");
20499 }
20500 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20501 PyObject *resultobj;
20502 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20503 long arg2 ;
20504 wxWindow *arg3 = (wxWindow *) 0 ;
20505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20507 wxSize const &arg5_defvalue = wxDefaultSize ;
20508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20509 long arg6 = (long) 0 ;
20510 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20511 wxString *arg7 = (wxString *) &arg7_defvalue ;
20512 wxPyPreviewControlBar *result;
20513 wxPoint temp4 ;
20514 wxSize temp5 ;
20515 bool temp7 = False ;
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj2 = 0 ;
20518 PyObject * obj3 = 0 ;
20519 PyObject * obj4 = 0 ;
20520 PyObject * obj6 = 0 ;
20521 char *kwnames[] = {
20522 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20523 };
20524
20525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20527 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20528 if (obj3) {
20529 {
20530 arg4 = &temp4;
20531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20532 }
20533 }
20534 if (obj4) {
20535 {
20536 arg5 = &temp5;
20537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20538 }
20539 }
20540 if (obj6) {
20541 {
20542 arg7 = wxString_in_helper(obj6);
20543 if (arg7 == NULL) SWIG_fail;
20544 temp7 = True;
20545 }
20546 }
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20555 {
20556 if (temp7)
20557 delete arg7;
20558 }
20559 return resultobj;
20560 fail:
20561 {
20562 if (temp7)
20563 delete arg7;
20564 }
20565 return NULL;
20566 }
20567
20568
20569 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20570 PyObject *resultobj;
20571 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20572 PyObject *arg2 = (PyObject *) 0 ;
20573 PyObject *arg3 = (PyObject *) 0 ;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 PyObject * obj2 = 0 ;
20577 char *kwnames[] = {
20578 (char *) "self",(char *) "self",(char *) "_class", NULL
20579 };
20580
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20583 arg2 = obj1;
20584 arg3 = obj2;
20585 {
20586 PyThreadState* __tstate = wxPyBeginAllowThreads();
20587 (arg1)->_setCallbackInfo(arg2,arg3);
20588
20589 wxPyEndAllowThreads(__tstate);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 }
20592 Py_INCREF(Py_None); resultobj = Py_None;
20593 return resultobj;
20594 fail:
20595 return NULL;
20596 }
20597
20598
20599 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20600 PyObject *resultobj;
20601 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20602 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20603 PyObject * obj0 = 0 ;
20604 PyObject * obj1 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self",(char *) "preview", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 (arg1)->SetPrintPreview(arg2);
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 Py_INCREF(Py_None); resultobj = Py_None;
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20629 PyObject * obj0 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 (arg1)->base_CreateButtons();
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 Py_INCREF(Py_None); resultobj = Py_None;
20644 return resultobj;
20645 fail:
20646 return NULL;
20647 }
20648
20649
20650 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20651 PyObject *resultobj;
20652 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20653 int arg2 ;
20654 PyObject * obj0 = 0 ;
20655 char *kwnames[] = {
20656 (char *) "self",(char *) "zoom", NULL
20657 };
20658
20659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 (arg1)->base_SetZoomControl(arg2);
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 Py_INCREF(Py_None); resultobj = Py_None;
20669 return resultobj;
20670 fail:
20671 return NULL;
20672 }
20673
20674
20675 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20676 PyObject *obj;
20677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20678 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20679 Py_INCREF(obj);
20680 return Py_BuildValue((char *)"");
20681 }
20682 static PyMethodDef SwigMethods[] = {
20683 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20684 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20685 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20686 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20687 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20688 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20689 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20690 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20691 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20692 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20693 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20694 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20695 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20697 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20699 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20700 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20701 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20703 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20704 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20705 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20707 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20708 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20709 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20711 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20713 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
20714 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
20715 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
20716 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
20720 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
20723 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
20724 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20728 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20732 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20735 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20736 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20739 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20743 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20745 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20751 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20761 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20762 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20775 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20779 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20783 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20788 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20793 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20803 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20829 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20836 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20859 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20867 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20871 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20879 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20885 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20894 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20900 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20903 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20906 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20910 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20928 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20954 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20961 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20964 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20966 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20975 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20979 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20987 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21005 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21009 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21015 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21020 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21036 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21040 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21043 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21047 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21056 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21065 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21071 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21083 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21090 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21094 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21115 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21136 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21180 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21212 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21216 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21250 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21255 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21266 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21289 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21291 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21297 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21307 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21331 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21341 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21349 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21355 { NULL, NULL }
21356 };
21357
21358
21359 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21360
21361 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21362 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21363 }
21364 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21365 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21366 }
21367 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21368 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21369 }
21370 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21371 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21372 }
21373 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21374 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21375 }
21376 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21377 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21378 }
21379 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21380 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21381 }
21382 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21383 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21384 }
21385 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21386 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21387 }
21388 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21389 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21390 }
21391 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21392 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21393 }
21394 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21395 return (void *)((wxEvent *) ((wxPyEvent *) x));
21396 }
21397 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21398 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21399 }
21400 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21401 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21402 }
21403 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21404 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21405 }
21406 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21407 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21408 }
21409 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21410 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21411 }
21412 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21413 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21414 }
21415 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21416 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21417 }
21418 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21419 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21420 }
21421 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21422 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21423 }
21424 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21425 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21426 }
21427 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21428 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21429 }
21430 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21431 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21432 }
21433 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21434 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21435 }
21436 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21437 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21438 }
21439 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21440 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21441 }
21442 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21443 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21444 }
21445 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21446 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21447 }
21448 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21449 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21450 }
21451 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21452 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21453 }
21454 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21455 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21456 }
21457 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21458 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21459 }
21460 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21461 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21462 }
21463 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21464 return (void *)((wxEvent *) ((wxShowEvent *) x));
21465 }
21466 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21467 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21468 }
21469 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21470 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21471 }
21472 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21473 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21474 }
21475 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21476 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21477 }
21478 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21479 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21480 }
21481 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21482 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21483 }
21484 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21485 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21486 }
21487 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21488 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21489 }
21490 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21491 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21492 }
21493 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21494 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21495 }
21496 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21497 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21498 }
21499 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21500 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21501 }
21502 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21503 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21504 }
21505 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21506 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21507 }
21508 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21509 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21510 }
21511 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21512 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21513 }
21514 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21515 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21516 }
21517 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21518 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21519 }
21520 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21521 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21522 }
21523 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21524 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21525 }
21526 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21527 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21528 }
21529 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21530 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21531 }
21532 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21533 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21534 }
21535 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21536 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21537 }
21538 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21539 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21540 }
21541 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21542 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21543 }
21544 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21545 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21546 }
21547 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21548 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21549 }
21550 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21551 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21552 }
21553 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21554 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21555 }
21556 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21557 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21558 }
21559 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21560 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21561 }
21562 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21563 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21564 }
21565 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21566 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21567 }
21568 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21569 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21570 }
21571 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21572 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21573 }
21574 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21575 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21576 }
21577 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21578 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21579 }
21580 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21581 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21582 }
21583 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21584 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21585 }
21586 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21587 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21588 }
21589 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21590 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21591 }
21592 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21593 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21594 }
21595 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21596 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21597 }
21598 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21599 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21600 }
21601 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21602 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21603 }
21604 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21605 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21606 }
21607 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21608 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21609 }
21610 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21611 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21612 }
21613 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21614 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21615 }
21616 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21618 }
21619 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21620 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21621 }
21622 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21623 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21624 }
21625 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21626 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21627 }
21628 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21630 }
21631 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21632 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21633 }
21634 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21635 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21636 }
21637 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21638 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21639 }
21640 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21641 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21642 }
21643 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21644 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21645 }
21646 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
21647 return (void *)((wxFrame *) ((wxTipWindow *) x));
21648 }
21649 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21650 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21651 }
21652 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21653 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21654 }
21655 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21656 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21657 }
21658 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21659 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21660 }
21661 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21662 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21663 }
21664 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21665 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21666 }
21667 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21668 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21669 }
21670 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21672 }
21673 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21675 }
21676 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21677 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21678 }
21679 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21680 return (void *)((wxObject *) ((wxSizerItem *) x));
21681 }
21682 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21683 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21684 }
21685 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21686 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21687 }
21688 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21689 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21690 }
21691 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21692 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21693 }
21694 static void *_p_wxSizerTo_p_wxObject(void *x) {
21695 return (void *)((wxObject *) ((wxSizer *) x));
21696 }
21697 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21698 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21699 }
21700 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21701 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21702 }
21703 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21705 }
21706 static void *_p_wxEventTo_p_wxObject(void *x) {
21707 return (void *)((wxObject *) ((wxEvent *) x));
21708 }
21709 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21710 return (void *)((wxObject *) ((wxFontData *) x));
21711 }
21712 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21713 return (void *)((wxObject *) ((wxPrintData *) x));
21714 }
21715 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21716 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21717 }
21718 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21719 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21720 }
21721 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21722 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21723 }
21724 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21725 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21726 }
21727 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21728 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21729 }
21730 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21732 }
21733 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21734 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21735 }
21736 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21737 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21738 }
21739 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21740 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21741 }
21742 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21743 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21744 }
21745 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21746 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21747 }
21748 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21749 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21750 }
21751 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21753 }
21754 static void *_p_wxControlTo_p_wxObject(void *x) {
21755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21756 }
21757 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21758 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21759 }
21760 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21762 }
21763 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21764 return (void *)((wxObject *) ((wxFSFile *) x));
21765 }
21766 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21767 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21768 }
21769 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21770 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21771 }
21772 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21774 }
21775 static void *_p_wxColourDataTo_p_wxObject(void *x) {
21776 return (void *)((wxObject *) ((wxColourData *) x));
21777 }
21778 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21779 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21780 }
21781 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21782 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21783 }
21784 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21786 }
21787 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21789 }
21790 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21792 }
21793 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21795 }
21796 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21798 }
21799 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21801 }
21802 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21804 }
21805 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21807 }
21808 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21810 }
21811 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21812 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21813 }
21814 static void *_p_wxPrinterTo_p_wxObject(void *x) {
21815 return (void *)((wxObject *) ((wxPrinter *) x));
21816 }
21817 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21818 return (void *)((wxObject *) ((wxMenuItem *) x));
21819 }
21820 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21821 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21822 }
21823 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21825 }
21826 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21827 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21828 }
21829 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21830 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21831 }
21832 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21833 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21834 }
21835 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21836 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21837 }
21838 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21839 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21840 }
21841 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21842 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21843 }
21844 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21845 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21846 }
21847 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21848 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21849 }
21850 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21851 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21852 }
21853 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21854 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21855 }
21856 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21857 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21858 }
21859 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21860 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21861 }
21862 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21863 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21864 }
21865 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21866 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21867 }
21868 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21869 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21870 }
21871 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21872 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21873 }
21874 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21875 return (void *)((wxObject *) ((wxImageHandler *) x));
21876 }
21877 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21878 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21879 }
21880 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21881 return (void *)((wxObject *) ((wxEvtHandler *) x));
21882 }
21883 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21884 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21885 }
21886 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21888 }
21889 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21891 }
21892 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21893 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21894 }
21895 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21897 }
21898 static void *_p_wxImageTo_p_wxObject(void *x) {
21899 return (void *)((wxObject *) ((wxImage *) x));
21900 }
21901 static void *_p_wxFrameTo_p_wxObject(void *x) {
21902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21903 }
21904 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21905 return (void *)((wxObject *) ((wxPyPrintout *) x));
21906 }
21907 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21908 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21909 }
21910 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21911 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21912 }
21913 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21915 }
21916 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21918 }
21919 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21920 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21921 }
21922 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21923 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21924 }
21925 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21926 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21927 }
21928 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21930 }
21931 static void *_p_wxWindowTo_p_wxObject(void *x) {
21932 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21933 }
21934 static void *_p_wxMenuTo_p_wxObject(void *x) {
21935 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21936 }
21937 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21939 }
21940 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21942 }
21943 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21945 }
21946 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21948 }
21949 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21951 }
21952 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21954 }
21955 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21957 }
21958 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21960 }
21961 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21963 }
21964 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21966 }
21967 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21969 }
21970 static void *_p_wxSashEventTo_p_wxObject(void *x) {
21971 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21972 }
21973 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21974 return (void *)((wxObject *) ((wxPrintPreview *) x));
21975 }
21976 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21977 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21978 }
21979 static void *_p_wxPanelTo_p_wxObject(void *x) {
21980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21981 }
21982 static void *_p_wxDialogTo_p_wxObject(void *x) {
21983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21984 }
21985 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21987 }
21988 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
21989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21990 }
21991 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
21992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21993 }
21994 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
21995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21996 }
21997 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
21998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21999 }
22000 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22001 return (void *)((wxObject *) ((wxFileSystem *) x));
22002 }
22003 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22004 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22005 }
22006 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22007 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22008 }
22009 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22010 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22011 }
22012 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22013 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22014 }
22015 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22016 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22017 }
22018 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22019 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22020 }
22021 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22022 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22023 }
22024 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22025 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22026 }
22027 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22029 }
22030 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22032 }
22033 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22034 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22035 }
22036 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22037 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22038 }
22039 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22040 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22041 }
22042 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22044 }
22045 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22046 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22047 }
22048 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22049 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22050 }
22051 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22052 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22053 }
22054 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22055 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22056 }
22057 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22058 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22059 }
22060 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22061 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22062 }
22063 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22064 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22065 }
22066 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22067 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22068 }
22069 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22070 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22071 }
22072 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22073 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22074 }
22075 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22076 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22077 }
22078 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22079 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22080 }
22081 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22082 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22083 }
22084 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22085 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22086 }
22087 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22088 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22089 }
22090 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22091 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22092 }
22093 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22094 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22095 }
22096 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
22097 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
22098 }
22099 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22100 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22101 }
22102 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22103 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22104 }
22105 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22106 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22107 }
22108 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22109 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22110 }
22111 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22112 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22113 }
22114 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22115 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22116 }
22117 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22118 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22119 }
22120 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22121 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22122 }
22123 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22124 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22125 }
22126 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22127 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22128 }
22129 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22130 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22131 }
22132 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22133 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22134 }
22135 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22136 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22137 }
22138 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22139 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22140 }
22141 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22142 return (void *)((wxWindow *) ((wxMenuBar *) x));
22143 }
22144 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22145 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22146 }
22147 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22148 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22149 }
22150 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22151 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22152 }
22153 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22154 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22155 }
22156 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22157 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22158 }
22159 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22160 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22161 }
22162 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22163 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22164 }
22165 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22166 return (void *)((wxWindow *) ((wxPanel *) x));
22167 }
22168 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22169 return (void *)((wxWindow *) ((wxStatusBar *) x));
22170 }
22171 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22172 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22173 }
22174 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22175 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22176 }
22177 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22178 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
22179 }
22180 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22181 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22182 }
22183 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22184 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22185 }
22186 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22187 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22188 }
22189 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22190 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22191 }
22192 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22193 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22194 }
22195 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22196 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22197 }
22198 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22199 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22200 }
22201 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22202 return (void *)((wxWindow *) ((wxSashWindow *) x));
22203 }
22204 static void *_p_wxControlTo_p_wxWindow(void *x) {
22205 return (void *)((wxWindow *) ((wxControl *) x));
22206 }
22207 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22208 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22209 }
22210 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22211 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22212 }
22213 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22214 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22215 }
22216 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22217 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22218 }
22219 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22220 return (void *)((wxWindow *) ((wxPyWindow *) x));
22221 }
22222 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22223 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22224 }
22225 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22226 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22227 }
22228 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22229 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22230 }
22231 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22232 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22233 }
22234 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22235 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22236 }
22237 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22238 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22239 }
22240 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22241 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22242 }
22243 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22244 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22245 }
22246 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22247 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22248 }
22249 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22250 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22251 }
22252 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22254 }
22255 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22257 }
22258 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22259 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22260 }
22261 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22262 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22263 }
22264 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22265 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22266 }
22267 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22268 return (void *)((wxDialog *) ((wxColourDialog *) x));
22269 }
22270 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22271 return (void *)((wxDialog *) ((wxDirDialog *) x));
22272 }
22273 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22274 return (void *)((wxDialog *) ((wxFontDialog *) x));
22275 }
22276 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22277 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22278 }
22279 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22280 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22281 }
22282 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22283 return (void *)((wxDialog *) ((wxFileDialog *) x));
22284 }
22285 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22286 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22287 }
22288 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22289 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22290 }
22291 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22292 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22293 }
22294 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22295 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22296 }
22297 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22298 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22299 }
22300 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22301 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22302 }
22303 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22304 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22305 }
22306 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22307 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22308 }
22309 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22310 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22311 }
22312 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22313 return (void *)((wxPanel *) ((wxPyPanel *) x));
22314 }
22315 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22316 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22317 }
22318 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22319 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22320 }
22321 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22322 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22323 }
22324 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22325 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22326 }
22327 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22328 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22329 }
22330 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22331 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22332 }
22333 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22334 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22335 }
22336 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22337 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22338 }
22339 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22340 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22341 }
22342 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22343 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22344 }
22345 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22346 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22347 }
22348 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22349 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22350 }
22351 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22352 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22353 }
22354 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22355 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22356 }
22357 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22358 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22359 }
22360 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22361 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22362 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22363 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22364 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22365 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22366 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22367 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22368 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}};
22369 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22370 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22371 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22372 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22373 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22374 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22375 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22376 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22377 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22378 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22379 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22380 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22381 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22382 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22383 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22384 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22385 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22386 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22387 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22388 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22389 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22390 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22391 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22392 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22393 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22394 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22395 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22396 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22397 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}};
22398 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22399 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22400 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22401 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22402 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22403 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22404 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}};
22405 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22406 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22407 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22408 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22409 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22410 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22411 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}};
22412 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22413 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22414 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22415 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22416 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22417 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22418 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22419 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}};
22420 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
22421 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22422 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}};
22423 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}};
22424 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22425 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22426 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22427 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22428 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22429 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22430 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22431 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22432 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22433 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}};
22434 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}};
22435 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22436 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22437 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22438 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}};
22439 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22440 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22441 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22442 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22443 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22444 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22445 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22446
22447 static swig_type_info *swig_types_initial[] = {
22448 _swigt__p_wxQueryLayoutInfoEvent,
22449 _swigt__p_wxPreviewFrame,
22450 _swigt__p_wxPyPreviewFrame,
22451 _swigt__p_wxAcceleratorEntry,
22452 _swigt__p_wxPyPanel,
22453 _swigt__p_wxMenu,
22454 _swigt__p_wxPrintData,
22455 _swigt__p_wxFontData,
22456 _swigt__p_wxEvent,
22457 _swigt__p_wxTaskBarIcon,
22458 _swigt__p_wxIconBundle,
22459 _swigt__p_wxLayoutAlgorithm,
22460 _swigt__p_wxFindDialogEvent,
22461 _swigt__p_wxPreviewCanvas,
22462 _swigt__p_wxFont,
22463 _swigt__p_wxSplitterEvent,
22464 _swigt__p_wxRegion,
22465 _swigt__p_wxFindReplaceData,
22466 _swigt__p_int,
22467 _swigt__p_wxSize,
22468 _swigt__p_wxDC,
22469 _swigt__p_wxIcon,
22470 _swigt__p_wxMDIChildFrame,
22471 _swigt__p_wxColourData,
22472 _swigt__p_wxNotifyEvent,
22473 _swigt__p_wxPyWindow,
22474 _swigt__p_wxSplashScreen,
22475 _swigt__p_wxFindReplaceDialog,
22476 _swigt__p_wxProgressDialog,
22477 _swigt__p_wxMessageDialog,
22478 _swigt__p_wxTextEntryDialog,
22479 _swigt__p_wxSingleChoiceDialog,
22480 _swigt__p_wxMultiChoiceDialog,
22481 _swigt__p_wxFileDialog,
22482 _swigt__p_wxPrinter,
22483 _swigt__p_wxMenuItem,
22484 _swigt__p_wxArrayInt,
22485 _swigt__p_wxEvtHandler,
22486 _swigt__p_wxCalculateLayoutEvent,
22487 _swigt__p_wxPyHtmlListBox,
22488 _swigt__p_wxPyVListBox,
22489 _swigt__p_wxRect,
22490 _swigt__p_wxAcceleratorTable,
22491 _swigt__p_wxMiniFrame,
22492 _swigt__p_wxFrame,
22493 _swigt__p_wxPyPrintout,
22494 _swigt__p_wxTaskBarIconEvent,
22495 _swigt__p_wxScrollWinEvent,
22496 _swigt__p_wxStatusBar,
22497 _swigt__p_wxMDIParentFrame,
22498 _swigt__p_wxPoint,
22499 _swigt__p_wxObject,
22500 _swigt__p_unsigned_long,
22501 _swigt__p_wxMDIClientWindow,
22502 _swigt__p_wxTipWindow,
22503 _swigt__p_wxPyPopupTransientWindow,
22504 _swigt__p_wxSashLayoutWindow,
22505 _swigt__p_wxSplitterWindow,
22506 _swigt__p_wxSplashScreenWindow,
22507 _swigt__p_wxPyVScrolledWindow,
22508 _swigt__p_wxPopupWindow,
22509 _swigt__p_wxSashWindow,
22510 _swigt__p_wxTopLevelWindow,
22511 _swigt__p_wxWindow,
22512 _swigt__p_wxScrolledWindow,
22513 _swigt__p_wxMenuBar,
22514 _swigt__p_wxPrintPreview,
22515 _swigt__p_wxSashEvent,
22516 _swigt__p_wxString,
22517 _swigt__p_wxPyPrintPreview,
22518 _swigt__p_wxFontDialog,
22519 _swigt__p_wxDirDialog,
22520 _swigt__p_wxColourDialog,
22521 _swigt__p_wxDialog,
22522 _swigt__p_wxPanel,
22523 _swigt__p_wxPageSetupDialog,
22524 _swigt__p_wxPrintDialog,
22525 _swigt__p_wxBitmap,
22526 _swigt__p_wxCommandEvent,
22527 _swigt__p_wxPrintQuality,
22528 _swigt__p_wxPreviewControlBar,
22529 _swigt__p_wxPyPreviewControlBar,
22530 _swigt__p_wxColour,
22531 _swigt__p_wxToolBar,
22532 _swigt__p_wxPageSetupDialogData,
22533 _swigt__p_wxPrintDialogData,
22534 0
22535 };
22536
22537
22538 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22539
22540 static swig_const_info swig_const_table[] = {
22541 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22542 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22543 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22544 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22545 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22546 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22547 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22548 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22549 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22550 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22551 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22552 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22553 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22554 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22555 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22556 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22557 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22558 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22559 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22560 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22561 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22562 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22563 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22564 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22565 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22566 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22567 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22568 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22569 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22570 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22571 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22572 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22573 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22574 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22575 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22576 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22577 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22578 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22579 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22580 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22581 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22582 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22583 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22584 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22585 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22586 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22587 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22588 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22589 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22590 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22591 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22592 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22593 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22594 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22595 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22596 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22597 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22598 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22599 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22600 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22601 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22602 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22603 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22604 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22605 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22606 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22607 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22608 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22609 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22610 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22611 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22612 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22613 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22614 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22615 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22616 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22617 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22618 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22619 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22620 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22621 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22622 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22623 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22624 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22625 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22626 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22627 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22628 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22629 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22630 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22631 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22632 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22633 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22634 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22635 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22636 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22637 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22638 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22639 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22640 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22641 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22642 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22643 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22644 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22645 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22646 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22647 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22648 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22649 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22650 {0}};
22651
22652 #ifdef __cplusplus
22653 }
22654 #endif
22655
22656 #ifdef __cplusplus
22657 extern "C"
22658 #endif
22659 SWIGEXPORT(void) SWIG_init(void) {
22660 static PyObject *SWIG_globals = 0;
22661 static int typeinit = 0;
22662 PyObject *m, *d;
22663 int i;
22664 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22665 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22666 d = PyModule_GetDict(m);
22667
22668 if (!typeinit) {
22669 for (i = 0; swig_types_initial[i]; i++) {
22670 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22671 }
22672 typeinit = 1;
22673 }
22674 SWIG_InstallConstants(d,swig_const_table);
22675
22676 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22677 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
22678 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22679 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22680 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22681 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22682 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22683 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22684 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22685
22686 // Map renamed classes back to their common name for OOR
22687 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22688 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22689 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22690
22691 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22692 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22693 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22694 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22695 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22696 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22697 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22698 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22699 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22700 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22701 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22702 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22703
22704 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22705
22706 }
22707