]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
Fixed gcc compiler warning (size_t was assumed to equal an unsigned int).
[wxWidgets.git] / wxPython / src / gtk / 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_wxSashLayoutWindow swig_types[55]
274 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
275 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
276 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
277 #define SWIGTYPE_p_wxPyPopupTransientWindow 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 return self->m_modalShowing;
362
363
364
365 }
366
367
368
369 static const wxChar* wxSplitterNameStr = wxT("splitter");
370 DECLARE_DEF_STRING(SplitterNameStr);
371
372
373 static const wxChar* wxSashNameStr = wxT("sashWindow");
374 DECLARE_DEF_STRING(SashNameStr);
375 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
376 DECLARE_DEF_STRING(SashLayoutNameStr);
377
378
379 #include <wx/popupwin.h>
380
381
382 class wxPyPopupTransientWindow : public wxPopupTransientWindow
383 {
384 public:
385 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
386 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
387 : wxPopupTransientWindow(parent, style) {}
388
389 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
390 DEC_PYCALLBACK__(OnDismiss);
391 DEC_PYCALLBACK_BOOL_(CanDismiss);
392 PYPRIVATE;
393 };
394
395
396 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
397 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
398 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
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 int arg2 ;
1672 int arg3 ;
1673 int *arg4 = (int *) 0 ;
1674 int *arg5 = (int *) 0 ;
1675 int temp4 ;
1676 int temp5 ;
1677 PyObject * obj0 = 0 ;
1678
1679 arg4 = &temp4;
1680 arg5 = &temp5;
1681 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1683 {
1684 PyThreadState* __tstate = wxPyBeginAllowThreads();
1685 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1686
1687 wxPyEndAllowThreads(__tstate);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 }
1690 Py_INCREF(Py_None); resultobj = Py_None;
1691 {
1692 PyObject *o = PyInt_FromLong((long) (*arg4));
1693 resultobj = t_output_helper(resultobj,o);
1694 }
1695 {
1696 PyObject *o = PyInt_FromLong((long) (*arg5));
1697 resultobj = t_output_helper(resultobj,o);
1698 }
1699 return resultobj;
1700 fail:
1701 return NULL;
1702 }
1703
1704
1705 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1706 PyObject *resultobj;
1707 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1708 wxPoint *arg2 = 0 ;
1709 wxPoint result;
1710 wxPoint temp2 ;
1711 PyObject * obj0 = 0 ;
1712 PyObject * obj1 = 0 ;
1713
1714 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716 {
1717 arg2 = &temp2;
1718 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1719 }
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 {
1728 wxPoint * resultptr;
1729 resultptr = new wxPoint((wxPoint &) result);
1730 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
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_1(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_0(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 int arg2 ;
1802 int arg3 ;
1803 int *arg4 = (int *) 0 ;
1804 int *arg5 = (int *) 0 ;
1805 int temp4 ;
1806 int temp5 ;
1807 PyObject * obj0 = 0 ;
1808
1809 arg4 = &temp4;
1810 arg5 = &temp5;
1811 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 Py_INCREF(Py_None); resultobj = Py_None;
1821 {
1822 PyObject *o = PyInt_FromLong((long) (*arg4));
1823 resultobj = t_output_helper(resultobj,o);
1824 }
1825 {
1826 PyObject *o = PyInt_FromLong((long) (*arg5));
1827 resultobj = t_output_helper(resultobj,o);
1828 }
1829 return resultobj;
1830 fail:
1831 return NULL;
1832 }
1833
1834
1835 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1836 PyObject *resultobj;
1837 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1838 wxPoint *arg2 = 0 ;
1839 wxPoint result;
1840 wxPoint temp2 ;
1841 PyObject * obj0 = 0 ;
1842 PyObject * obj1 = 0 ;
1843
1844 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1846 {
1847 arg2 = &temp2;
1848 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1849 }
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 {
1858 wxPoint * resultptr;
1859 resultptr = new wxPoint((wxPoint &) result);
1860 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
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_1(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_0(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 * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2038 PyObject *obj;
2039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2040 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2041 Py_INCREF(obj);
2042 return Py_BuildValue((char *)"");
2043 }
2044 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject *resultobj;
2046 int arg1 = (int) 0 ;
2047 int arg2 = (int) 0 ;
2048 int arg3 = (int) 0 ;
2049 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
2050 wxAcceleratorEntry *result;
2051 PyObject * obj3 = 0 ;
2052 char *kwnames[] = {
2053 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2054 };
2055
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
2057 if (obj3) {
2058 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2059 }
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 }
2067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
2068 return resultobj;
2069 fail:
2070 return NULL;
2071 }
2072
2073
2074 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2075 PyObject *resultobj;
2076 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2077 PyObject * obj0 = 0 ;
2078 char *kwnames[] = {
2079 (char *) "self", NULL
2080 };
2081
2082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2084 {
2085 PyThreadState* __tstate = wxPyBeginAllowThreads();
2086 delete arg1;
2087
2088 wxPyEndAllowThreads(__tstate);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 }
2091 Py_INCREF(Py_None); resultobj = Py_None;
2092 return resultobj;
2093 fail:
2094 return NULL;
2095 }
2096
2097
2098 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2099 PyObject *resultobj;
2100 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2101 int arg2 ;
2102 int arg3 ;
2103 int arg4 ;
2104 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
2105 PyObject * obj0 = 0 ;
2106 PyObject * obj4 = 0 ;
2107 char *kwnames[] = {
2108 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2109 };
2110
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2113 if (obj4) {
2114 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 (arg1)->Set(arg2,arg3,arg4,arg5);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 Py_INCREF(Py_None); resultobj = Py_None;
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2133 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2134 PyObject * obj0 = 0 ;
2135 PyObject * obj1 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "self",(char *) "item", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2143 {
2144 PyThreadState* __tstate = wxPyBeginAllowThreads();
2145 (arg1)->SetMenuItem(arg2);
2146
2147 wxPyEndAllowThreads(__tstate);
2148 if (PyErr_Occurred()) SWIG_fail;
2149 }
2150 Py_INCREF(Py_None); resultobj = Py_None;
2151 return resultobj;
2152 fail:
2153 return NULL;
2154 }
2155
2156
2157 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2158 PyObject *resultobj;
2159 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2160 wxMenuItem *result;
2161 PyObject * obj0 = 0 ;
2162 char *kwnames[] = {
2163 (char *) "self", NULL
2164 };
2165
2166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2168 {
2169 PyThreadState* __tstate = wxPyBeginAllowThreads();
2170 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
2171
2172 wxPyEndAllowThreads(__tstate);
2173 if (PyErr_Occurred()) SWIG_fail;
2174 }
2175 {
2176 resultobj = wxPyMake_wxObject(result);
2177 }
2178 return resultobj;
2179 fail:
2180 return NULL;
2181 }
2182
2183
2184 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject *resultobj;
2186 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2187 int result;
2188 PyObject * obj0 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (int)(arg1)->GetFlags();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 resultobj = PyInt_FromLong((long)result);
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2212 int result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (int)(arg1)->GetKeyCode();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 resultobj = PyInt_FromLong((long)result);
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2237 int result;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = (int)(arg1)->GetCommand();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 resultobj = PyInt_FromLong((long)result);
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
2260 PyObject *obj;
2261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2262 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
2263 Py_INCREF(obj);
2264 return Py_BuildValue((char *)"");
2265 }
2266 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2267 PyObject *resultobj;
2268 int arg1 ;
2269 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
2270 wxAcceleratorTable *result;
2271 PyObject * obj0 = 0 ;
2272 char *kwnames[] = {
2273 (char *) "n", NULL
2274 };
2275
2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
2277 {
2278 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
2279 if (arg2) arg1 = PyList_Size(obj0);
2280 else arg1 = 0;
2281 }
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
2290 {
2291 delete [] arg2;
2292 }
2293 return resultobj;
2294 fail:
2295 {
2296 delete [] arg2;
2297 }
2298 return NULL;
2299 }
2300
2301
2302 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2305 PyObject * obj0 = 0 ;
2306 char *kwnames[] = {
2307 (char *) "self", NULL
2308 };
2309
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2312 {
2313 PyThreadState* __tstate = wxPyBeginAllowThreads();
2314 delete arg1;
2315
2316 wxPyEndAllowThreads(__tstate);
2317 if (PyErr_Occurred()) SWIG_fail;
2318 }
2319 Py_INCREF(Py_None); resultobj = Py_None;
2320 return resultobj;
2321 fail:
2322 return NULL;
2323 }
2324
2325
2326 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2327 PyObject *resultobj;
2328 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2329 bool result;
2330 PyObject * obj0 = 0 ;
2331 char *kwnames[] = {
2332 (char *) "self", NULL
2333 };
2334
2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2337 {
2338 PyThreadState* __tstate = wxPyBeginAllowThreads();
2339 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
2340
2341 wxPyEndAllowThreads(__tstate);
2342 if (PyErr_Occurred()) SWIG_fail;
2343 }
2344 resultobj = PyInt_FromLong((long)result);
2345 return resultobj;
2346 fail:
2347 return NULL;
2348 }
2349
2350
2351 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
2352 PyObject *obj;
2353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2354 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
2355 Py_INCREF(obj);
2356 return Py_BuildValue((char *)"");
2357 }
2358 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
2359 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
2360 return 1;
2361 }
2362
2363
2364 static PyObject *_wrap_NullAcceleratorTable_get() {
2365 PyObject *pyobj;
2366
2367 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
2368 return pyobj;
2369 }
2370
2371
2372 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
2373 PyObject *resultobj;
2374 wxString *arg1 = 0 ;
2375 wxAcceleratorEntry *result;
2376 bool temp1 = False ;
2377 PyObject * obj0 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "label", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
2383 {
2384 arg1 = wxString_in_helper(obj0);
2385 if (arg1 == NULL) SWIG_fail;
2386 temp1 = True;
2387 }
2388 {
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
2390 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) SWIG_fail;
2394 }
2395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
2396 {
2397 if (temp1)
2398 delete arg1;
2399 }
2400 return resultobj;
2401 fail:
2402 {
2403 if (temp1)
2404 delete arg1;
2405 }
2406 return NULL;
2407 }
2408
2409
2410 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2411 PyObject *resultobj;
2412 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2413 bool arg2 = (bool) True ;
2414 PyObject * obj0 = 0 ;
2415 PyObject * obj1 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "self",(char *) "maximize", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 if (obj1) {
2423 arg2 = PyInt_AsLong(obj1) ? true : false;
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 (arg1)->Maximize(arg2);
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 Py_INCREF(Py_None); resultobj = Py_None;
2434 return resultobj;
2435 fail:
2436 return NULL;
2437 }
2438
2439
2440 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject *resultobj;
2442 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2443 PyObject * obj0 = 0 ;
2444 char *kwnames[] = {
2445 (char *) "self", NULL
2446 };
2447
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2450 {
2451 PyThreadState* __tstate = wxPyBeginAllowThreads();
2452 (arg1)->Restore();
2453
2454 wxPyEndAllowThreads(__tstate);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 }
2457 Py_INCREF(Py_None); resultobj = Py_None;
2458 return resultobj;
2459 fail:
2460 return NULL;
2461 }
2462
2463
2464 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject *resultobj;
2466 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2467 bool arg2 = (bool) True ;
2468 PyObject * obj0 = 0 ;
2469 PyObject * obj1 = 0 ;
2470 char *kwnames[] = {
2471 (char *) "self",(char *) "iconize", NULL
2472 };
2473
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2476 if (obj1) {
2477 arg2 = PyInt_AsLong(obj1) ? true : false;
2478 if (PyErr_Occurred()) SWIG_fail;
2479 }
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 (arg1)->Iconize(arg2);
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 Py_INCREF(Py_None); resultobj = Py_None;
2488 return resultobj;
2489 fail:
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2497 bool result;
2498 PyObject * obj0 = 0 ;
2499 char *kwnames[] = {
2500 (char *) "self", NULL
2501 };
2502
2503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2505 {
2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
2507 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2508
2509 wxPyEndAllowThreads(__tstate);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 resultobj = PyInt_FromLong((long)result);
2513 return resultobj;
2514 fail:
2515 return NULL;
2516 }
2517
2518
2519 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2520 PyObject *resultobj;
2521 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2522 bool result;
2523 PyObject * obj0 = 0 ;
2524 char *kwnames[] = {
2525 (char *) "self", NULL
2526 };
2527
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2530 {
2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
2532 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2533
2534 wxPyEndAllowThreads(__tstate);
2535 if (PyErr_Occurred()) SWIG_fail;
2536 }
2537 resultobj = PyInt_FromLong((long)result);
2538 return resultobj;
2539 fail:
2540 return NULL;
2541 }
2542
2543
2544 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2545 PyObject *resultobj;
2546 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2547 wxIcon result;
2548 PyObject * obj0 = 0 ;
2549 char *kwnames[] = {
2550 (char *) "self", NULL
2551 };
2552
2553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2555 {
2556 PyThreadState* __tstate = wxPyBeginAllowThreads();
2557 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2558
2559 wxPyEndAllowThreads(__tstate);
2560 if (PyErr_Occurred()) SWIG_fail;
2561 }
2562 {
2563 wxIcon * resultptr;
2564 resultptr = new wxIcon((wxIcon &) result);
2565 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2566 }
2567 return resultobj;
2568 fail:
2569 return NULL;
2570 }
2571
2572
2573 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2574 PyObject *resultobj;
2575 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2576 wxIcon *arg2 = 0 ;
2577 PyObject * obj0 = 0 ;
2578 PyObject * obj1 = 0 ;
2579 char *kwnames[] = {
2580 (char *) "self",(char *) "icon", NULL
2581 };
2582
2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2586 if (arg2 == NULL) {
2587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2588 }
2589 {
2590 PyThreadState* __tstate = wxPyBeginAllowThreads();
2591 (arg1)->SetIcon((wxIcon const &)*arg2);
2592
2593 wxPyEndAllowThreads(__tstate);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 Py_INCREF(Py_None); resultobj = Py_None;
2597 return resultobj;
2598 fail:
2599 return NULL;
2600 }
2601
2602
2603 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject *resultobj;
2605 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2606 wxIconBundle *arg2 = 0 ;
2607 PyObject * obj0 = 0 ;
2608 PyObject * obj1 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self",(char *) "icons", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2616 if (arg2 == NULL) {
2617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2618 }
2619 {
2620 PyThreadState* __tstate = wxPyBeginAllowThreads();
2621 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2622
2623 wxPyEndAllowThreads(__tstate);
2624 if (PyErr_Occurred()) SWIG_fail;
2625 }
2626 Py_INCREF(Py_None); resultobj = Py_None;
2627 return resultobj;
2628 fail:
2629 return NULL;
2630 }
2631
2632
2633 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj;
2635 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2636 bool arg2 ;
2637 long arg3 = (long) wxFULLSCREEN_ALL ;
2638 bool result;
2639 PyObject * obj0 = 0 ;
2640 PyObject * obj1 = 0 ;
2641 char *kwnames[] = {
2642 (char *) "self",(char *) "show",(char *) "style", NULL
2643 };
2644
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2647 arg2 = PyInt_AsLong(obj1) ? true : false;
2648 if (PyErr_Occurred()) SWIG_fail;
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 resultobj = PyInt_FromLong((long)result);
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2666 bool result;
2667 PyObject * obj0 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "self", NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 resultobj = PyInt_FromLong((long)result);
2682 return resultobj;
2683 fail:
2684 return NULL;
2685 }
2686
2687
2688 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject *resultobj;
2690 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2691 wxString *arg2 = 0 ;
2692 bool temp2 = False ;
2693 PyObject * obj0 = 0 ;
2694 PyObject * obj1 = 0 ;
2695 char *kwnames[] = {
2696 (char *) "self",(char *) "title", NULL
2697 };
2698
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2701 {
2702 arg2 = wxString_in_helper(obj1);
2703 if (arg2 == NULL) SWIG_fail;
2704 temp2 = True;
2705 }
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 (arg1)->SetTitle((wxString const &)*arg2);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 Py_INCREF(Py_None); resultobj = Py_None;
2714 {
2715 if (temp2)
2716 delete arg2;
2717 }
2718 return resultobj;
2719 fail:
2720 {
2721 if (temp2)
2722 delete arg2;
2723 }
2724 return NULL;
2725 }
2726
2727
2728 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2731 wxString result;
2732 PyObject * obj0 = 0 ;
2733 char *kwnames[] = {
2734 (char *) "self", NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2739 {
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2742
2743 wxPyEndAllowThreads(__tstate);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 {
2747 #if wxUSE_UNICODE
2748 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2749 #else
2750 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2751 #endif
2752 }
2753 return resultobj;
2754 fail:
2755 return NULL;
2756 }
2757
2758
2759 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj;
2761 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2762 wxRegion *arg2 = 0 ;
2763 bool result;
2764 PyObject * obj0 = 0 ;
2765 PyObject * obj1 = 0 ;
2766 char *kwnames[] = {
2767 (char *) "self",(char *) "region", NULL
2768 };
2769
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2773 if (arg2 == NULL) {
2774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2775 }
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 resultobj = PyInt_FromLong((long)result);
2784 return resultobj;
2785 fail:
2786 return NULL;
2787 }
2788
2789
2790 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2791 PyObject *obj;
2792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2793 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2794 Py_INCREF(obj);
2795 return Py_BuildValue((char *)"");
2796 }
2797 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2798 PyObject *resultobj;
2799 wxWindow *arg1 = (wxWindow *) 0 ;
2800 int arg2 ;
2801 wxString *arg3 = 0 ;
2802 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2803 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2804 wxSize const &arg5_defvalue = wxDefaultSize ;
2805 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2806 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2807 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2808 wxString *arg7 = (wxString *) &arg7_defvalue ;
2809 wxFrame *result;
2810 bool temp3 = False ;
2811 wxPoint temp4 ;
2812 wxSize temp5 ;
2813 bool temp7 = False ;
2814 PyObject * obj0 = 0 ;
2815 PyObject * obj2 = 0 ;
2816 PyObject * obj3 = 0 ;
2817 PyObject * obj4 = 0 ;
2818 PyObject * obj6 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 {
2826 arg3 = wxString_in_helper(obj2);
2827 if (arg3 == NULL) SWIG_fail;
2828 temp3 = True;
2829 }
2830 if (obj3) {
2831 {
2832 arg4 = &temp4;
2833 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2834 }
2835 }
2836 if (obj4) {
2837 {
2838 arg5 = &temp5;
2839 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2840 }
2841 }
2842 if (obj6) {
2843 {
2844 arg7 = wxString_in_helper(obj6);
2845 if (arg7 == NULL) SWIG_fail;
2846 temp7 = True;
2847 }
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 {
2857 resultobj = wxPyMake_wxObject(result);
2858 }
2859 {
2860 if (temp3)
2861 delete arg3;
2862 }
2863 {
2864 if (temp7)
2865 delete arg7;
2866 }
2867 return resultobj;
2868 fail:
2869 {
2870 if (temp3)
2871 delete arg3;
2872 }
2873 {
2874 if (temp7)
2875 delete arg7;
2876 }
2877 return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject *resultobj;
2883 wxFrame *result;
2884 char *kwnames[] = {
2885 NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2889 {
2890 PyThreadState* __tstate = wxPyBeginAllowThreads();
2891 result = (wxFrame *)new wxFrame();
2892
2893 wxPyEndAllowThreads(__tstate);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 }
2896 {
2897 resultobj = wxPyMake_wxObject(result);
2898 }
2899 return resultobj;
2900 fail:
2901 return NULL;
2902 }
2903
2904
2905 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2906 PyObject *resultobj;
2907 wxFrame *arg1 = (wxFrame *) 0 ;
2908 wxWindow *arg2 = (wxWindow *) 0 ;
2909 int arg3 ;
2910 wxString *arg4 = 0 ;
2911 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2912 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2913 wxSize const &arg6_defvalue = wxDefaultSize ;
2914 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2915 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2916 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2917 wxString *arg8 = (wxString *) &arg8_defvalue ;
2918 bool result;
2919 bool temp4 = False ;
2920 wxPoint temp5 ;
2921 wxSize temp6 ;
2922 bool temp8 = False ;
2923 PyObject * obj0 = 0 ;
2924 PyObject * obj1 = 0 ;
2925 PyObject * obj3 = 0 ;
2926 PyObject * obj4 = 0 ;
2927 PyObject * obj5 = 0 ;
2928 PyObject * obj7 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2936 {
2937 arg4 = wxString_in_helper(obj3);
2938 if (arg4 == NULL) SWIG_fail;
2939 temp4 = True;
2940 }
2941 if (obj4) {
2942 {
2943 arg5 = &temp5;
2944 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2945 }
2946 }
2947 if (obj5) {
2948 {
2949 arg6 = &temp6;
2950 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2951 }
2952 }
2953 if (obj7) {
2954 {
2955 arg8 = wxString_in_helper(obj7);
2956 if (arg8 == NULL) SWIG_fail;
2957 temp8 = True;
2958 }
2959 }
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 resultobj = PyInt_FromLong((long)result);
2968 {
2969 if (temp4)
2970 delete arg4;
2971 }
2972 {
2973 if (temp8)
2974 delete arg8;
2975 }
2976 return resultobj;
2977 fail:
2978 {
2979 if (temp4)
2980 delete arg4;
2981 }
2982 {
2983 if (temp8)
2984 delete arg8;
2985 }
2986 return NULL;
2987 }
2988
2989
2990 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2991 PyObject *resultobj;
2992 wxFrame *arg1 = (wxFrame *) 0 ;
2993 wxPoint result;
2994 PyObject * obj0 = 0 ;
2995 char *kwnames[] = {
2996 (char *) "self", NULL
2997 };
2998
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3001 {
3002 PyThreadState* __tstate = wxPyBeginAllowThreads();
3003 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3004
3005 wxPyEndAllowThreads(__tstate);
3006 if (PyErr_Occurred()) SWIG_fail;
3007 }
3008 {
3009 wxPoint * resultptr;
3010 resultptr = new wxPoint((wxPoint &) result);
3011 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3012 }
3013 return resultobj;
3014 fail:
3015 return NULL;
3016 }
3017
3018
3019 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3020 PyObject *resultobj;
3021 wxFrame *arg1 = (wxFrame *) 0 ;
3022 PyObject * obj0 = 0 ;
3023 char *kwnames[] = {
3024 (char *) "self", NULL
3025 };
3026
3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 (arg1)->SendSizeEvent();
3032
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) SWIG_fail;
3035 }
3036 Py_INCREF(Py_None); resultobj = Py_None;
3037 return resultobj;
3038 fail:
3039 return NULL;
3040 }
3041
3042
3043 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3044 PyObject *resultobj;
3045 wxFrame *arg1 = (wxFrame *) 0 ;
3046 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3047 PyObject * obj0 = 0 ;
3048 PyObject * obj1 = 0 ;
3049 char *kwnames[] = {
3050 (char *) "self",(char *) "menubar", NULL
3051 };
3052
3053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 (arg1)->SetMenuBar(arg2);
3059
3060 wxPyEndAllowThreads(__tstate);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 Py_INCREF(Py_None); resultobj = Py_None;
3064 return resultobj;
3065 fail:
3066 return NULL;
3067 }
3068
3069
3070 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3071 PyObject *resultobj;
3072 wxFrame *arg1 = (wxFrame *) 0 ;
3073 wxMenuBar *result;
3074 PyObject * obj0 = 0 ;
3075 char *kwnames[] = {
3076 (char *) "self", NULL
3077 };
3078
3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) SWIG_fail;
3087 }
3088 {
3089 resultobj = wxPyMake_wxObject(result);
3090 }
3091 return resultobj;
3092 fail:
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxFrame *arg1 = (wxFrame *) 0 ;
3100 int arg2 ;
3101 bool result;
3102 PyObject * obj0 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self",(char *) "winid", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 result = (bool)(arg1)->ProcessCommand(arg2);
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 resultobj = PyInt_FromLong((long)result);
3117 return resultobj;
3118 fail:
3119 return NULL;
3120 }
3121
3122
3123 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3124 PyObject *resultobj;
3125 wxFrame *arg1 = (wxFrame *) 0 ;
3126 int arg2 = (int) 1 ;
3127 long arg3 = (long) wxST_SIZEGRIP ;
3128 int arg4 = (int) 0 ;
3129 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3130 wxString *arg5 = (wxString *) &arg5_defvalue ;
3131 wxStatusBar *result;
3132 bool temp5 = False ;
3133 PyObject * obj0 = 0 ;
3134 PyObject * obj4 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 if (obj4) {
3142 {
3143 arg5 = wxString_in_helper(obj4);
3144 if (arg5 == NULL) SWIG_fail;
3145 temp5 = True;
3146 }
3147 }
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 {
3156 resultobj = wxPyMake_wxObject(result);
3157 }
3158 {
3159 if (temp5)
3160 delete arg5;
3161 }
3162 return resultobj;
3163 fail:
3164 {
3165 if (temp5)
3166 delete arg5;
3167 }
3168 return NULL;
3169 }
3170
3171
3172 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3173 PyObject *resultobj;
3174 wxFrame *arg1 = (wxFrame *) 0 ;
3175 wxStatusBar *result;
3176 PyObject * obj0 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 {
3191 resultobj = wxPyMake_wxObject(result);
3192 }
3193 return resultobj;
3194 fail:
3195 return NULL;
3196 }
3197
3198
3199 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxFrame *arg1 = (wxFrame *) 0 ;
3202 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3203 PyObject * obj0 = 0 ;
3204 PyObject * obj1 = 0 ;
3205 char *kwnames[] = {
3206 (char *) "self",(char *) "statBar", NULL
3207 };
3208
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 (arg1)->SetStatusBar(arg2);
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 Py_INCREF(Py_None); resultobj = Py_None;
3220 return resultobj;
3221 fail:
3222 return NULL;
3223 }
3224
3225
3226 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3227 PyObject *resultobj;
3228 wxFrame *arg1 = (wxFrame *) 0 ;
3229 wxString *arg2 = 0 ;
3230 int arg3 = (int) 0 ;
3231 bool temp2 = False ;
3232 PyObject * obj0 = 0 ;
3233 PyObject * obj1 = 0 ;
3234 char *kwnames[] = {
3235 (char *) "self",(char *) "text",(char *) "number", NULL
3236 };
3237
3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3240 {
3241 arg2 = wxString_in_helper(obj1);
3242 if (arg2 == NULL) SWIG_fail;
3243 temp2 = True;
3244 }
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 Py_INCREF(Py_None); resultobj = Py_None;
3253 {
3254 if (temp2)
3255 delete arg2;
3256 }
3257 return resultobj;
3258 fail:
3259 {
3260 if (temp2)
3261 delete arg2;
3262 }
3263 return NULL;
3264 }
3265
3266
3267 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3268 PyObject *resultobj;
3269 wxFrame *arg1 = (wxFrame *) 0 ;
3270 int arg2 ;
3271 int *arg3 = (int *) 0 ;
3272 PyObject * obj0 = 0 ;
3273 PyObject * obj1 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "widths", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3280 {
3281 arg2 = PyList_Size(obj1);
3282 arg3 = int_LIST_helper(obj1);
3283 if (arg3 == NULL) SWIG_fail;
3284 }
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3288
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 Py_INCREF(Py_None); resultobj = Py_None;
3293 {
3294 if (arg3) delete [] arg3;
3295 }
3296 return resultobj;
3297 fail:
3298 {
3299 if (arg3) delete [] arg3;
3300 }
3301 return NULL;
3302 }
3303
3304
3305 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxFrame *arg1 = (wxFrame *) 0 ;
3308 wxString *arg2 = 0 ;
3309 int arg3 = (int) 0 ;
3310 bool temp2 = False ;
3311 PyObject * obj0 = 0 ;
3312 PyObject * obj1 = 0 ;
3313 char *kwnames[] = {
3314 (char *) "self",(char *) "text",(char *) "number", NULL
3315 };
3316
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3319 {
3320 arg2 = wxString_in_helper(obj1);
3321 if (arg2 == NULL) SWIG_fail;
3322 temp2 = True;
3323 }
3324 {
3325 PyThreadState* __tstate = wxPyBeginAllowThreads();
3326 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3327
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 Py_INCREF(Py_None); resultobj = Py_None;
3332 {
3333 if (temp2)
3334 delete arg2;
3335 }
3336 return resultobj;
3337 fail:
3338 {
3339 if (temp2)
3340 delete arg2;
3341 }
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj;
3348 wxFrame *arg1 = (wxFrame *) 0 ;
3349 int arg2 = (int) 0 ;
3350 PyObject * obj0 = 0 ;
3351 char *kwnames[] = {
3352 (char *) "self",(char *) "number", NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 (arg1)->PopStatusText(arg2);
3360
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 }
3364 Py_INCREF(Py_None); resultobj = Py_None;
3365 return resultobj;
3366 fail:
3367 return NULL;
3368 }
3369
3370
3371 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj;
3373 wxFrame *arg1 = (wxFrame *) 0 ;
3374 int arg2 ;
3375 PyObject * obj0 = 0 ;
3376 char *kwnames[] = {
3377 (char *) "self",(char *) "n", NULL
3378 };
3379
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 (arg1)->SetStatusBarPane(arg2);
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 Py_INCREF(Py_None); resultobj = Py_None;
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxFrame *arg1 = (wxFrame *) 0 ;
3399 int result;
3400 PyObject * obj0 = 0 ;
3401 char *kwnames[] = {
3402 (char *) "self", NULL
3403 };
3404
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 }
3414 resultobj = PyInt_FromLong((long)result);
3415 return resultobj;
3416 fail:
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxFrame *arg1 = (wxFrame *) 0 ;
3424 long arg2 = (long) -1 ;
3425 int arg3 = (int) -1 ;
3426 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3427 wxString *arg4 = (wxString *) &arg4_defvalue ;
3428 wxToolBar *result;
3429 bool temp4 = False ;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj3 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3438 if (obj3) {
3439 {
3440 arg4 = wxString_in_helper(obj3);
3441 if (arg4 == NULL) SWIG_fail;
3442 temp4 = True;
3443 }
3444 }
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 {
3453 resultobj = wxPyMake_wxObject(result);
3454 }
3455 {
3456 if (temp4)
3457 delete arg4;
3458 }
3459 return resultobj;
3460 fail:
3461 {
3462 if (temp4)
3463 delete arg4;
3464 }
3465 return NULL;
3466 }
3467
3468
3469 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3470 PyObject *resultobj;
3471 wxFrame *arg1 = (wxFrame *) 0 ;
3472 wxToolBar *result;
3473 PyObject * obj0 = 0 ;
3474 char *kwnames[] = {
3475 (char *) "self", NULL
3476 };
3477
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3480 {
3481 PyThreadState* __tstate = wxPyBeginAllowThreads();
3482 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3483
3484 wxPyEndAllowThreads(__tstate);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
3487 {
3488 resultobj = wxPyMake_wxObject(result);
3489 }
3490 return resultobj;
3491 fail:
3492 return NULL;
3493 }
3494
3495
3496 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject *resultobj;
3498 wxFrame *arg1 = (wxFrame *) 0 ;
3499 wxToolBar *arg2 = (wxToolBar *) 0 ;
3500 PyObject * obj0 = 0 ;
3501 PyObject * obj1 = 0 ;
3502 char *kwnames[] = {
3503 (char *) "self",(char *) "toolbar", NULL
3504 };
3505
3506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 (arg1)->SetToolBar(arg2);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 Py_INCREF(Py_None); resultobj = Py_None;
3517 return resultobj;
3518 fail:
3519 return NULL;
3520 }
3521
3522
3523 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3524 PyObject *resultobj;
3525 wxFrame *arg1 = (wxFrame *) 0 ;
3526 wxString *arg2 = 0 ;
3527 bool arg3 ;
3528 bool temp2 = False ;
3529 PyObject * obj0 = 0 ;
3530 PyObject * obj1 = 0 ;
3531 PyObject * obj2 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self",(char *) "text",(char *) "show", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538 {
3539 arg2 = wxString_in_helper(obj1);
3540 if (arg2 == NULL) SWIG_fail;
3541 temp2 = True;
3542 }
3543 arg3 = PyInt_AsLong(obj2) ? true : false;
3544 if (PyErr_Occurred()) SWIG_fail;
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
3552 Py_INCREF(Py_None); resultobj = Py_None;
3553 {
3554 if (temp2)
3555 delete arg2;
3556 }
3557 return resultobj;
3558 fail:
3559 {
3560 if (temp2)
3561 delete arg2;
3562 }
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxFrame *arg1 = (wxFrame *) 0 ;
3570 wxMenu *arg2 = (wxMenu *) NULL ;
3571 PyObject * obj0 = 0 ;
3572 PyObject * obj1 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self",(char *) "menu", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3579 if (obj1) {
3580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3581 }
3582 {
3583 PyThreadState* __tstate = wxPyBeginAllowThreads();
3584 (arg1)->DoMenuUpdates(arg2);
3585
3586 wxPyEndAllowThreads(__tstate);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 Py_INCREF(Py_None); resultobj = Py_None;
3590 return resultobj;
3591 fail:
3592 return NULL;
3593 }
3594
3595
3596 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3597 PyObject *obj;
3598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3599 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3600 Py_INCREF(obj);
3601 return Py_BuildValue((char *)"");
3602 }
3603 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3604 PyObject *resultobj;
3605 wxWindow *arg1 = (wxWindow *) 0 ;
3606 int arg2 ;
3607 wxString *arg3 = 0 ;
3608 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3609 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3610 wxSize const &arg5_defvalue = wxDefaultSize ;
3611 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3612 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3613 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3614 wxString *arg7 = (wxString *) &arg7_defvalue ;
3615 wxDialog *result;
3616 bool temp3 = False ;
3617 wxPoint temp4 ;
3618 wxSize temp5 ;
3619 bool temp7 = False ;
3620 PyObject * obj0 = 0 ;
3621 PyObject * obj2 = 0 ;
3622 PyObject * obj3 = 0 ;
3623 PyObject * obj4 = 0 ;
3624 PyObject * obj6 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3631 {
3632 arg3 = wxString_in_helper(obj2);
3633 if (arg3 == NULL) SWIG_fail;
3634 temp3 = True;
3635 }
3636 if (obj3) {
3637 {
3638 arg4 = &temp4;
3639 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3640 }
3641 }
3642 if (obj4) {
3643 {
3644 arg5 = &temp5;
3645 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3646 }
3647 }
3648 if (obj6) {
3649 {
3650 arg7 = wxString_in_helper(obj6);
3651 if (arg7 == NULL) SWIG_fail;
3652 temp7 = True;
3653 }
3654 }
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
3662 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3663 {
3664 if (temp3)
3665 delete arg3;
3666 }
3667 {
3668 if (temp7)
3669 delete arg7;
3670 }
3671 return resultobj;
3672 fail:
3673 {
3674 if (temp3)
3675 delete arg3;
3676 }
3677 {
3678 if (temp7)
3679 delete arg7;
3680 }
3681 return NULL;
3682 }
3683
3684
3685 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3686 PyObject *resultobj;
3687 wxDialog *result;
3688 char *kwnames[] = {
3689 NULL
3690 };
3691
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 result = (wxDialog *)new wxDialog();
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3701 return resultobj;
3702 fail:
3703 return NULL;
3704 }
3705
3706
3707 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj;
3709 wxDialog *arg1 = (wxDialog *) 0 ;
3710 wxWindow *arg2 = (wxWindow *) 0 ;
3711 int arg3 ;
3712 wxString *arg4 = 0 ;
3713 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3714 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3715 wxSize const &arg6_defvalue = wxDefaultSize ;
3716 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3717 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3718 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3719 wxString *arg8 = (wxString *) &arg8_defvalue ;
3720 bool result;
3721 bool temp4 = False ;
3722 wxPoint temp5 ;
3723 wxSize temp6 ;
3724 bool temp8 = False ;
3725 PyObject * obj0 = 0 ;
3726 PyObject * obj1 = 0 ;
3727 PyObject * obj3 = 0 ;
3728 PyObject * obj4 = 0 ;
3729 PyObject * obj5 = 0 ;
3730 PyObject * obj7 = 0 ;
3731 char *kwnames[] = {
3732 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3738 {
3739 arg4 = wxString_in_helper(obj3);
3740 if (arg4 == NULL) SWIG_fail;
3741 temp4 = True;
3742 }
3743 if (obj4) {
3744 {
3745 arg5 = &temp5;
3746 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3747 }
3748 }
3749 if (obj5) {
3750 {
3751 arg6 = &temp6;
3752 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3753 }
3754 }
3755 if (obj7) {
3756 {
3757 arg8 = wxString_in_helper(obj7);
3758 if (arg8 == NULL) SWIG_fail;
3759 temp8 = True;
3760 }
3761 }
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 resultobj = PyInt_FromLong((long)result);
3770 {
3771 if (temp4)
3772 delete arg4;
3773 }
3774 {
3775 if (temp8)
3776 delete arg8;
3777 }
3778 return resultobj;
3779 fail:
3780 {
3781 if (temp4)
3782 delete arg4;
3783 }
3784 {
3785 if (temp8)
3786 delete arg8;
3787 }
3788 return NULL;
3789 }
3790
3791
3792 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxDialog *arg1 = (wxDialog *) 0 ;
3795 int arg2 ;
3796 PyObject * obj0 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self",(char *) "returnCode", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 (arg1)->SetReturnCode(arg2);
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 Py_INCREF(Py_None); resultobj = Py_None;
3811 return resultobj;
3812 fail:
3813 return NULL;
3814 }
3815
3816
3817 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3818 PyObject *resultobj;
3819 wxDialog *arg1 = (wxDialog *) 0 ;
3820 int result;
3821 PyObject * obj0 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 resultobj = PyInt_FromLong((long)result);
3836 return resultobj;
3837 fail:
3838 return NULL;
3839 }
3840
3841
3842 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3843 PyObject *resultobj;
3844 wxDialog *arg1 = (wxDialog *) 0 ;
3845 wxString *arg2 = 0 ;
3846 wxSizer *result;
3847 bool temp2 = False ;
3848 PyObject * obj0 = 0 ;
3849 PyObject * obj1 = 0 ;
3850 char *kwnames[] = {
3851 (char *) "self",(char *) "message", NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3856 {
3857 arg2 = wxString_in_helper(obj1);
3858 if (arg2 == NULL) SWIG_fail;
3859 temp2 = True;
3860 }
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 {
3869 resultobj = wxPyMake_wxSizer(result);
3870 }
3871 {
3872 if (temp2)
3873 delete arg2;
3874 }
3875 return resultobj;
3876 fail:
3877 {
3878 if (temp2)
3879 delete arg2;
3880 }
3881 return NULL;
3882 }
3883
3884
3885 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxDialog *arg1 = (wxDialog *) 0 ;
3888 long arg2 ;
3889 wxSizer *result;
3890 PyObject * obj0 = 0 ;
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "flags", NULL
3893 };
3894
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 {
3905 resultobj = wxPyMake_wxSizer(result);
3906 }
3907 return resultobj;
3908 fail:
3909 return NULL;
3910 }
3911
3912
3913 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj;
3915 wxDialog *arg1 = (wxDialog *) 0 ;
3916 bool arg2 ;
3917 PyObject * obj0 = 0 ;
3918 PyObject * obj1 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self",(char *) "flag", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3925 arg2 = PyInt_AsLong(obj1) ? true : false;
3926 if (PyErr_Occurred()) SWIG_fail;
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 (arg1)->SetModal(arg2);
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 Py_INCREF(Py_None); resultobj = Py_None;
3935 return resultobj;
3936 fail:
3937 return NULL;
3938 }
3939
3940
3941 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 wxDialog *arg1 = (wxDialog *) 0 ;
3944 bool result;
3945 PyObject * obj0 = 0 ;
3946 char *kwnames[] = {
3947 (char *) "self", NULL
3948 };
3949
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 result = (bool)((wxDialog const *)arg1)->IsModal();
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 resultobj = PyInt_FromLong((long)result);
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 wxDialog *arg1 = (wxDialog *) 0 ;
3969 int result;
3970 PyObject * obj0 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "self", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (int)(arg1)->ShowModal();
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = PyInt_FromLong((long)result);
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxDialog *arg1 = (wxDialog *) 0 ;
3994 int arg2 ;
3995 PyObject * obj0 = 0 ;
3996 char *kwnames[] = {
3997 (char *) "self",(char *) "retCode", NULL
3998 };
3999
4000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
4001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 (arg1)->EndModal(arg2);
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 }
4009 Py_INCREF(Py_None); resultobj = Py_None;
4010 return resultobj;
4011 fail:
4012 return NULL;
4013 }
4014
4015
4016 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject *resultobj;
4018 wxDialog *arg1 = (wxDialog *) 0 ;
4019 bool result;
4020 PyObject * obj0 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = (bool)wxDialog_IsModalShowing(arg1);
4030
4031 wxPyEndAllowThreads(__tstate);
4032 if (PyErr_Occurred()) SWIG_fail;
4033 }
4034 resultobj = PyInt_FromLong((long)result);
4035 return resultobj;
4036 fail:
4037 return NULL;
4038 }
4039
4040
4041 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4042 PyObject *obj;
4043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4044 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4045 Py_INCREF(obj);
4046 return Py_BuildValue((char *)"");
4047 }
4048 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4049 PyObject *resultobj;
4050 wxWindow *arg1 = (wxWindow *) 0 ;
4051 int arg2 ;
4052 wxString *arg3 = 0 ;
4053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4055 wxSize const &arg5_defvalue = wxDefaultSize ;
4056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4057 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4058 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4059 wxString *arg7 = (wxString *) &arg7_defvalue ;
4060 wxMiniFrame *result;
4061 bool temp3 = False ;
4062 wxPoint temp4 ;
4063 wxSize temp5 ;
4064 bool temp7 = False ;
4065 PyObject * obj0 = 0 ;
4066 PyObject * obj2 = 0 ;
4067 PyObject * obj3 = 0 ;
4068 PyObject * obj4 = 0 ;
4069 PyObject * obj6 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4076 {
4077 arg3 = wxString_in_helper(obj2);
4078 if (arg3 == NULL) SWIG_fail;
4079 temp3 = True;
4080 }
4081 if (obj3) {
4082 {
4083 arg4 = &temp4;
4084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4085 }
4086 }
4087 if (obj4) {
4088 {
4089 arg5 = &temp5;
4090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4091 }
4092 }
4093 if (obj6) {
4094 {
4095 arg7 = wxString_in_helper(obj6);
4096 if (arg7 == NULL) SWIG_fail;
4097 temp7 = True;
4098 }
4099 }
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4103
4104 wxPyEndAllowThreads(__tstate);
4105 if (PyErr_Occurred()) SWIG_fail;
4106 }
4107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4108 {
4109 if (temp3)
4110 delete arg3;
4111 }
4112 {
4113 if (temp7)
4114 delete arg7;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp3)
4120 delete arg3;
4121 }
4122 {
4123 if (temp7)
4124 delete arg7;
4125 }
4126 return NULL;
4127 }
4128
4129
4130 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxMiniFrame *result;
4133 char *kwnames[] = {
4134 NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (wxMiniFrame *)new wxMiniFrame();
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4146 return resultobj;
4147 fail:
4148 return NULL;
4149 }
4150
4151
4152 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4153 PyObject *resultobj;
4154 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4155 wxWindow *arg2 = (wxWindow *) 0 ;
4156 int arg3 ;
4157 wxString *arg4 = 0 ;
4158 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4159 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4160 wxSize const &arg6_defvalue = wxDefaultSize ;
4161 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4162 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4163 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4164 wxString *arg8 = (wxString *) &arg8_defvalue ;
4165 bool result;
4166 bool temp4 = False ;
4167 wxPoint temp5 ;
4168 wxSize temp6 ;
4169 bool temp8 = False ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj3 = 0 ;
4173 PyObject * obj4 = 0 ;
4174 PyObject * obj5 = 0 ;
4175 PyObject * obj7 = 0 ;
4176 char *kwnames[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 };
4179
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4183 {
4184 arg4 = wxString_in_helper(obj3);
4185 if (arg4 == NULL) SWIG_fail;
4186 temp4 = True;
4187 }
4188 if (obj4) {
4189 {
4190 arg5 = &temp5;
4191 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4192 }
4193 }
4194 if (obj5) {
4195 {
4196 arg6 = &temp6;
4197 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4198 }
4199 }
4200 if (obj7) {
4201 {
4202 arg8 = wxString_in_helper(obj7);
4203 if (arg8 == NULL) SWIG_fail;
4204 temp8 = True;
4205 }
4206 }
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 resultobj = PyInt_FromLong((long)result);
4215 {
4216 if (temp4)
4217 delete arg4;
4218 }
4219 {
4220 if (temp8)
4221 delete arg8;
4222 }
4223 return resultobj;
4224 fail:
4225 {
4226 if (temp4)
4227 delete arg4;
4228 }
4229 {
4230 if (temp8)
4231 delete arg8;
4232 }
4233 return NULL;
4234 }
4235
4236
4237 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4238 PyObject *obj;
4239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4240 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4241 Py_INCREF(obj);
4242 return Py_BuildValue((char *)"");
4243 }
4244 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4245 PyObject *resultobj;
4246 wxBitmap *arg1 = 0 ;
4247 wxWindow *arg2 = (wxWindow *) 0 ;
4248 int arg3 ;
4249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4251 wxSize const &arg5_defvalue = wxDefaultSize ;
4252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4253 long arg6 = (long) wxNO_BORDER ;
4254 wxSplashScreenWindow *result;
4255 wxPoint temp4 ;
4256 wxSize temp5 ;
4257 PyObject * obj0 = 0 ;
4258 PyObject * obj1 = 0 ;
4259 PyObject * obj3 = 0 ;
4260 PyObject * obj4 = 0 ;
4261 char *kwnames[] = {
4262 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4263 };
4264
4265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4267 if (arg1 == NULL) {
4268 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4269 }
4270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4271 if (obj3) {
4272 {
4273 arg4 = &temp4;
4274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4275 }
4276 }
4277 if (obj4) {
4278 {
4279 arg5 = &temp5;
4280 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4281 }
4282 }
4283 {
4284 PyThreadState* __tstate = wxPyBeginAllowThreads();
4285 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4286
4287 wxPyEndAllowThreads(__tstate);
4288 if (PyErr_Occurred()) SWIG_fail;
4289 }
4290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4300 wxBitmap *arg2 = 0 ;
4301 PyObject * obj0 = 0 ;
4302 PyObject * obj1 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self",(char *) "bitmap", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4310 if (arg2 == NULL) {
4311 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4312 }
4313 {
4314 PyThreadState* __tstate = wxPyBeginAllowThreads();
4315 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4316
4317 wxPyEndAllowThreads(__tstate);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 Py_INCREF(Py_None); resultobj = Py_None;
4321 return resultobj;
4322 fail:
4323 return NULL;
4324 }
4325
4326
4327 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4328 PyObject *resultobj;
4329 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4330 wxBitmap *result;
4331 PyObject * obj0 = 0 ;
4332 char *kwnames[] = {
4333 (char *) "self", NULL
4334 };
4335
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 {
4341 wxBitmap &_result_ref = (arg1)->GetBitmap();
4342 result = (wxBitmap *) &_result_ref;
4343 }
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4349 return resultobj;
4350 fail:
4351 return NULL;
4352 }
4353
4354
4355 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4356 PyObject *obj;
4357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4358 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4359 Py_INCREF(obj);
4360 return Py_BuildValue((char *)"");
4361 }
4362 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxBitmap *arg1 = 0 ;
4365 long arg2 ;
4366 int arg3 ;
4367 wxWindow *arg4 = (wxWindow *) 0 ;
4368 int arg5 ;
4369 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4370 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4371 wxSize const &arg7_defvalue = wxDefaultSize ;
4372 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4373 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4374 wxSplashScreen *result;
4375 wxPoint temp6 ;
4376 wxSize temp7 ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj3 = 0 ;
4379 PyObject * obj5 = 0 ;
4380 PyObject * obj6 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4387 if (arg1 == NULL) {
4388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4389 }
4390 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 if (obj5) {
4392 {
4393 arg6 = &temp6;
4394 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4395 }
4396 }
4397 if (obj6) {
4398 {
4399 arg7 = &temp7;
4400 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4401 }
4402 }
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4411 return resultobj;
4412 fail:
4413 return NULL;
4414 }
4415
4416
4417 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4420 long result;
4421 PyObject * obj0 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 resultobj = PyInt_FromLong((long)result);
4436 return resultobj;
4437 fail:
4438 return NULL;
4439 }
4440
4441
4442 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4443 PyObject *resultobj;
4444 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4445 wxSplashScreenWindow *result;
4446 PyObject * obj0 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4456
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4461 return resultobj;
4462 fail:
4463 return NULL;
4464 }
4465
4466
4467 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4468 PyObject *resultobj;
4469 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4470 int result;
4471 PyObject * obj0 = 0 ;
4472 char *kwnames[] = {
4473 (char *) "self", NULL
4474 };
4475
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 resultobj = PyInt_FromLong((long)result);
4486 return resultobj;
4487 fail:
4488 return NULL;
4489 }
4490
4491
4492 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4493 PyObject *obj;
4494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4495 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4496 Py_INCREF(obj);
4497 return Py_BuildValue((char *)"");
4498 }
4499 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4500 PyObject *resultobj;
4501 wxWindow *arg1 = (wxWindow *) 0 ;
4502 int arg2 = (int) -1 ;
4503 long arg3 = (long) wxST_SIZEGRIP ;
4504 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4505 wxString *arg4 = (wxString *) &arg4_defvalue ;
4506 wxStatusBar *result;
4507 bool temp4 = False ;
4508 PyObject * obj0 = 0 ;
4509 PyObject * obj3 = 0 ;
4510 char *kwnames[] = {
4511 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4512 };
4513
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4516 if (obj3) {
4517 {
4518 arg4 = wxString_in_helper(obj3);
4519 if (arg4 == NULL) SWIG_fail;
4520 temp4 = True;
4521 }
4522 }
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 {
4531 resultobj = wxPyMake_wxObject(result);
4532 }
4533 {
4534 if (temp4)
4535 delete arg4;
4536 }
4537 return resultobj;
4538 fail:
4539 {
4540 if (temp4)
4541 delete arg4;
4542 }
4543 return NULL;
4544 }
4545
4546
4547 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxStatusBar *result;
4550 char *kwnames[] = {
4551 NULL
4552 };
4553
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 result = (wxStatusBar *)new wxStatusBar();
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 {
4563 resultobj = wxPyMake_wxObject(result);
4564 }
4565 return resultobj;
4566 fail:
4567 return NULL;
4568 }
4569
4570
4571 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj;
4573 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4574 wxWindow *arg2 = (wxWindow *) 0 ;
4575 int arg3 ;
4576 long arg4 = (long) wxST_SIZEGRIP ;
4577 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4578 wxString *arg5 = (wxString *) &arg5_defvalue ;
4579 bool result;
4580 bool temp5 = False ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 PyObject * obj4 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4591 if (obj4) {
4592 {
4593 arg5 = wxString_in_helper(obj4);
4594 if (arg5 == NULL) SWIG_fail;
4595 temp5 = True;
4596 }
4597 }
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 resultobj = PyInt_FromLong((long)result);
4606 {
4607 if (temp5)
4608 delete arg5;
4609 }
4610 return resultobj;
4611 fail:
4612 {
4613 if (temp5)
4614 delete arg5;
4615 }
4616 return NULL;
4617 }
4618
4619
4620 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject *resultobj;
4622 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4623 int arg2 = (int) 1 ;
4624 PyObject * obj0 = 0 ;
4625 char *kwnames[] = {
4626 (char *) "self",(char *) "number", NULL
4627 };
4628
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 (arg1)->SetFieldsCount(arg2);
4634
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 Py_INCREF(Py_None); resultobj = Py_None;
4639 return resultobj;
4640 fail:
4641 return NULL;
4642 }
4643
4644
4645 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4648 int result;
4649 PyObject * obj0 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4659
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 resultobj = PyInt_FromLong((long)result);
4664 return resultobj;
4665 fail:
4666 return NULL;
4667 }
4668
4669
4670 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4671 PyObject *resultobj;
4672 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4673 wxString *arg2 = 0 ;
4674 int arg3 = (int) 0 ;
4675 bool temp2 = False ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self",(char *) "text",(char *) "number", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4684 {
4685 arg2 = wxString_in_helper(obj1);
4686 if (arg2 == NULL) SWIG_fail;
4687 temp2 = True;
4688 }
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4692
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
4696 Py_INCREF(Py_None); resultobj = Py_None;
4697 {
4698 if (temp2)
4699 delete arg2;
4700 }
4701 return resultobj;
4702 fail:
4703 {
4704 if (temp2)
4705 delete arg2;
4706 }
4707 return NULL;
4708 }
4709
4710
4711 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject *resultobj;
4713 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4714 int arg2 = (int) 0 ;
4715 wxString result;
4716 PyObject * obj0 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self",(char *) "number", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 {
4731 #if wxUSE_UNICODE
4732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4733 #else
4734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4735 #endif
4736 }
4737 return resultobj;
4738 fail:
4739 return NULL;
4740 }
4741
4742
4743 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4744 PyObject *resultobj;
4745 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4746 wxString *arg2 = 0 ;
4747 int arg3 = (int) 0 ;
4748 bool temp2 = False ;
4749 PyObject * obj0 = 0 ;
4750 PyObject * obj1 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "self",(char *) "text",(char *) "number", NULL
4753 };
4754
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4757 {
4758 arg2 = wxString_in_helper(obj1);
4759 if (arg2 == NULL) SWIG_fail;
4760 temp2 = True;
4761 }
4762 {
4763 PyThreadState* __tstate = wxPyBeginAllowThreads();
4764 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4765
4766 wxPyEndAllowThreads(__tstate);
4767 if (PyErr_Occurred()) SWIG_fail;
4768 }
4769 Py_INCREF(Py_None); resultobj = Py_None;
4770 {
4771 if (temp2)
4772 delete arg2;
4773 }
4774 return resultobj;
4775 fail:
4776 {
4777 if (temp2)
4778 delete arg2;
4779 }
4780 return NULL;
4781 }
4782
4783
4784 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj;
4786 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4787 int arg2 = (int) 0 ;
4788 PyObject * obj0 = 0 ;
4789 char *kwnames[] = {
4790 (char *) "self",(char *) "number", NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4795 {
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 (arg1)->PopStatusText(arg2);
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 Py_INCREF(Py_None); resultobj = Py_None;
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4812 int arg2 ;
4813 int *arg3 = (int *) 0 ;
4814 PyObject * obj0 = 0 ;
4815 PyObject * obj1 = 0 ;
4816 char *kwnames[] = {
4817 (char *) "self",(char *) "widths", NULL
4818 };
4819
4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4822 {
4823 arg2 = PyList_Size(obj1);
4824 arg3 = int_LIST_helper(obj1);
4825 if (arg3 == NULL) SWIG_fail;
4826 }
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 Py_INCREF(Py_None); resultobj = Py_None;
4835 {
4836 if (arg3) delete [] arg3;
4837 }
4838 return resultobj;
4839 fail:
4840 {
4841 if (arg3) delete [] arg3;
4842 }
4843 return NULL;
4844 }
4845
4846
4847 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4848 PyObject *resultobj;
4849 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4850 int arg2 ;
4851 wxRect *arg3 = 0 ;
4852 bool result;
4853 wxRect temp3 ;
4854 PyObject * obj0 = 0 ;
4855 PyObject * obj2 = 0 ;
4856 char *kwnames[] = {
4857 (char *) "self",(char *) "i",(char *) "rect", NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StatusBar_GetFieldRect",kwnames,&obj0,&arg2,&obj2)) goto fail;
4861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4862 {
4863 arg3 = &temp3;
4864 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
4865 }
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 result = (bool)((wxStatusBar const *)arg1)->GetFieldRect(arg2,*arg3);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 resultobj = PyInt_FromLong((long)result);
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4883 int arg2 ;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self",(char *) "height", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 (arg1)->SetMinHeight(arg2);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 Py_INCREF(Py_None); resultobj = Py_None;
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4908 int result;
4909 PyObject * obj0 = 0 ;
4910 char *kwnames[] = {
4911 (char *) "self", NULL
4912 };
4913
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = PyInt_FromLong((long)result);
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4933 int result;
4934 PyObject * obj0 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 resultobj = PyInt_FromLong((long)result);
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4956 PyObject *obj;
4957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4958 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4959 Py_INCREF(obj);
4960 return Py_BuildValue((char *)"");
4961 }
4962 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxWindow *arg1 = (wxWindow *) 0 ;
4965 int arg2 ;
4966 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4967 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4968 wxSize const &arg4_defvalue = wxDefaultSize ;
4969 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4970 long arg5 = (long) wxSP_3D ;
4971 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4972 wxString *arg6 = (wxString *) &arg6_defvalue ;
4973 wxSplitterWindow *result;
4974 wxPoint temp3 ;
4975 wxSize temp4 ;
4976 bool temp6 = False ;
4977 PyObject * obj0 = 0 ;
4978 PyObject * obj2 = 0 ;
4979 PyObject * obj3 = 0 ;
4980 PyObject * obj5 = 0 ;
4981 char *kwnames[] = {
4982 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4983 };
4984
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4987 if (obj2) {
4988 {
4989 arg3 = &temp3;
4990 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4991 }
4992 }
4993 if (obj3) {
4994 {
4995 arg4 = &temp4;
4996 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4997 }
4998 }
4999 if (obj5) {
5000 {
5001 arg6 = wxString_in_helper(obj5);
5002 if (arg6 == NULL) SWIG_fail;
5003 temp6 = True;
5004 }
5005 }
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5014 {
5015 if (temp6)
5016 delete arg6;
5017 }
5018 return resultobj;
5019 fail:
5020 {
5021 if (temp6)
5022 delete arg6;
5023 }
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxSplitterWindow *result;
5031 char *kwnames[] = {
5032 NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 result = (wxSplitterWindow *)new wxSplitterWindow();
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5053 wxWindow *arg2 = (wxWindow *) 0 ;
5054 int arg3 ;
5055 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5056 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5057 wxSize const &arg5_defvalue = wxDefaultSize ;
5058 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5059 long arg6 = (long) wxSP_3D ;
5060 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5061 wxString *arg7 = (wxString *) &arg7_defvalue ;
5062 bool result;
5063 wxPoint temp4 ;
5064 wxSize temp5 ;
5065 bool temp7 = False ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 PyObject * obj3 = 0 ;
5069 PyObject * obj4 = 0 ;
5070 PyObject * obj6 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5078 if (obj3) {
5079 {
5080 arg4 = &temp4;
5081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5082 }
5083 }
5084 if (obj4) {
5085 {
5086 arg5 = &temp5;
5087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5088 }
5089 }
5090 if (obj6) {
5091 {
5092 arg7 = wxString_in_helper(obj6);
5093 if (arg7 == NULL) SWIG_fail;
5094 temp7 = True;
5095 }
5096 }
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 resultobj = PyInt_FromLong((long)result);
5105 {
5106 if (temp7)
5107 delete arg7;
5108 }
5109 return resultobj;
5110 fail:
5111 {
5112 if (temp7)
5113 delete arg7;
5114 }
5115 return NULL;
5116 }
5117
5118
5119 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5120 PyObject *resultobj;
5121 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5122 wxWindow *result;
5123 PyObject * obj0 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "self", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 {
5138 resultobj = wxPyMake_wxObject(result);
5139 }
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj;
5148 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5149 wxWindow *result;
5150 PyObject * obj0 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 {
5165 resultobj = wxPyMake_wxObject(result);
5166 }
5167 return resultobj;
5168 fail:
5169 return NULL;
5170 }
5171
5172
5173 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj;
5175 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5176 int arg2 ;
5177 PyObject * obj0 = 0 ;
5178 char *kwnames[] = {
5179 (char *) "self",(char *) "mode", NULL
5180 };
5181
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 (arg1)->SetSplitMode(arg2);
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 Py_INCREF(Py_None); resultobj = Py_None;
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5201 int result;
5202 PyObject * obj0 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5209 {
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 resultobj = PyInt_FromLong((long)result);
5217 return resultobj;
5218 fail:
5219 return NULL;
5220 }
5221
5222
5223 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5224 PyObject *resultobj;
5225 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5226 wxWindow *arg2 = (wxWindow *) 0 ;
5227 PyObject * obj0 = 0 ;
5228 PyObject * obj1 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self",(char *) "window", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 (arg1)->Initialize(arg2);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 Py_INCREF(Py_None); resultobj = Py_None;
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5253 wxWindow *arg2 = (wxWindow *) 0 ;
5254 wxWindow *arg3 = (wxWindow *) 0 ;
5255 int arg4 = (int) 0 ;
5256 bool result;
5257 PyObject * obj0 = 0 ;
5258 PyObject * obj1 = 0 ;
5259 PyObject * obj2 = 0 ;
5260 char *kwnames[] = {
5261 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5262 };
5263
5264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5266 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5267 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 resultobj = PyInt_FromLong((long)result);
5276 return resultobj;
5277 fail:
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5285 wxWindow *arg2 = (wxWindow *) 0 ;
5286 wxWindow *arg3 = (wxWindow *) 0 ;
5287 int arg4 = (int) 0 ;
5288 bool result;
5289 PyObject * obj0 = 0 ;
5290 PyObject * obj1 = 0 ;
5291 PyObject * obj2 = 0 ;
5292 char *kwnames[] = {
5293 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5294 };
5295
5296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5299 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 resultobj = PyInt_FromLong((long)result);
5308 return resultobj;
5309 fail:
5310 return NULL;
5311 }
5312
5313
5314 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5317 wxWindow *arg2 = (wxWindow *) NULL ;
5318 bool result;
5319 PyObject * obj0 = 0 ;
5320 PyObject * obj1 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self",(char *) "toRemove", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5327 if (obj1) {
5328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5329 }
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (bool)(arg1)->Unsplit(arg2);
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = PyInt_FromLong((long)result);
5338 return resultobj;
5339 fail:
5340 return NULL;
5341 }
5342
5343
5344 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5345 PyObject *resultobj;
5346 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5347 wxWindow *arg2 = (wxWindow *) 0 ;
5348 wxWindow *arg3 = (wxWindow *) 0 ;
5349 bool result;
5350 PyObject * obj0 = 0 ;
5351 PyObject * obj1 = 0 ;
5352 PyObject * obj2 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5360 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 resultobj = PyInt_FromLong((long)result);
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5378 bool result;
5379 PyObject * obj0 = 0 ;
5380 char *kwnames[] = {
5381 (char *) "self", NULL
5382 };
5383
5384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 resultobj = PyInt_FromLong((long)result);
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5403 int arg2 ;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self",(char *) "width", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->SetSashSize(arg2);
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 Py_INCREF(Py_None); resultobj = Py_None;
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5428 int arg2 ;
5429 PyObject * obj0 = 0 ;
5430 char *kwnames[] = {
5431 (char *) "self",(char *) "width", NULL
5432 };
5433
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->SetBorderSize(arg2);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5453 int result;
5454 PyObject * obj0 = 0 ;
5455 char *kwnames[] = {
5456 (char *) "self", NULL
5457 };
5458
5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 resultobj = PyInt_FromLong((long)result);
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5478 int result;
5479 PyObject * obj0 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 resultobj = PyInt_FromLong((long)result);
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5501 PyObject *resultobj;
5502 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5503 int arg2 ;
5504 bool arg3 = (bool) True ;
5505 PyObject * obj0 = 0 ;
5506 PyObject * obj2 = 0 ;
5507 char *kwnames[] = {
5508 (char *) "self",(char *) "position",(char *) "redraw", NULL
5509 };
5510
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5513 if (obj2) {
5514 arg3 = PyInt_AsLong(obj2) ? true : false;
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 (arg1)->SetSashPosition(arg2,arg3);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 Py_INCREF(Py_None); resultobj = Py_None;
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5534 int result;
5535 PyObject * obj0 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "self", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 resultobj = PyInt_FromLong((long)result);
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5559 int arg2 ;
5560 PyObject * obj0 = 0 ;
5561 char *kwnames[] = {
5562 (char *) "self",(char *) "min", NULL
5563 };
5564
5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetMinimumPaneSize(arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578 }
5579
5580
5581 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5584 int result;
5585 PyObject * obj0 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "self", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5592 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5595
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 resultobj = PyInt_FromLong((long)result);
5600 return resultobj;
5601 fail:
5602 return NULL;
5603 }
5604
5605
5606 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5609 int arg2 ;
5610 int arg3 ;
5611 int arg4 = (int) 5 ;
5612 bool result;
5613 PyObject * obj0 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 resultobj = PyInt_FromLong((long)result);
5628 return resultobj;
5629 fail:
5630 return NULL;
5631 }
5632
5633
5634 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj;
5636 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5637 PyObject * obj0 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->SizeWindows();
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 Py_INCREF(Py_None); resultobj = Py_None;
5652 return resultobj;
5653 fail:
5654 return NULL;
5655 }
5656
5657
5658 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5661 bool arg2 ;
5662 PyObject * obj0 = 0 ;
5663 PyObject * obj1 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "needUpdating", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5670 arg2 = PyInt_AsLong(obj1) ? true : false;
5671 if (PyErr_Occurred()) SWIG_fail;
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 (arg1)->SetNeedUpdating(arg2);
5675
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 Py_INCREF(Py_None); resultobj = Py_None;
5680 return resultobj;
5681 fail:
5682 return NULL;
5683 }
5684
5685
5686 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj;
5688 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5689 bool result;
5690 PyObject * obj0 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = PyInt_FromLong((long)result);
5705 return resultobj;
5706 fail:
5707 return NULL;
5708 }
5709
5710
5711 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5712 PyObject *obj;
5713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5714 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5715 Py_INCREF(obj);
5716 return Py_BuildValue((char *)"");
5717 }
5718 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5721 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5722 wxSplitterEvent *result;
5723 PyObject * obj1 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "type",(char *) "splitter", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5729 if (obj1) {
5730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5731 }
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5749 int arg2 ;
5750 PyObject * obj0 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "pos", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 (arg1)->SetSashPosition(arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 Py_INCREF(Py_None); resultobj = Py_None;
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5774 int result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 resultobj = PyInt_FromLong((long)result);
5790 return resultobj;
5791 fail:
5792 return NULL;
5793 }
5794
5795
5796 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj;
5798 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5799 wxWindow *result;
5800 PyObject * obj0 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 resultobj = wxPyMake_wxObject(result);
5816 }
5817 return resultobj;
5818 fail:
5819 return NULL;
5820 }
5821
5822
5823 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5824 PyObject *resultobj;
5825 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5826 int result;
5827 PyObject * obj0 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 resultobj = PyInt_FromLong((long)result);
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj;
5850 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5851 int result;
5852 PyObject * obj0 = 0 ;
5853 char *kwnames[] = {
5854 (char *) "self", NULL
5855 };
5856
5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 resultobj = PyInt_FromLong((long)result);
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5874 PyObject *obj;
5875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5876 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5877 Py_INCREF(obj);
5878 return Py_BuildValue((char *)"");
5879 }
5880 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject *resultobj;
5882 wxWindow *arg1 = (wxWindow *) 0 ;
5883 int arg2 ;
5884 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5885 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5886 wxSize const &arg4_defvalue = wxDefaultSize ;
5887 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5888 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5889 wxString const &arg6_defvalue = wxPySashNameStr ;
5890 wxString *arg6 = (wxString *) &arg6_defvalue ;
5891 wxSashWindow *result;
5892 wxPoint temp3 ;
5893 wxSize temp4 ;
5894 bool temp6 = False ;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj2 = 0 ;
5897 PyObject * obj3 = 0 ;
5898 PyObject * obj5 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5905 if (obj2) {
5906 {
5907 arg3 = &temp3;
5908 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5909 }
5910 }
5911 if (obj3) {
5912 {
5913 arg4 = &temp4;
5914 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5915 }
5916 }
5917 if (obj5) {
5918 {
5919 arg6 = wxString_in_helper(obj5);
5920 if (arg6 == NULL) SWIG_fail;
5921 temp6 = True;
5922 }
5923 }
5924 {
5925 PyThreadState* __tstate = wxPyBeginAllowThreads();
5926 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5927
5928 wxPyEndAllowThreads(__tstate);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 }
5931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5932 {
5933 if (temp6)
5934 delete arg6;
5935 }
5936 return resultobj;
5937 fail:
5938 {
5939 if (temp6)
5940 delete arg6;
5941 }
5942 return NULL;
5943 }
5944
5945
5946 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxSashWindow *result;
5949 char *kwnames[] = {
5950 NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (wxSashWindow *)new wxSashWindow();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5962 return resultobj;
5963 fail:
5964 return NULL;
5965 }
5966
5967
5968 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5969 PyObject *resultobj;
5970 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5971 wxWindow *arg2 = (wxWindow *) 0 ;
5972 int arg3 ;
5973 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5974 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5975 wxSize const &arg5_defvalue = wxDefaultSize ;
5976 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5977 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5978 wxString const &arg7_defvalue = wxPySashNameStr ;
5979 wxString *arg7 = (wxString *) &arg7_defvalue ;
5980 bool result;
5981 wxPoint temp4 ;
5982 wxSize temp5 ;
5983 bool temp7 = False ;
5984 PyObject * obj0 = 0 ;
5985 PyObject * obj1 = 0 ;
5986 PyObject * obj3 = 0 ;
5987 PyObject * obj4 = 0 ;
5988 PyObject * obj6 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5996 if (obj3) {
5997 {
5998 arg4 = &temp4;
5999 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6000 }
6001 }
6002 if (obj4) {
6003 {
6004 arg5 = &temp5;
6005 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6006 }
6007 }
6008 if (obj6) {
6009 {
6010 arg7 = wxString_in_helper(obj6);
6011 if (arg7 == NULL) SWIG_fail;
6012 temp7 = True;
6013 }
6014 }
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = PyInt_FromLong((long)result);
6023 {
6024 if (temp7)
6025 delete arg7;
6026 }
6027 return resultobj;
6028 fail:
6029 {
6030 if (temp7)
6031 delete arg7;
6032 }
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6040 int arg2 ;
6041 bool arg3 ;
6042 PyObject * obj0 = 0 ;
6043 PyObject * obj2 = 0 ;
6044 char *kwnames[] = {
6045 (char *) "self",(char *) "edge",(char *) "sash", NULL
6046 };
6047
6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6050 arg3 = PyInt_AsLong(obj2) ? true : false;
6051 if (PyErr_Occurred()) SWIG_fail;
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6055
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 Py_INCREF(Py_None); resultobj = Py_None;
6060 return resultobj;
6061 fail:
6062 return NULL;
6063 }
6064
6065
6066 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6069 int arg2 ;
6070 bool result;
6071 PyObject * obj0 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self",(char *) "edge", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 resultobj = PyInt_FromLong((long)result);
6086 return resultobj;
6087 fail:
6088 return NULL;
6089 }
6090
6091
6092 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject *resultobj;
6094 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6095 int arg2 ;
6096 bool arg3 ;
6097 PyObject * obj0 = 0 ;
6098 PyObject * obj2 = 0 ;
6099 char *kwnames[] = {
6100 (char *) "self",(char *) "edge",(char *) "border", NULL
6101 };
6102
6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6105 arg3 = PyInt_AsLong(obj2) ? true : false;
6106 if (PyErr_Occurred()) SWIG_fail;
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 Py_INCREF(Py_None); resultobj = Py_None;
6115 return resultobj;
6116 fail:
6117 return NULL;
6118 }
6119
6120
6121 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj;
6123 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6124 int arg2 ;
6125 bool result;
6126 PyObject * obj0 = 0 ;
6127 char *kwnames[] = {
6128 (char *) "self",(char *) "edge", NULL
6129 };
6130
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 resultobj = PyInt_FromLong((long)result);
6141 return resultobj;
6142 fail:
6143 return NULL;
6144 }
6145
6146
6147 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject *resultobj;
6149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6150 int arg2 ;
6151 int result;
6152 PyObject * obj0 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self",(char *) "edge", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 resultobj = PyInt_FromLong((long)result);
6167 return resultobj;
6168 fail:
6169 return NULL;
6170 }
6171
6172
6173 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj;
6175 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6176 int arg2 ;
6177 PyObject * obj0 = 0 ;
6178 char *kwnames[] = {
6179 (char *) "self",(char *) "width", NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 (arg1)->SetDefaultBorderSize(arg2);
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 Py_INCREF(Py_None); resultobj = Py_None;
6192 return resultobj;
6193 fail:
6194 return NULL;
6195 }
6196
6197
6198 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6199 PyObject *resultobj;
6200 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6201 int result;
6202 PyObject * obj0 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "self", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 resultobj = PyInt_FromLong((long)result);
6217 return resultobj;
6218 fail:
6219 return NULL;
6220 }
6221
6222
6223 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6224 PyObject *resultobj;
6225 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6226 int arg2 ;
6227 PyObject * obj0 = 0 ;
6228 char *kwnames[] = {
6229 (char *) "self",(char *) "width", NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 (arg1)->SetExtraBorderSize(arg2);
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 Py_INCREF(Py_None); resultobj = Py_None;
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6251 int result;
6252 PyObject * obj0 = 0 ;
6253 char *kwnames[] = {
6254 (char *) "self", NULL
6255 };
6256
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 resultobj = PyInt_FromLong((long)result);
6267 return resultobj;
6268 fail:
6269 return NULL;
6270 }
6271
6272
6273 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6276 int arg2 ;
6277 PyObject * obj0 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self",(char *) "min", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 (arg1)->SetMinimumSizeX(arg2);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 Py_INCREF(Py_None); resultobj = Py_None;
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj;
6300 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6301 int arg2 ;
6302 PyObject * obj0 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "min", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 (arg1)->SetMinimumSizeY(arg2);
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 Py_INCREF(Py_None); resultobj = Py_None;
6317 return resultobj;
6318 fail:
6319 return NULL;
6320 }
6321
6322
6323 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj;
6325 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6326 int result;
6327 PyObject * obj0 = 0 ;
6328 char *kwnames[] = {
6329 (char *) "self", NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 resultobj = PyInt_FromLong((long)result);
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6351 int result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 resultobj = PyInt_FromLong((long)result);
6367 return resultobj;
6368 fail:
6369 return NULL;
6370 }
6371
6372
6373 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6376 int arg2 ;
6377 PyObject * obj0 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self",(char *) "max", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 (arg1)->SetMaximumSizeX(arg2);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 Py_INCREF(Py_None); resultobj = Py_None;
6392 return resultobj;
6393 fail:
6394 return NULL;
6395 }
6396
6397
6398 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6401 int arg2 ;
6402 PyObject * obj0 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self",(char *) "max", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6409 {
6410 PyThreadState* __tstate = wxPyBeginAllowThreads();
6411 (arg1)->SetMaximumSizeY(arg2);
6412
6413 wxPyEndAllowThreads(__tstate);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 }
6416 Py_INCREF(Py_None); resultobj = Py_None;
6417 return resultobj;
6418 fail:
6419 return NULL;
6420 }
6421
6422
6423 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6426 int result;
6427 PyObject * obj0 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "self", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 resultobj = PyInt_FromLong((long)result);
6442 return resultobj;
6443 fail:
6444 return NULL;
6445 }
6446
6447
6448 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6449 PyObject *resultobj;
6450 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6451 int result;
6452 PyObject * obj0 = 0 ;
6453 char *kwnames[] = {
6454 (char *) "self", NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 resultobj = PyInt_FromLong((long)result);
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6476 int arg2 ;
6477 int arg3 ;
6478 int arg4 = (int) 2 ;
6479 int result;
6480 PyObject * obj0 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 resultobj = PyInt_FromLong((long)result);
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6504 PyObject * obj0 = 0 ;
6505 char *kwnames[] = {
6506 (char *) "self", NULL
6507 };
6508
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 (arg1)->SizeWindows();
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 Py_INCREF(Py_None); resultobj = Py_None;
6519 return resultobj;
6520 fail:
6521 return NULL;
6522 }
6523
6524
6525 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6526 PyObject *obj;
6527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6528 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6529 Py_INCREF(obj);
6530 return Py_BuildValue((char *)"");
6531 }
6532 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject *resultobj;
6534 int arg1 = (int) 0 ;
6535 int arg2 = (int) wxSASH_NONE ;
6536 wxSashEvent *result;
6537 char *kwnames[] = {
6538 (char *) "id",(char *) "edge", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6557 PyObject *resultobj;
6558 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6559 int arg2 ;
6560 PyObject * obj0 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "edge", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 Py_INCREF(Py_None); resultobj = Py_None;
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj;
6583 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6584 int result;
6585 PyObject * obj0 = 0 ;
6586 char *kwnames[] = {
6587 (char *) "self", NULL
6588 };
6589
6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 resultobj = PyInt_FromLong((long)result);
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6609 wxRect *arg2 = 0 ;
6610 wxRect temp2 ;
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self",(char *) "rect", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6619 {
6620 arg2 = &temp2;
6621 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6622 }
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 (arg1)->SetDragRect((wxRect const &)*arg2);
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 Py_INCREF(Py_None); resultobj = Py_None;
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6640 wxRect result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 result = ((wxSashEvent const *)arg1)->GetDragRect();
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 {
6656 wxRect * resultptr;
6657 resultptr = new wxRect((wxRect &) result);
6658 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6659 }
6660 return resultobj;
6661 fail:
6662 return NULL;
6663 }
6664
6665
6666 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6667 PyObject *resultobj;
6668 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6669 int arg2 ;
6670 PyObject * obj0 = 0 ;
6671 char *kwnames[] = {
6672 (char *) "self",(char *) "status", NULL
6673 };
6674
6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 Py_INCREF(Py_None); resultobj = Py_None;
6685 return resultobj;
6686 fail:
6687 return NULL;
6688 }
6689
6690
6691 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6692 PyObject *resultobj;
6693 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6694 int result;
6695 PyObject * obj0 = 0 ;
6696 char *kwnames[] = {
6697 (char *) "self", NULL
6698 };
6699
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6705
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 resultobj = PyInt_FromLong((long)result);
6710 return resultobj;
6711 fail:
6712 return NULL;
6713 }
6714
6715
6716 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6717 PyObject *obj;
6718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6719 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6720 Py_INCREF(obj);
6721 return Py_BuildValue((char *)"");
6722 }
6723 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 int arg1 = (int) 0 ;
6726 wxQueryLayoutInfoEvent *result;
6727 char *kwnames[] = {
6728 (char *) "id", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
6739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6740 return resultobj;
6741 fail:
6742 return NULL;
6743 }
6744
6745
6746 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj;
6748 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6749 int arg2 ;
6750 PyObject * obj0 = 0 ;
6751 char *kwnames[] = {
6752 (char *) "self",(char *) "length", NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 (arg1)->SetRequestedLength(arg2);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 Py_INCREF(Py_None); resultobj = Py_None;
6765 return resultobj;
6766 fail:
6767 return NULL;
6768 }
6769
6770
6771 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6772 PyObject *resultobj;
6773 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6774 int result;
6775 PyObject * obj0 = 0 ;
6776 char *kwnames[] = {
6777 (char *) "self", NULL
6778 };
6779
6780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 resultobj = PyInt_FromLong((long)result);
6790 return resultobj;
6791 fail:
6792 return NULL;
6793 }
6794
6795
6796 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6799 int arg2 ;
6800 PyObject * obj0 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "self",(char *) "flags", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 (arg1)->SetFlags(arg2);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 Py_INCREF(Py_None); resultobj = Py_None;
6815 return resultobj;
6816 fail:
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6824 int result;
6825 PyObject * obj0 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 resultobj = PyInt_FromLong((long)result);
6840 return resultobj;
6841 fail:
6842 return NULL;
6843 }
6844
6845
6846 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6847 PyObject *resultobj;
6848 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6849 wxSize *arg2 = 0 ;
6850 wxSize temp2 ;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "size", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6859 {
6860 arg2 = &temp2;
6861 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 (arg1)->SetSize((wxSize const &)*arg2);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 Py_INCREF(Py_None); resultobj = Py_None;
6871 return resultobj;
6872 fail:
6873 return NULL;
6874 }
6875
6876
6877 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6878 PyObject *resultobj;
6879 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6880 wxSize result;
6881 PyObject * obj0 = 0 ;
6882 char *kwnames[] = {
6883 (char *) "self", NULL
6884 };
6885
6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 {
6896 wxSize * resultptr;
6897 resultptr = new wxSize((wxSize &) result);
6898 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6899 }
6900 return resultobj;
6901 fail:
6902 return NULL;
6903 }
6904
6905
6906 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj;
6908 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6909 int arg2 ;
6910 PyObject * obj0 = 0 ;
6911 char *kwnames[] = {
6912 (char *) "self",(char *) "orient", NULL
6913 };
6914
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6917 {
6918 PyThreadState* __tstate = wxPyBeginAllowThreads();
6919 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6920
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 Py_INCREF(Py_None); resultobj = Py_None;
6925 return resultobj;
6926 fail:
6927 return NULL;
6928 }
6929
6930
6931 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6932 PyObject *resultobj;
6933 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6934 int result;
6935 PyObject * obj0 = 0 ;
6936 char *kwnames[] = {
6937 (char *) "self", NULL
6938 };
6939
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6945
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 resultobj = PyInt_FromLong((long)result);
6950 return resultobj;
6951 fail:
6952 return NULL;
6953 }
6954
6955
6956 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6957 PyObject *resultobj;
6958 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6959 int arg2 ;
6960 PyObject * obj0 = 0 ;
6961 char *kwnames[] = {
6962 (char *) "self",(char *) "align", NULL
6963 };
6964
6965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6970
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 Py_INCREF(Py_None); resultobj = Py_None;
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj;
6983 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6984 int result;
6985 PyObject * obj0 = 0 ;
6986 char *kwnames[] = {
6987 (char *) "self", NULL
6988 };
6989
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992 {
6993 PyThreadState* __tstate = wxPyBeginAllowThreads();
6994 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6995
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 resultobj = PyInt_FromLong((long)result);
7000 return resultobj;
7001 fail:
7002 return NULL;
7003 }
7004
7005
7006 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7007 PyObject *obj;
7008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7009 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7010 Py_INCREF(obj);
7011 return Py_BuildValue((char *)"");
7012 }
7013 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj;
7015 int arg1 = (int) 0 ;
7016 wxCalculateLayoutEvent *result;
7017 char *kwnames[] = {
7018 (char *) "id", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj;
7038 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7039 int arg2 ;
7040 PyObject * obj0 = 0 ;
7041 char *kwnames[] = {
7042 (char *) "self",(char *) "flags", NULL
7043 };
7044
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 (arg1)->SetFlags(arg2);
7050
7051 wxPyEndAllowThreads(__tstate);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 }
7054 Py_INCREF(Py_None); resultobj = Py_None;
7055 return resultobj;
7056 fail:
7057 return NULL;
7058 }
7059
7060
7061 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj;
7063 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7064 int result;
7065 PyObject * obj0 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "self", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 resultobj = PyInt_FromLong((long)result);
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7089 wxRect *arg2 = 0 ;
7090 wxRect temp2 ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char *kwnames[] = {
7094 (char *) "self",(char *) "rect", NULL
7095 };
7096
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7099 {
7100 arg2 = &temp2;
7101 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 (arg1)->SetRect((wxRect const &)*arg2);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 Py_INCREF(Py_None); resultobj = Py_None;
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7120 wxRect result;
7121 PyObject * obj0 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 {
7136 wxRect * resultptr;
7137 resultptr = new wxRect((wxRect &) result);
7138 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7139 }
7140 return resultobj;
7141 fail:
7142 return NULL;
7143 }
7144
7145
7146 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7147 PyObject *obj;
7148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7149 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7150 Py_INCREF(obj);
7151 return Py_BuildValue((char *)"");
7152 }
7153 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7154 PyObject *resultobj;
7155 wxWindow *arg1 = (wxWindow *) 0 ;
7156 int arg2 ;
7157 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7158 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7159 wxSize const &arg4_defvalue = wxDefaultSize ;
7160 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7161 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7162 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7163 wxString *arg6 = (wxString *) &arg6_defvalue ;
7164 wxSashLayoutWindow *result;
7165 wxPoint temp3 ;
7166 wxSize temp4 ;
7167 bool temp6 = False ;
7168 PyObject * obj0 = 0 ;
7169 PyObject * obj2 = 0 ;
7170 PyObject * obj3 = 0 ;
7171 PyObject * obj5 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7178 if (obj2) {
7179 {
7180 arg3 = &temp3;
7181 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7182 }
7183 }
7184 if (obj3) {
7185 {
7186 arg4 = &temp4;
7187 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7188 }
7189 }
7190 if (obj5) {
7191 {
7192 arg6 = wxString_in_helper(obj5);
7193 if (arg6 == NULL) SWIG_fail;
7194 temp6 = True;
7195 }
7196 }
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7200
7201 wxPyEndAllowThreads(__tstate);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 }
7204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7205 {
7206 if (temp6)
7207 delete arg6;
7208 }
7209 return resultobj;
7210 fail:
7211 {
7212 if (temp6)
7213 delete arg6;
7214 }
7215 return NULL;
7216 }
7217
7218
7219 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxSashLayoutWindow *result;
7222 char *kwnames[] = {
7223 NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7244 wxWindow *arg2 = (wxWindow *) 0 ;
7245 int arg3 ;
7246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7248 wxSize const &arg5_defvalue = wxDefaultSize ;
7249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7250 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7251 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7252 wxString *arg7 = (wxString *) &arg7_defvalue ;
7253 bool result;
7254 wxPoint temp4 ;
7255 wxSize temp5 ;
7256 bool temp7 = False ;
7257 PyObject * obj0 = 0 ;
7258 PyObject * obj1 = 0 ;
7259 PyObject * obj3 = 0 ;
7260 PyObject * obj4 = 0 ;
7261 PyObject * obj6 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7269 if (obj3) {
7270 {
7271 arg4 = &temp4;
7272 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7273 }
7274 }
7275 if (obj4) {
7276 {
7277 arg5 = &temp5;
7278 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7279 }
7280 }
7281 if (obj6) {
7282 {
7283 arg7 = wxString_in_helper(obj6);
7284 if (arg7 == NULL) SWIG_fail;
7285 temp7 = True;
7286 }
7287 }
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 resultobj = PyInt_FromLong((long)result);
7296 {
7297 if (temp7)
7298 delete arg7;
7299 }
7300 return resultobj;
7301 fail:
7302 {
7303 if (temp7)
7304 delete arg7;
7305 }
7306 return NULL;
7307 }
7308
7309
7310 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj;
7312 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7313 int result;
7314 PyObject * obj0 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 result = (int)(arg1)->GetAlignment();
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 resultobj = PyInt_FromLong((long)result);
7329 return resultobj;
7330 fail:
7331 return NULL;
7332 }
7333
7334
7335 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj;
7337 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7338 int result;
7339 PyObject * obj0 = 0 ;
7340 char *kwnames[] = {
7341 (char *) "self", NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (int)(arg1)->GetOrientation();
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = PyInt_FromLong((long)result);
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7363 int arg2 ;
7364 PyObject * obj0 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "alignment", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 Py_INCREF(Py_None); resultobj = Py_None;
7379 return resultobj;
7380 fail:
7381 return NULL;
7382 }
7383
7384
7385 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj;
7387 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7388 wxSize *arg2 = 0 ;
7389 wxSize temp2 ;
7390 PyObject * obj0 = 0 ;
7391 PyObject * obj1 = 0 ;
7392 char *kwnames[] = {
7393 (char *) "self",(char *) "size", NULL
7394 };
7395
7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7398 {
7399 arg2 = &temp2;
7400 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7401 }
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7405
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 Py_INCREF(Py_None); resultobj = Py_None;
7410 return resultobj;
7411 fail:
7412 return NULL;
7413 }
7414
7415
7416 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7419 int arg2 ;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self",(char *) "orientation", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438 }
7439
7440
7441 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7442 PyObject *obj;
7443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7444 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7445 Py_INCREF(obj);
7446 return Py_BuildValue((char *)"");
7447 }
7448 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj;
7450 wxLayoutAlgorithm *result;
7451 char *kwnames[] = {
7452 NULL
7453 };
7454
7455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 delete arg1;
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 Py_INCREF(Py_None); resultobj = Py_None;
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7497 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7498 wxRect *arg3 = (wxRect *) NULL ;
7499 bool result;
7500 PyObject * obj0 = 0 ;
7501 PyObject * obj1 = 0 ;
7502 PyObject * obj2 = 0 ;
7503 char *kwnames[] = {
7504 (char *) "self",(char *) "frame",(char *) "rect", NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7510 if (obj2) {
7511 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7512 }
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 resultobj = PyInt_FromLong((long)result);
7521 return resultobj;
7522 fail:
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7530 wxFrame *arg2 = (wxFrame *) 0 ;
7531 wxWindow *arg3 = (wxWindow *) NULL ;
7532 bool result;
7533 PyObject * obj0 = 0 ;
7534 PyObject * obj1 = 0 ;
7535 PyObject * obj2 = 0 ;
7536 char *kwnames[] = {
7537 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7538 };
7539
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7543 if (obj2) {
7544 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7545 }
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 resultobj = PyInt_FromLong((long)result);
7554 return resultobj;
7555 fail:
7556 return NULL;
7557 }
7558
7559
7560 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7563 wxWindow *arg2 = (wxWindow *) 0 ;
7564 wxWindow *arg3 = (wxWindow *) NULL ;
7565 bool result;
7566 PyObject * obj0 = 0 ;
7567 PyObject * obj1 = 0 ;
7568 PyObject * obj2 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7575 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 if (obj2) {
7577 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7578 }
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 resultobj = PyInt_FromLong((long)result);
7587 return resultobj;
7588 fail:
7589 return NULL;
7590 }
7591
7592
7593 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7594 PyObject *obj;
7595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7596 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7597 Py_INCREF(obj);
7598 return Py_BuildValue((char *)"");
7599 }
7600 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxWindow *arg1 = (wxWindow *) 0 ;
7603 int arg2 = (int) wxBORDER_NONE ;
7604 wxPopupWindow *result;
7605 PyObject * obj0 = 0 ;
7606 char *kwnames[] = {
7607 (char *) "parent",(char *) "flags", NULL
7608 };
7609
7610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxPopupWindow *result;
7629 char *kwnames[] = {
7630 NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 result = (wxPopupWindow *)new wxPopupWindow();
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj;
7650 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7651 wxWindow *arg2 = (wxWindow *) 0 ;
7652 int arg3 = (int) wxBORDER_NONE ;
7653 bool result;
7654 PyObject * obj0 = 0 ;
7655 PyObject * obj1 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "self",(char *) "parent",(char *) "flags", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7663 {
7664 PyThreadState* __tstate = wxPyBeginAllowThreads();
7665 result = (bool)(arg1)->Create(arg2,arg3);
7666
7667 wxPyEndAllowThreads(__tstate);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 resultobj = PyInt_FromLong((long)result);
7671 return resultobj;
7672 fail:
7673 return NULL;
7674 }
7675
7676
7677 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7680 wxPoint *arg2 = 0 ;
7681 wxSize *arg3 = 0 ;
7682 wxPoint temp2 ;
7683 wxSize temp3 ;
7684 PyObject * obj0 = 0 ;
7685 PyObject * obj1 = 0 ;
7686 PyObject * obj2 = 0 ;
7687 char *kwnames[] = {
7688 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7689 };
7690
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7693 {
7694 arg2 = &temp2;
7695 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7696 }
7697 {
7698 arg3 = &temp3;
7699 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7700 }
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 Py_INCREF(Py_None); resultobj = Py_None;
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7716 PyObject *obj;
7717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7718 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7719 Py_INCREF(obj);
7720 return Py_BuildValue((char *)"");
7721 }
7722 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj;
7724 wxWindow *arg1 = (wxWindow *) 0 ;
7725 int arg2 = (int) wxBORDER_NONE ;
7726 wxPyPopupTransientWindow *result;
7727 PyObject * obj0 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "parent",(char *) "style", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7742 return resultobj;
7743 fail:
7744 return NULL;
7745 }
7746
7747
7748 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxPyPopupTransientWindow *result;
7751 char *kwnames[] = {
7752 NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7764 return resultobj;
7765 fail:
7766 return NULL;
7767 }
7768
7769
7770 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7773 PyObject *arg2 = (PyObject *) 0 ;
7774 PyObject *arg3 = (PyObject *) 0 ;
7775 PyObject * obj0 = 0 ;
7776 PyObject * obj1 = 0 ;
7777 PyObject * obj2 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "self",(char *) "_class", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7784 arg2 = obj1;
7785 arg3 = obj2;
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 (arg1)->_setCallbackInfo(arg2,arg3);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 Py_INCREF(Py_None); resultobj = Py_None;
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj;
7802 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7803 wxWindow *arg2 = (wxWindow *) NULL ;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self",(char *) "focus", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7812 if (obj1) {
7813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7814 }
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 (arg1)->Popup(arg2);
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 Py_INCREF(Py_None); resultobj = Py_None;
7823 return resultobj;
7824 fail:
7825 return NULL;
7826 }
7827
7828
7829 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj;
7831 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7832 PyObject * obj0 = 0 ;
7833 char *kwnames[] = {
7834 (char *) "self", NULL
7835 };
7836
7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 (arg1)->Dismiss();
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 Py_INCREF(Py_None); resultobj = Py_None;
7847 return resultobj;
7848 fail:
7849 return NULL;
7850 }
7851
7852
7853 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7854 PyObject *obj;
7855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7856 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7857 Py_INCREF(obj);
7858 return Py_BuildValue((char *)"");
7859 }
7860 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj;
7862 wxWindow *arg1 = (wxWindow *) 0 ;
7863 wxString *arg2 = (wxString *) 0 ;
7864 int arg3 = (int) 100 ;
7865 wxRect *arg4 = (wxRect *) NULL ;
7866 wxTipWindow *result;
7867 PyObject * obj0 = 0 ;
7868 PyObject * obj1 = 0 ;
7869 PyObject * obj3 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7877 if (obj3) {
7878 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7879 }
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const *)arg2,arg3,arg4);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7897 wxRect *arg2 = 0 ;
7898 wxRect temp2 ;
7899 PyObject * obj0 = 0 ;
7900 PyObject * obj1 = 0 ;
7901 char *kwnames[] = {
7902 (char *) "self",(char *) "rectBound", NULL
7903 };
7904
7905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7907 {
7908 arg2 = &temp2;
7909 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 Py_INCREF(Py_None); resultobj = Py_None;
7919 return resultobj;
7920 fail:
7921 return NULL;
7922 }
7923
7924
7925 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7928 PyObject * obj0 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 (arg1)->Close();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7950 PyObject *obj;
7951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7952 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7953 Py_INCREF(obj);
7954 return Py_BuildValue((char *)"");
7955 }
7956 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxWindow *arg1 = (wxWindow *) 0 ;
7959 int arg2 = (int) wxID_ANY ;
7960 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7961 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7962 wxSize const &arg4_defvalue = wxDefaultSize ;
7963 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7964 long arg5 = (long) 0 ;
7965 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7966 wxString *arg6 = (wxString *) &arg6_defvalue ;
7967 wxPyVScrolledWindow *result;
7968 wxPoint temp3 ;
7969 wxSize temp4 ;
7970 bool temp6 = False ;
7971 PyObject * obj0 = 0 ;
7972 PyObject * obj2 = 0 ;
7973 PyObject * obj3 = 0 ;
7974 PyObject * obj5 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7981 if (obj2) {
7982 {
7983 arg3 = &temp3;
7984 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7985 }
7986 }
7987 if (obj3) {
7988 {
7989 arg4 = &temp4;
7990 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7991 }
7992 }
7993 if (obj5) {
7994 {
7995 arg6 = wxString_in_helper(obj5);
7996 if (arg6 == NULL) SWIG_fail;
7997 temp6 = True;
7998 }
7999 }
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
8002 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8003
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8008 {
8009 if (temp6)
8010 delete arg6;
8011 }
8012 return resultobj;
8013 fail:
8014 {
8015 if (temp6)
8016 delete arg6;
8017 }
8018 return NULL;
8019 }
8020
8021
8022 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxPyVScrolledWindow *result;
8025 char *kwnames[] = {
8026 NULL
8027 };
8028
8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8038 return resultobj;
8039 fail:
8040 return NULL;
8041 }
8042
8043
8044 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8045 PyObject *resultobj;
8046 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8047 PyObject *arg2 = (PyObject *) 0 ;
8048 PyObject *arg3 = (PyObject *) 0 ;
8049 PyObject * obj0 = 0 ;
8050 PyObject * obj1 = 0 ;
8051 PyObject * obj2 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self",(char *) "self",(char *) "_class", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8058 arg2 = obj1;
8059 arg3 = obj2;
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 (arg1)->_setCallbackInfo(arg2,arg3);
8063
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 Py_INCREF(Py_None); resultobj = Py_None;
8068 return resultobj;
8069 fail:
8070 return NULL;
8071 }
8072
8073
8074 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8075 PyObject *resultobj;
8076 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8077 wxWindow *arg2 = (wxWindow *) 0 ;
8078 int arg3 = (int) wxID_ANY ;
8079 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8080 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8081 wxSize const &arg5_defvalue = wxDefaultSize ;
8082 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8083 long arg6 = (long) 0 ;
8084 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8085 wxString *arg7 = (wxString *) &arg7_defvalue ;
8086 bool result;
8087 wxPoint temp4 ;
8088 wxSize temp5 ;
8089 bool temp7 = False ;
8090 PyObject * obj0 = 0 ;
8091 PyObject * obj1 = 0 ;
8092 PyObject * obj3 = 0 ;
8093 PyObject * obj4 = 0 ;
8094 PyObject * obj6 = 0 ;
8095 char *kwnames[] = {
8096 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8097 };
8098
8099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8102 if (obj3) {
8103 {
8104 arg4 = &temp4;
8105 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8106 }
8107 }
8108 if (obj4) {
8109 {
8110 arg5 = &temp5;
8111 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8112 }
8113 }
8114 if (obj6) {
8115 {
8116 arg7 = wxString_in_helper(obj6);
8117 if (arg7 == NULL) SWIG_fail;
8118 temp7 = True;
8119 }
8120 }
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 resultobj = PyInt_FromLong((long)result);
8129 {
8130 if (temp7)
8131 delete arg7;
8132 }
8133 return resultobj;
8134 fail:
8135 {
8136 if (temp7)
8137 delete arg7;
8138 }
8139 return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8146 size_t arg2 ;
8147 PyObject * obj0 = 0 ;
8148 PyObject * obj1 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "count", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8155 arg2 = (size_t) PyInt_AsLong(obj1);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 (arg1)->SetLineCount(arg2);
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 Py_INCREF(Py_None); resultobj = Py_None;
8165 return resultobj;
8166 fail:
8167 return NULL;
8168 }
8169
8170
8171 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8174 size_t arg2 ;
8175 bool result;
8176 PyObject * obj0 = 0 ;
8177 PyObject * obj1 = 0 ;
8178 char *kwnames[] = {
8179 (char *) "self",(char *) "line", NULL
8180 };
8181
8182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8184 arg2 = (size_t) PyInt_AsLong(obj1);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 result = (bool)(arg1)->ScrollToLine(arg2);
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) SWIG_fail;
8192 }
8193 resultobj = PyInt_FromLong((long)result);
8194 return resultobj;
8195 fail:
8196 return NULL;
8197 }
8198
8199
8200 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8201 PyObject *resultobj;
8202 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8203 int arg2 ;
8204 bool result;
8205 PyObject * obj0 = 0 ;
8206 char *kwnames[] = {
8207 (char *) "self",(char *) "lines", NULL
8208 };
8209
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 result = (bool)(arg1)->ScrollLines(arg2);
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 resultobj = PyInt_FromLong((long)result);
8220 return resultobj;
8221 fail:
8222 return NULL;
8223 }
8224
8225
8226 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8227 PyObject *resultobj;
8228 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8229 int arg2 ;
8230 bool result;
8231 PyObject * obj0 = 0 ;
8232 char *kwnames[] = {
8233 (char *) "self",(char *) "pages", NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)(arg1)->ScrollPages(arg2);
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 resultobj = PyInt_FromLong((long)result);
8246 return resultobj;
8247 fail:
8248 return NULL;
8249 }
8250
8251
8252 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8255 size_t arg2 ;
8256 PyObject * obj0 = 0 ;
8257 PyObject * obj1 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self",(char *) "line", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8264 arg2 = (size_t) PyInt_AsLong(obj1);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 (arg1)->RefreshLine(arg2);
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 Py_INCREF(Py_None); resultobj = Py_None;
8274 return resultobj;
8275 fail:
8276 return NULL;
8277 }
8278
8279
8280 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8283 size_t arg2 ;
8284 size_t arg3 ;
8285 PyObject * obj0 = 0 ;
8286 PyObject * obj1 = 0 ;
8287 PyObject * obj2 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self",(char *) "from",(char *) "to", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8294 arg2 = (size_t) PyInt_AsLong(obj1);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 arg3 = (size_t) PyInt_AsLong(obj2);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 (arg1)->RefreshLines(arg2,arg3);
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 Py_INCREF(Py_None); resultobj = Py_None;
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8315 int arg2 ;
8316 int arg3 ;
8317 int result;
8318 PyObject * obj0 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self",(char *) "x",(char *) "y", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 resultobj = PyInt_FromLong((long)result);
8333 return resultobj;
8334 fail:
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8342 wxPoint *arg2 = 0 ;
8343 int result;
8344 wxPoint temp2 ;
8345 PyObject * obj0 = 0 ;
8346 PyObject * obj1 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "self",(char *) "pt", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8353 {
8354 arg2 = &temp2;
8355 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8356 }
8357 {
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8359 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8360
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 resultobj = PyInt_FromLong((long)result);
8365 return resultobj;
8366 fail:
8367 return NULL;
8368 }
8369
8370
8371 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8374 PyObject * obj0 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 (arg1)->RefreshAll();
8384
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 Py_INCREF(Py_None); resultobj = Py_None;
8389 return resultobj;
8390 fail:
8391 return NULL;
8392 }
8393
8394
8395 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8398 size_t result;
8399 PyObject * obj0 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "self", NULL
8402 };
8403
8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 resultobj = PyInt_FromLong((long)result);
8414 return resultobj;
8415 fail:
8416 return NULL;
8417 }
8418
8419
8420 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8421 PyObject *resultobj;
8422 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8423 size_t result;
8424 PyObject * obj0 = 0 ;
8425 char *kwnames[] = {
8426 (char *) "self", NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
8438 resultobj = PyInt_FromLong((long)result);
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8448 size_t result;
8449 PyObject * obj0 = 0 ;
8450 char *kwnames[] = {
8451 (char *) "self", NULL
8452 };
8453
8454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 resultobj = PyInt_FromLong((long)result);
8464 return resultobj;
8465 fail:
8466 return NULL;
8467 }
8468
8469
8470 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8473 size_t arg2 ;
8474 bool result;
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self",(char *) "line", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8483 arg2 = (size_t) PyInt_AsLong(obj1);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 {
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8488
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 resultobj = PyInt_FromLong((long)result);
8493 return resultobj;
8494 fail:
8495 return NULL;
8496 }
8497
8498
8499 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8500 PyObject *obj;
8501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8502 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8503 Py_INCREF(obj);
8504 return Py_BuildValue((char *)"");
8505 }
8506 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj;
8508 wxWindow *arg1 = (wxWindow *) 0 ;
8509 int arg2 = (int) wxID_ANY ;
8510 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8511 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8512 wxSize const &arg4_defvalue = wxDefaultSize ;
8513 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8514 long arg5 = (long) 0 ;
8515 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8516 wxString *arg6 = (wxString *) &arg6_defvalue ;
8517 wxPyVListBox *result;
8518 wxPoint temp3 ;
8519 wxSize temp4 ;
8520 bool temp6 = False ;
8521 PyObject * obj0 = 0 ;
8522 PyObject * obj2 = 0 ;
8523 PyObject * obj3 = 0 ;
8524 PyObject * obj5 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8531 if (obj2) {
8532 {
8533 arg3 = &temp3;
8534 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8535 }
8536 }
8537 if (obj3) {
8538 {
8539 arg4 = &temp4;
8540 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8541 }
8542 }
8543 if (obj5) {
8544 {
8545 arg6 = wxString_in_helper(obj5);
8546 if (arg6 == NULL) SWIG_fail;
8547 temp6 = True;
8548 }
8549 }
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8558 {
8559 if (temp6)
8560 delete arg6;
8561 }
8562 return resultobj;
8563 fail:
8564 {
8565 if (temp6)
8566 delete arg6;
8567 }
8568 return NULL;
8569 }
8570
8571
8572 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxPyVListBox *result;
8575 char *kwnames[] = {
8576 NULL
8577 };
8578
8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (wxPyVListBox *)new wxPyVListBox();
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8597 PyObject *arg2 = (PyObject *) 0 ;
8598 PyObject *arg3 = (PyObject *) 0 ;
8599 PyObject * obj0 = 0 ;
8600 PyObject * obj1 = 0 ;
8601 PyObject * obj2 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "self",(char *) "self",(char *) "_class", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8608 arg2 = obj1;
8609 arg3 = obj2;
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 (arg1)->_setCallbackInfo(arg2,arg3);
8613
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 Py_INCREF(Py_None); resultobj = Py_None;
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj;
8626 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8627 wxWindow *arg2 = (wxWindow *) 0 ;
8628 int arg3 = (int) wxID_ANY ;
8629 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8630 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8631 wxSize const &arg5_defvalue = wxDefaultSize ;
8632 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8633 long arg6 = (long) 0 ;
8634 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8635 wxString *arg7 = (wxString *) &arg7_defvalue ;
8636 bool result;
8637 wxPoint temp4 ;
8638 wxSize temp5 ;
8639 bool temp7 = False ;
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8642 PyObject * obj3 = 0 ;
8643 PyObject * obj4 = 0 ;
8644 PyObject * obj6 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8652 if (obj3) {
8653 {
8654 arg4 = &temp4;
8655 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8656 }
8657 }
8658 if (obj4) {
8659 {
8660 arg5 = &temp5;
8661 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8662 }
8663 }
8664 if (obj6) {
8665 {
8666 arg7 = wxString_in_helper(obj6);
8667 if (arg7 == NULL) SWIG_fail;
8668 temp7 = True;
8669 }
8670 }
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 resultobj = PyInt_FromLong((long)result);
8679 {
8680 if (temp7)
8681 delete arg7;
8682 }
8683 return resultobj;
8684 fail:
8685 {
8686 if (temp7)
8687 delete arg7;
8688 }
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8696 size_t result;
8697 PyObject * obj0 = 0 ;
8698 char *kwnames[] = {
8699 (char *) "self", NULL
8700 };
8701
8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8707
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 resultobj = PyInt_FromLong((long)result);
8712 return resultobj;
8713 fail:
8714 return NULL;
8715 }
8716
8717
8718 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8719 PyObject *resultobj;
8720 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8721 bool result;
8722 PyObject * obj0 = 0 ;
8723 char *kwnames[] = {
8724 (char *) "self", NULL
8725 };
8726
8727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 resultobj = PyInt_FromLong((long)result);
8737 return resultobj;
8738 fail:
8739 return NULL;
8740 }
8741
8742
8743 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj;
8745 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8746 int result;
8747 PyObject * obj0 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "self", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 resultobj = PyInt_FromLong((long)result);
8762 return resultobj;
8763 fail:
8764 return NULL;
8765 }
8766
8767
8768 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj;
8770 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8771 size_t arg2 ;
8772 bool result;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self",(char *) "item", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8781 arg2 = (size_t) PyInt_AsLong(obj1);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8786
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 resultobj = PyInt_FromLong((long)result);
8791 return resultobj;
8792 fail:
8793 return NULL;
8794 }
8795
8796
8797 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8800 size_t arg2 ;
8801 bool result;
8802 PyObject * obj0 = 0 ;
8803 PyObject * obj1 = 0 ;
8804 char *kwnames[] = {
8805 (char *) "self",(char *) "item", NULL
8806 };
8807
8808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8810 arg2 = (size_t) PyInt_AsLong(obj1);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 resultobj = PyInt_FromLong((long)result);
8820 return resultobj;
8821 fail:
8822 return NULL;
8823 }
8824
8825
8826 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8827 PyObject *resultobj;
8828 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8829 size_t result;
8830 PyObject * obj0 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 resultobj = PyInt_FromLong((long)result);
8845 return resultobj;
8846 fail:
8847 return NULL;
8848 }
8849
8850
8851 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8852 PyObject *resultobj;
8853 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8854 unsigned long *arg2 = 0 ;
8855 int result;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self",(char *) "cookie", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8865 if (arg2 == NULL) {
8866 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8867 }
8868 {
8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
8870 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8871
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 resultobj = PyInt_FromLong((long)result);
8876 return resultobj;
8877 fail:
8878 return NULL;
8879 }
8880
8881
8882 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8885 unsigned long *arg2 = 0 ;
8886 int result;
8887 PyObject * obj0 = 0 ;
8888 PyObject * obj1 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "self",(char *) "cookie", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8896 if (arg2 == NULL) {
8897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8898 }
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 resultobj = PyInt_FromLong((long)result);
8907 return resultobj;
8908 fail:
8909 return NULL;
8910 }
8911
8912
8913 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8916 wxPoint result;
8917 PyObject * obj0 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 result = ((wxPyVListBox const *)arg1)->GetMargins();
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 {
8932 wxPoint * resultptr;
8933 resultptr = new wxPoint((wxPoint &) result);
8934 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8935 }
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8945 wxColour *result;
8946 PyObject * obj0 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 {
8956 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8957 result = (wxColour *) &_result_ref;
8958 }
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8964 return resultobj;
8965 fail:
8966 return NULL;
8967 }
8968
8969
8970 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8973 size_t arg2 ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "count", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8982 arg2 = (size_t) PyInt_AsLong(obj1);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 (arg1)->SetItemCount(arg2);
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 Py_INCREF(Py_None); resultobj = Py_None;
8992 return resultobj;
8993 fail:
8994 return NULL;
8995 }
8996
8997
8998 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj;
9000 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9001 PyObject * obj0 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "self", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 (arg1)->Clear();
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 Py_INCREF(Py_None); resultobj = Py_None;
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9025 int arg2 ;
9026 PyObject * obj0 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self",(char *) "selection", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 (arg1)->SetSelection(arg2);
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 Py_INCREF(Py_None); resultobj = Py_None;
9041 return resultobj;
9042 fail:
9043 return NULL;
9044 }
9045
9046
9047 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9050 size_t arg2 ;
9051 bool arg3 = (bool) True ;
9052 bool result;
9053 PyObject * obj0 = 0 ;
9054 PyObject * obj1 = 0 ;
9055 PyObject * obj2 = 0 ;
9056 char *kwnames[] = {
9057 (char *) "self",(char *) "item",(char *) "select", NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9062 arg2 = (size_t) PyInt_AsLong(obj1);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 if (obj2) {
9065 arg3 = PyInt_AsLong(obj2) ? true : false;
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 result = (bool)(arg1)->Select(arg2,arg3);
9071
9072 wxPyEndAllowThreads(__tstate);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 }
9075 resultobj = PyInt_FromLong((long)result);
9076 return resultobj;
9077 fail:
9078 return NULL;
9079 }
9080
9081
9082 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9083 PyObject *resultobj;
9084 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9085 size_t arg2 ;
9086 size_t arg3 ;
9087 bool result;
9088 PyObject * obj0 = 0 ;
9089 PyObject * obj1 = 0 ;
9090 PyObject * obj2 = 0 ;
9091 char *kwnames[] = {
9092 (char *) "self",(char *) "from",(char *) "to", NULL
9093 };
9094
9095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9097 arg2 = (size_t) PyInt_AsLong(obj1);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 arg3 = (size_t) PyInt_AsLong(obj2);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = (bool)(arg1)->SelectRange(arg2,arg3);
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 resultobj = PyInt_FromLong((long)result);
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj;
9117 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9118 size_t arg2 ;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self",(char *) "item", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9127 arg2 = (size_t) PyInt_AsLong(obj1);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->Toggle(arg2);
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 Py_INCREF(Py_None); resultobj = Py_None;
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9146 bool result;
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 result = (bool)(arg1)->SelectAll();
9157
9158 wxPyEndAllowThreads(__tstate);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 }
9161 resultobj = PyInt_FromLong((long)result);
9162 return resultobj;
9163 fail:
9164 return NULL;
9165 }
9166
9167
9168 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj;
9170 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9171 bool result;
9172 PyObject * obj0 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9179 {
9180 PyThreadState* __tstate = wxPyBeginAllowThreads();
9181 result = (bool)(arg1)->DeselectAll();
9182
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) SWIG_fail;
9185 }
9186 resultobj = PyInt_FromLong((long)result);
9187 return resultobj;
9188 fail:
9189 return NULL;
9190 }
9191
9192
9193 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj;
9195 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9196 wxPoint *arg2 = 0 ;
9197 wxPoint temp2 ;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self",(char *) "pt", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9206 {
9207 arg2 = &temp2;
9208 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9209 }
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 (arg1)->SetMargins((wxPoint const &)*arg2);
9213
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 Py_INCREF(Py_None); resultobj = Py_None;
9218 return resultobj;
9219 fail:
9220 return NULL;
9221 }
9222
9223
9224 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9225 PyObject *resultobj;
9226 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9227 int arg2 ;
9228 int arg3 ;
9229 PyObject * obj0 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self",(char *) "x",(char *) "y", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 (arg1)->SetMargins(arg2,arg3);
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 Py_INCREF(Py_None); resultobj = Py_None;
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj;
9252 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9253 wxColour *arg2 = 0 ;
9254 wxColour temp2 ;
9255 PyObject * obj0 = 0 ;
9256 PyObject * obj1 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self",(char *) "col", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9263 {
9264 arg2 = &temp2;
9265 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9266 }
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 Py_INCREF(Py_None); resultobj = Py_None;
9275 return resultobj;
9276 fail:
9277 return NULL;
9278 }
9279
9280
9281 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9282 PyObject *obj;
9283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9284 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9285 Py_INCREF(obj);
9286 return Py_BuildValue((char *)"");
9287 }
9288 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxWindow *arg1 = (wxWindow *) 0 ;
9291 int arg2 = (int) wxID_ANY ;
9292 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9293 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9294 wxSize const &arg4_defvalue = wxDefaultSize ;
9295 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9296 long arg5 = (long) 0 ;
9297 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9298 wxString *arg6 = (wxString *) &arg6_defvalue ;
9299 wxPyHtmlListBox *result;
9300 wxPoint temp3 ;
9301 wxSize temp4 ;
9302 bool temp6 = False ;
9303 PyObject * obj0 = 0 ;
9304 PyObject * obj2 = 0 ;
9305 PyObject * obj3 = 0 ;
9306 PyObject * obj5 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9313 if (obj2) {
9314 {
9315 arg3 = &temp3;
9316 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9317 }
9318 }
9319 if (obj3) {
9320 {
9321 arg4 = &temp4;
9322 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9323 }
9324 }
9325 if (obj5) {
9326 {
9327 arg6 = wxString_in_helper(obj5);
9328 if (arg6 == NULL) SWIG_fail;
9329 temp6 = True;
9330 }
9331 }
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9340 {
9341 if (temp6)
9342 delete arg6;
9343 }
9344 return resultobj;
9345 fail:
9346 {
9347 if (temp6)
9348 delete arg6;
9349 }
9350 return NULL;
9351 }
9352
9353
9354 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj;
9356 wxPyHtmlListBox *result;
9357 char *kwnames[] = {
9358 NULL
9359 };
9360
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9370 return resultobj;
9371 fail:
9372 return NULL;
9373 }
9374
9375
9376 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9377 PyObject *resultobj;
9378 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9379 PyObject *arg2 = (PyObject *) 0 ;
9380 PyObject *arg3 = (PyObject *) 0 ;
9381 PyObject * obj0 = 0 ;
9382 PyObject * obj1 = 0 ;
9383 PyObject * obj2 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "self",(char *) "self",(char *) "_class", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9390 arg2 = obj1;
9391 arg3 = obj2;
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 (arg1)->_setCallbackInfo(arg2,arg3);
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_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9407 PyObject *resultobj;
9408 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9409 wxWindow *arg2 = (wxWindow *) 0 ;
9410 int arg3 = (int) wxID_ANY ;
9411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9413 wxSize const &arg5_defvalue = wxDefaultSize ;
9414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9415 long arg6 = (long) 0 ;
9416 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9417 wxString *arg7 = (wxString *) &arg7_defvalue ;
9418 bool result;
9419 wxPoint temp4 ;
9420 wxSize temp5 ;
9421 bool temp7 = False ;
9422 PyObject * obj0 = 0 ;
9423 PyObject * obj1 = 0 ;
9424 PyObject * obj3 = 0 ;
9425 PyObject * obj4 = 0 ;
9426 PyObject * obj6 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9433 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9434 if (obj3) {
9435 {
9436 arg4 = &temp4;
9437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9438 }
9439 }
9440 if (obj4) {
9441 {
9442 arg5 = &temp5;
9443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9444 }
9445 }
9446 if (obj6) {
9447 {
9448 arg7 = wxString_in_helper(obj6);
9449 if (arg7 == NULL) SWIG_fail;
9450 temp7 = True;
9451 }
9452 }
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 resultobj = PyInt_FromLong((long)result);
9461 {
9462 if (temp7)
9463 delete arg7;
9464 }
9465 return resultobj;
9466 fail:
9467 {
9468 if (temp7)
9469 delete arg7;
9470 }
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9478 PyObject * obj0 = 0 ;
9479 char *kwnames[] = {
9480 (char *) "self", NULL
9481 };
9482
9483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 (arg1)->RefreshAll();
9488
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
9492 Py_INCREF(Py_None); resultobj = Py_None;
9493 return resultobj;
9494 fail:
9495 return NULL;
9496 }
9497
9498
9499 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9500 PyObject *resultobj;
9501 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9502 size_t arg2 ;
9503 PyObject * obj0 = 0 ;
9504 PyObject * obj1 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self",(char *) "count", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9511 arg2 = (size_t) PyInt_AsLong(obj1);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 (arg1)->SetItemCount(arg2);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 Py_INCREF(Py_None); resultobj = Py_None;
9521 return resultobj;
9522 fail:
9523 return NULL;
9524 }
9525
9526
9527 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9528 PyObject *obj;
9529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9530 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9531 Py_INCREF(obj);
9532 return Py_BuildValue((char *)"");
9533 }
9534 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxTaskBarIcon *result;
9537 char *kwnames[] = {
9538 NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9545
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj;
9558 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9559 PyObject * obj0 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 delete arg1;
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 Py_INCREF(Py_None); resultobj = Py_None;
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9583 bool result;
9584 PyObject * obj0 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 resultobj = PyInt_FromLong((long)result);
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9608 bool result;
9609 PyObject * obj0 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 resultobj = PyInt_FromLong((long)result);
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9633 wxIcon *arg2 = 0 ;
9634 wxString const &arg3_defvalue = wxPyEmptyString ;
9635 wxString *arg3 = (wxString *) &arg3_defvalue ;
9636 bool result;
9637 bool temp3 = False ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 PyObject * obj2 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 if (arg2 == NULL) {
9649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9650 }
9651 if (obj2) {
9652 {
9653 arg3 = wxString_in_helper(obj2);
9654 if (arg3 == NULL) SWIG_fail;
9655 temp3 = True;
9656 }
9657 }
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 resultobj = PyInt_FromLong((long)result);
9666 {
9667 if (temp3)
9668 delete arg3;
9669 }
9670 return resultobj;
9671 fail:
9672 {
9673 if (temp3)
9674 delete arg3;
9675 }
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9683 bool result;
9684 PyObject * obj0 = 0 ;
9685 char *kwnames[] = {
9686 (char *) "self", NULL
9687 };
9688
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (bool)(arg1)->RemoveIcon();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = PyInt_FromLong((long)result);
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9708 wxMenu *arg2 = (wxMenu *) 0 ;
9709 bool result;
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self",(char *) "menu", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (bool)(arg1)->PopupMenu(arg2);
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = PyInt_FromLong((long)result);
9727 return resultobj;
9728 fail:
9729 return NULL;
9730 }
9731
9732
9733 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9734 PyObject *obj;
9735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9736 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9737 Py_INCREF(obj);
9738 return Py_BuildValue((char *)"");
9739 }
9740 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxEventType arg1 ;
9743 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9744 wxTaskBarIconEvent *result;
9745 PyObject * obj1 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "evtType",(char *) "tbIcon", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9767 PyObject *obj;
9768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9769 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9770 Py_INCREF(obj);
9771 return Py_BuildValue((char *)"");
9772 }
9773 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj;
9775 wxColourData *result;
9776 char *kwnames[] = {
9777 NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 result = (wxColourData *)new wxColourData();
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9789 return resultobj;
9790 fail:
9791 return NULL;
9792 }
9793
9794
9795 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj;
9797 wxColourData *arg1 = (wxColourData *) 0 ;
9798 PyObject * obj0 = 0 ;
9799 char *kwnames[] = {
9800 (char *) "self", NULL
9801 };
9802
9803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 delete arg1;
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 Py_INCREF(Py_None); resultobj = Py_None;
9813 return resultobj;
9814 fail:
9815 return NULL;
9816 }
9817
9818
9819 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj;
9821 wxColourData *arg1 = (wxColourData *) 0 ;
9822 bool result;
9823 PyObject * obj0 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 result = (bool)(arg1)->GetChooseFull();
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = PyInt_FromLong((long)result);
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxColourData *arg1 = (wxColourData *) 0 ;
9847 wxColour result;
9848 PyObject * obj0 = 0 ;
9849 char *kwnames[] = {
9850 (char *) "self", NULL
9851 };
9852
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = (arg1)->GetColour();
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 {
9863 wxColour * resultptr;
9864 resultptr = new wxColour((wxColour &) result);
9865 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9866 }
9867 return resultobj;
9868 fail:
9869 return NULL;
9870 }
9871
9872
9873 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj;
9875 wxColourData *arg1 = (wxColourData *) 0 ;
9876 int arg2 ;
9877 wxColour result;
9878 PyObject * obj0 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self",(char *) "i", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (arg1)->GetCustomColour(arg2);
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 wxColour * resultptr;
9894 resultptr = new wxColour((wxColour &) result);
9895 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9896 }
9897 return resultobj;
9898 fail:
9899 return NULL;
9900 }
9901
9902
9903 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxColourData *arg1 = (wxColourData *) 0 ;
9906 int arg2 ;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self",(char *) "flag", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 (arg1)->SetChooseFull(arg2);
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 Py_INCREF(Py_None); resultobj = Py_None;
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxColourData *arg1 = (wxColourData *) 0 ;
9931 wxColour *arg2 = 0 ;
9932 wxColour temp2 ;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 char *kwnames[] = {
9936 (char *) "self",(char *) "colour", NULL
9937 };
9938
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9941 {
9942 arg2 = &temp2;
9943 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9944 }
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 (arg1)->SetColour((wxColour const &)*arg2);
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 Py_INCREF(Py_None); resultobj = Py_None;
9953 return resultobj;
9954 fail:
9955 return NULL;
9956 }
9957
9958
9959 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9960 PyObject *resultobj;
9961 wxColourData *arg1 = (wxColourData *) 0 ;
9962 int arg2 ;
9963 wxColour *arg3 = 0 ;
9964 wxColour temp3 ;
9965 PyObject * obj0 = 0 ;
9966 PyObject * obj2 = 0 ;
9967 char *kwnames[] = {
9968 (char *) "self",(char *) "i",(char *) "colour", NULL
9969 };
9970
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9973 {
9974 arg3 = &temp3;
9975 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 Py_INCREF(Py_None); resultobj = Py_None;
9985 return resultobj;
9986 fail:
9987 return NULL;
9988 }
9989
9990
9991 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9992 PyObject *obj;
9993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9994 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9995 Py_INCREF(obj);
9996 return Py_BuildValue((char *)"");
9997 }
9998 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxWindow *arg1 = (wxWindow *) 0 ;
10001 wxColourData *arg2 = (wxColourData *) NULL ;
10002 wxColourDialog *result;
10003 PyObject * obj0 = 0 ;
10004 PyObject * obj1 = 0 ;
10005 char *kwnames[] = {
10006 (char *) "parent",(char *) "data", NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10011 if (obj1) {
10012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10013 }
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10022 return resultobj;
10023 fail:
10024 return NULL;
10025 }
10026
10027
10028 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj;
10030 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10031 wxColourData *result;
10032 PyObject * obj0 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 {
10042 wxColourData &_result_ref = (arg1)->GetColourData();
10043 result = (wxColourData *) &_result_ref;
10044 }
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10050 return resultobj;
10051 fail:
10052 return NULL;
10053 }
10054
10055
10056 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10057 PyObject *resultobj;
10058 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10059 int result;
10060 PyObject * obj0 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (int)(arg1)->ShowModal();
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 resultobj = PyInt_FromLong((long)result);
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10082 PyObject *obj;
10083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10084 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10085 Py_INCREF(obj);
10086 return Py_BuildValue((char *)"");
10087 }
10088 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxWindow *arg1 = (wxWindow *) 0 ;
10091 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10092 wxString *arg2 = (wxString *) &arg2_defvalue ;
10093 wxString const &arg3_defvalue = wxPyEmptyString ;
10094 wxString *arg3 = (wxString *) &arg3_defvalue ;
10095 long arg4 = (long) 0 ;
10096 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10097 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10098 wxSize const &arg6_defvalue = wxDefaultSize ;
10099 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10100 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10101 wxString *arg7 = (wxString *) &arg7_defvalue ;
10102 wxDirDialog *result;
10103 bool temp2 = False ;
10104 bool temp3 = False ;
10105 wxPoint temp5 ;
10106 wxSize temp6 ;
10107 bool temp7 = False ;
10108 PyObject * obj0 = 0 ;
10109 PyObject * obj1 = 0 ;
10110 PyObject * obj2 = 0 ;
10111 PyObject * obj4 = 0 ;
10112 PyObject * obj5 = 0 ;
10113 PyObject * obj6 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10120 if (obj1) {
10121 {
10122 arg2 = wxString_in_helper(obj1);
10123 if (arg2 == NULL) SWIG_fail;
10124 temp2 = True;
10125 }
10126 }
10127 if (obj2) {
10128 {
10129 arg3 = wxString_in_helper(obj2);
10130 if (arg3 == NULL) SWIG_fail;
10131 temp3 = True;
10132 }
10133 }
10134 if (obj4) {
10135 {
10136 arg5 = &temp5;
10137 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10138 }
10139 }
10140 if (obj5) {
10141 {
10142 arg6 = &temp6;
10143 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10144 }
10145 }
10146 if (obj6) {
10147 {
10148 arg7 = wxString_in_helper(obj6);
10149 if (arg7 == NULL) SWIG_fail;
10150 temp7 = True;
10151 }
10152 }
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
10160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10161 {
10162 if (temp2)
10163 delete arg2;
10164 }
10165 {
10166 if (temp3)
10167 delete arg3;
10168 }
10169 {
10170 if (temp7)
10171 delete arg7;
10172 }
10173 return resultobj;
10174 fail:
10175 {
10176 if (temp2)
10177 delete arg2;
10178 }
10179 {
10180 if (temp3)
10181 delete arg3;
10182 }
10183 {
10184 if (temp7)
10185 delete arg7;
10186 }
10187 return NULL;
10188 }
10189
10190
10191 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10194 wxString result;
10195 PyObject * obj0 = 0 ;
10196 char *kwnames[] = {
10197 (char *) "self", NULL
10198 };
10199
10200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (arg1)->GetPath();
10205
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 {
10210 #if wxUSE_UNICODE
10211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10212 #else
10213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10214 #endif
10215 }
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10225 wxString result;
10226 PyObject * obj0 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (arg1)->GetMessage();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 {
10241 #if wxUSE_UNICODE
10242 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10243 #else
10244 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10245 #endif
10246 }
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj;
10255 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10256 long result;
10257 PyObject * obj0 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (long)(arg1)->GetStyle();
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 resultobj = PyInt_FromLong((long)result);
10272 return resultobj;
10273 fail:
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10281 wxString *arg2 = 0 ;
10282 bool temp2 = False ;
10283 PyObject * obj0 = 0 ;
10284 PyObject * obj1 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self",(char *) "message", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10291 {
10292 arg2 = wxString_in_helper(obj1);
10293 if (arg2 == NULL) SWIG_fail;
10294 temp2 = True;
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->SetMessage((wxString const &)*arg2);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 {
10305 if (temp2)
10306 delete arg2;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10321 wxString *arg2 = 0 ;
10322 bool temp2 = False ;
10323 PyObject * obj0 = 0 ;
10324 PyObject * obj1 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self",(char *) "path", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 {
10332 arg2 = wxString_in_helper(obj1);
10333 if (arg2 == NULL) SWIG_fail;
10334 temp2 = True;
10335 }
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 (arg1)->SetPath((wxString const &)*arg2);
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 Py_INCREF(Py_None); resultobj = Py_None;
10344 {
10345 if (temp2)
10346 delete arg2;
10347 }
10348 return resultobj;
10349 fail:
10350 {
10351 if (temp2)
10352 delete arg2;
10353 }
10354 return NULL;
10355 }
10356
10357
10358 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj;
10360 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10361 int result;
10362 PyObject * obj0 = 0 ;
10363 char *kwnames[] = {
10364 (char *) "self", NULL
10365 };
10366
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 result = (int)(arg1)->ShowModal();
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 resultobj = PyInt_FromLong((long)result);
10377 return resultobj;
10378 fail:
10379 return NULL;
10380 }
10381
10382
10383 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10384 PyObject *obj;
10385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10386 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10387 Py_INCREF(obj);
10388 return Py_BuildValue((char *)"");
10389 }
10390 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10391 PyObject *resultobj;
10392 wxWindow *arg1 = (wxWindow *) 0 ;
10393 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10394 wxString *arg2 = (wxString *) &arg2_defvalue ;
10395 wxString const &arg3_defvalue = wxPyEmptyString ;
10396 wxString *arg3 = (wxString *) &arg3_defvalue ;
10397 wxString const &arg4_defvalue = wxPyEmptyString ;
10398 wxString *arg4 = (wxString *) &arg4_defvalue ;
10399 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10400 wxString *arg5 = (wxString *) &arg5_defvalue ;
10401 long arg6 = (long) 0 ;
10402 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10403 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10404 wxFileDialog *result;
10405 bool temp2 = False ;
10406 bool temp3 = False ;
10407 bool temp4 = False ;
10408 bool temp5 = False ;
10409 wxPoint temp7 ;
10410 PyObject * obj0 = 0 ;
10411 PyObject * obj1 = 0 ;
10412 PyObject * obj2 = 0 ;
10413 PyObject * obj3 = 0 ;
10414 PyObject * obj4 = 0 ;
10415 PyObject * obj6 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10422 if (obj1) {
10423 {
10424 arg2 = wxString_in_helper(obj1);
10425 if (arg2 == NULL) SWIG_fail;
10426 temp2 = True;
10427 }
10428 }
10429 if (obj2) {
10430 {
10431 arg3 = wxString_in_helper(obj2);
10432 if (arg3 == NULL) SWIG_fail;
10433 temp3 = True;
10434 }
10435 }
10436 if (obj3) {
10437 {
10438 arg4 = wxString_in_helper(obj3);
10439 if (arg4 == NULL) SWIG_fail;
10440 temp4 = True;
10441 }
10442 }
10443 if (obj4) {
10444 {
10445 arg5 = wxString_in_helper(obj4);
10446 if (arg5 == NULL) SWIG_fail;
10447 temp5 = True;
10448 }
10449 }
10450 if (obj6) {
10451 {
10452 arg7 = &temp7;
10453 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10454 }
10455 }
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10464 {
10465 if (temp2)
10466 delete arg2;
10467 }
10468 {
10469 if (temp3)
10470 delete arg3;
10471 }
10472 {
10473 if (temp4)
10474 delete arg4;
10475 }
10476 {
10477 if (temp5)
10478 delete arg5;
10479 }
10480 return resultobj;
10481 fail:
10482 {
10483 if (temp2)
10484 delete arg2;
10485 }
10486 {
10487 if (temp3)
10488 delete arg3;
10489 }
10490 {
10491 if (temp4)
10492 delete arg4;
10493 }
10494 {
10495 if (temp5)
10496 delete arg5;
10497 }
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj;
10504 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10505 wxString *arg2 = 0 ;
10506 bool temp2 = False ;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "message", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10515 {
10516 arg2 = wxString_in_helper(obj1);
10517 if (arg2 == NULL) SWIG_fail;
10518 temp2 = True;
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetMessage((wxString const &)*arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 {
10529 if (temp2)
10530 delete arg2;
10531 }
10532 return resultobj;
10533 fail:
10534 {
10535 if (temp2)
10536 delete arg2;
10537 }
10538 return NULL;
10539 }
10540
10541
10542 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10545 wxString *arg2 = 0 ;
10546 bool temp2 = False ;
10547 PyObject * obj0 = 0 ;
10548 PyObject * obj1 = 0 ;
10549 char *kwnames[] = {
10550 (char *) "self",(char *) "path", NULL
10551 };
10552
10553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10555 {
10556 arg2 = wxString_in_helper(obj1);
10557 if (arg2 == NULL) SWIG_fail;
10558 temp2 = True;
10559 }
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SetPath((wxString const &)*arg2);
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 {
10569 if (temp2)
10570 delete arg2;
10571 }
10572 return resultobj;
10573 fail:
10574 {
10575 if (temp2)
10576 delete arg2;
10577 }
10578 return NULL;
10579 }
10580
10581
10582 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10585 wxString *arg2 = 0 ;
10586 bool temp2 = False ;
10587 PyObject * obj0 = 0 ;
10588 PyObject * obj1 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "self",(char *) "dir", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10595 {
10596 arg2 = wxString_in_helper(obj1);
10597 if (arg2 == NULL) SWIG_fail;
10598 temp2 = True;
10599 }
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->SetDirectory((wxString const &)*arg2);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 Py_INCREF(Py_None); resultobj = Py_None;
10608 {
10609 if (temp2)
10610 delete arg2;
10611 }
10612 return resultobj;
10613 fail:
10614 {
10615 if (temp2)
10616 delete arg2;
10617 }
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10625 wxString *arg2 = 0 ;
10626 bool temp2 = False ;
10627 PyObject * obj0 = 0 ;
10628 PyObject * obj1 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self",(char *) "name", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 arg2 = wxString_in_helper(obj1);
10637 if (arg2 == NULL) SWIG_fail;
10638 temp2 = True;
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 (arg1)->SetFilename((wxString const &)*arg2);
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 Py_INCREF(Py_None); resultobj = Py_None;
10648 {
10649 if (temp2)
10650 delete arg2;
10651 }
10652 return resultobj;
10653 fail:
10654 {
10655 if (temp2)
10656 delete arg2;
10657 }
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10665 wxString *arg2 = 0 ;
10666 bool temp2 = False ;
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj1 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "self",(char *) "wildCard", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10675 {
10676 arg2 = wxString_in_helper(obj1);
10677 if (arg2 == NULL) SWIG_fail;
10678 temp2 = True;
10679 }
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 (arg1)->SetWildcard((wxString const &)*arg2);
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 Py_INCREF(Py_None); resultobj = Py_None;
10688 {
10689 if (temp2)
10690 delete arg2;
10691 }
10692 return resultobj;
10693 fail:
10694 {
10695 if (temp2)
10696 delete arg2;
10697 }
10698 return NULL;
10699 }
10700
10701
10702 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj;
10704 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10705 long arg2 ;
10706 PyObject * obj0 = 0 ;
10707 char *kwnames[] = {
10708 (char *) "self",(char *) "style", NULL
10709 };
10710
10711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 (arg1)->SetStyle(arg2);
10716
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 Py_INCREF(Py_None); resultobj = Py_None;
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10728 PyObject *resultobj;
10729 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10730 int arg2 ;
10731 PyObject * obj0 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "self",(char *) "filterIndex", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 (arg1)->SetFilterIndex(arg2);
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 Py_INCREF(Py_None); resultobj = Py_None;
10746 return resultobj;
10747 fail:
10748 return NULL;
10749 }
10750
10751
10752 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10755 wxString result;
10756 PyObject * obj0 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = ((wxFileDialog const *)arg1)->GetMessage();
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 {
10771 #if wxUSE_UNICODE
10772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10773 #else
10774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10775 #endif
10776 }
10777 return resultobj;
10778 fail:
10779 return NULL;
10780 }
10781
10782
10783 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj;
10785 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10786 wxString result;
10787 PyObject * obj0 = 0 ;
10788 char *kwnames[] = {
10789 (char *) "self", NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = ((wxFileDialog const *)arg1)->GetPath();
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 {
10802 #if wxUSE_UNICODE
10803 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10804 #else
10805 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10806 #endif
10807 }
10808 return resultobj;
10809 fail:
10810 return NULL;
10811 }
10812
10813
10814 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10815 PyObject *resultobj;
10816 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10817 wxString result;
10818 PyObject * obj0 = 0 ;
10819 char *kwnames[] = {
10820 (char *) "self", NULL
10821 };
10822
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = ((wxFileDialog const *)arg1)->GetDirectory();
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 {
10833 #if wxUSE_UNICODE
10834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10835 #else
10836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10837 #endif
10838 }
10839 return resultobj;
10840 fail:
10841 return NULL;
10842 }
10843
10844
10845 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj;
10847 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10848 wxString result;
10849 PyObject * obj0 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 result = ((wxFileDialog const *)arg1)->GetFilename();
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 }
10863 {
10864 #if wxUSE_UNICODE
10865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10866 #else
10867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10868 #endif
10869 }
10870 return resultobj;
10871 fail:
10872 return NULL;
10873 }
10874
10875
10876 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10877 PyObject *resultobj;
10878 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10879 wxString result;
10880 PyObject * obj0 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10887 {
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 result = ((wxFileDialog const *)arg1)->GetWildcard();
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 {
10895 #if wxUSE_UNICODE
10896 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10897 #else
10898 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10899 #endif
10900 }
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10908 PyObject *resultobj;
10909 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10910 long result;
10911 PyObject * obj0 = 0 ;
10912 char *kwnames[] = {
10913 (char *) "self", NULL
10914 };
10915
10916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 resultobj = PyInt_FromLong((long)result);
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj;
10934 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10935 int result;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 resultobj = PyInt_FromLong((long)result);
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj;
10959 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10960 PyObject *result;
10961 PyObject * obj0 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 resultobj = result;
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10985 PyObject *result;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 resultobj = result;
11001 return resultobj;
11002 fail:
11003 return NULL;
11004 }
11005
11006
11007 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11008 PyObject *obj;
11009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11010 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11011 Py_INCREF(obj);
11012 return Py_BuildValue((char *)"");
11013 }
11014 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxWindow *arg1 = (wxWindow *) 0 ;
11017 wxString *arg2 = 0 ;
11018 wxString *arg3 = 0 ;
11019 int arg4 ;
11020 wxString *arg5 = (wxString *) 0 ;
11021 long arg6 = (long) wxCHOICEDLG_STYLE ;
11022 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11023 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11024 wxMultiChoiceDialog *result;
11025 bool temp2 = False ;
11026 bool temp3 = False ;
11027 wxPoint temp7 ;
11028 PyObject * obj0 = 0 ;
11029 PyObject * obj1 = 0 ;
11030 PyObject * obj2 = 0 ;
11031 PyObject * obj4 = 0 ;
11032 PyObject * obj6 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11039 {
11040 arg2 = wxString_in_helper(obj1);
11041 if (arg2 == NULL) SWIG_fail;
11042 temp2 = True;
11043 }
11044 {
11045 arg3 = wxString_in_helper(obj2);
11046 if (arg3 == NULL) SWIG_fail;
11047 temp3 = True;
11048 }
11049 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11050 if (obj6) {
11051 {
11052 arg7 = &temp7;
11053 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11054 }
11055 }
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11064 {
11065 if (temp2)
11066 delete arg2;
11067 }
11068 {
11069 if (temp3)
11070 delete arg3;
11071 }
11072 return resultobj;
11073 fail:
11074 {
11075 if (temp2)
11076 delete arg2;
11077 }
11078 {
11079 if (temp3)
11080 delete arg3;
11081 }
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11089 wxArrayInt *arg2 = 0 ;
11090 PyObject * obj0 = 0 ;
11091 PyObject * obj1 = 0 ;
11092 char *kwnames[] = {
11093 (char *) "self",(char *) "selections", NULL
11094 };
11095
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11098 {
11099 if (! PySequence_Check(obj1)) {
11100 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11101 SWIG_fail;
11102 }
11103 arg2 = new wxArrayInt;
11104 int i, len=PySequence_Length(obj1);
11105 for (i=0; i<len; i++) {
11106 PyObject* item = PySequence_GetItem(obj1, i);
11107 PyObject* number = PyNumber_Int(item);
11108 arg2->Add(PyInt_AS_LONG(number));
11109 Py_DECREF(item);
11110 Py_DECREF(number);
11111 }
11112 }
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 Py_INCREF(Py_None); resultobj = Py_None;
11121 {
11122 if (arg2) delete arg2;
11123 }
11124 return resultobj;
11125 fail:
11126 {
11127 if (arg2) delete arg2;
11128 }
11129 return NULL;
11130 }
11131
11132
11133 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11134 PyObject *resultobj;
11135 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11136 PyObject *result;
11137 PyObject * obj0 = 0 ;
11138 char *kwnames[] = {
11139 (char *) "self", NULL
11140 };
11141
11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 resultobj = result;
11152 return resultobj;
11153 fail:
11154 return NULL;
11155 }
11156
11157
11158 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11159 PyObject *obj;
11160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11161 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11162 Py_INCREF(obj);
11163 return Py_BuildValue((char *)"");
11164 }
11165 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11166 PyObject *resultobj;
11167 wxWindow *arg1 = (wxWindow *) 0 ;
11168 wxString *arg2 = 0 ;
11169 wxString *arg3 = 0 ;
11170 int arg4 ;
11171 wxString *arg5 = (wxString *) 0 ;
11172 long arg6 = (long) wxCHOICEDLG_STYLE ;
11173 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11174 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11175 wxSingleChoiceDialog *result;
11176 bool temp2 = False ;
11177 bool temp3 = False ;
11178 wxPoint temp6 ;
11179 PyObject * obj0 = 0 ;
11180 PyObject * obj1 = 0 ;
11181 PyObject * obj2 = 0 ;
11182 PyObject * obj3 = 0 ;
11183 PyObject * obj5 = 0 ;
11184 char *kwnames[] = {
11185 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11186 };
11187
11188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11190 {
11191 arg2 = wxString_in_helper(obj1);
11192 if (arg2 == NULL) SWIG_fail;
11193 temp2 = True;
11194 }
11195 {
11196 arg3 = wxString_in_helper(obj2);
11197 if (arg3 == NULL) SWIG_fail;
11198 temp3 = True;
11199 }
11200 {
11201 arg4 = PyList_Size(obj3);
11202 arg5 = wxString_LIST_helper(obj3);
11203 if (arg5 == NULL) SWIG_fail;
11204 }
11205 if (obj5) {
11206 {
11207 arg7 = &temp6;
11208 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11209 }
11210 }
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11219 {
11220 if (temp2)
11221 delete arg2;
11222 }
11223 {
11224 if (temp3)
11225 delete arg3;
11226 }
11227 {
11228 if (arg5) delete [] arg5;
11229 }
11230 return resultobj;
11231 fail:
11232 {
11233 if (temp2)
11234 delete arg2;
11235 }
11236 {
11237 if (temp3)
11238 delete arg3;
11239 }
11240 {
11241 if (arg5) delete [] arg5;
11242 }
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11250 int result;
11251 PyObject * obj0 = 0 ;
11252 char *kwnames[] = {
11253 (char *) "self", NULL
11254 };
11255
11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 result = (int)(arg1)->GetSelection();
11261
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 resultobj = PyInt_FromLong((long)result);
11266 return resultobj;
11267 fail:
11268 return NULL;
11269 }
11270
11271
11272 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj;
11274 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11275 wxString result;
11276 PyObject * obj0 = 0 ;
11277 char *kwnames[] = {
11278 (char *) "self", NULL
11279 };
11280
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 result = (arg1)->GetStringSelection();
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 {
11291 #if wxUSE_UNICODE
11292 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11293 #else
11294 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11295 #endif
11296 }
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11304 PyObject *resultobj;
11305 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11306 int arg2 ;
11307 PyObject * obj0 = 0 ;
11308 char *kwnames[] = {
11309 (char *) "self",(char *) "sel", NULL
11310 };
11311
11312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->SetSelection(arg2);
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 Py_INCREF(Py_None); resultobj = Py_None;
11322 return resultobj;
11323 fail:
11324 return NULL;
11325 }
11326
11327
11328 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11329 PyObject *resultobj;
11330 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11331 int result;
11332 PyObject * obj0 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (int)(arg1)->ShowModal();
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = PyInt_FromLong((long)result);
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11354 PyObject *obj;
11355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11356 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11357 Py_INCREF(obj);
11358 return Py_BuildValue((char *)"");
11359 }
11360 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxWindow *arg1 = (wxWindow *) 0 ;
11363 wxString *arg2 = 0 ;
11364 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11365 wxString *arg3 = (wxString *) &arg3_defvalue ;
11366 wxString const &arg4_defvalue = wxPyEmptyString ;
11367 wxString *arg4 = (wxString *) &arg4_defvalue ;
11368 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11369 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11370 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11371 wxTextEntryDialog *result;
11372 bool temp2 = False ;
11373 bool temp3 = False ;
11374 bool temp4 = False ;
11375 wxPoint temp6 ;
11376 PyObject * obj0 = 0 ;
11377 PyObject * obj1 = 0 ;
11378 PyObject * obj2 = 0 ;
11379 PyObject * obj3 = 0 ;
11380 PyObject * obj5 = 0 ;
11381 char *kwnames[] = {
11382 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11383 };
11384
11385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11387 {
11388 arg2 = wxString_in_helper(obj1);
11389 if (arg2 == NULL) SWIG_fail;
11390 temp2 = True;
11391 }
11392 if (obj2) {
11393 {
11394 arg3 = wxString_in_helper(obj2);
11395 if (arg3 == NULL) SWIG_fail;
11396 temp3 = True;
11397 }
11398 }
11399 if (obj3) {
11400 {
11401 arg4 = wxString_in_helper(obj3);
11402 if (arg4 == NULL) SWIG_fail;
11403 temp4 = True;
11404 }
11405 }
11406 if (obj5) {
11407 {
11408 arg6 = &temp6;
11409 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11410 }
11411 }
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11420 {
11421 if (temp2)
11422 delete arg2;
11423 }
11424 {
11425 if (temp3)
11426 delete arg3;
11427 }
11428 {
11429 if (temp4)
11430 delete arg4;
11431 }
11432 return resultobj;
11433 fail:
11434 {
11435 if (temp2)
11436 delete arg2;
11437 }
11438 {
11439 if (temp3)
11440 delete arg3;
11441 }
11442 {
11443 if (temp4)
11444 delete arg4;
11445 }
11446 return NULL;
11447 }
11448
11449
11450 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11453 wxString result;
11454 PyObject * obj0 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 result = (arg1)->GetValue();
11464
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 {
11469 #if wxUSE_UNICODE
11470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11471 #else
11472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11473 #endif
11474 }
11475 return resultobj;
11476 fail:
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11484 wxString *arg2 = 0 ;
11485 bool temp2 = False ;
11486 PyObject * obj0 = 0 ;
11487 PyObject * obj1 = 0 ;
11488 char *kwnames[] = {
11489 (char *) "self",(char *) "value", NULL
11490 };
11491
11492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11494 {
11495 arg2 = wxString_in_helper(obj1);
11496 if (arg2 == NULL) SWIG_fail;
11497 temp2 = True;
11498 }
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 (arg1)->SetValue((wxString const &)*arg2);
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 Py_INCREF(Py_None); resultobj = Py_None;
11507 {
11508 if (temp2)
11509 delete arg2;
11510 }
11511 return resultobj;
11512 fail:
11513 {
11514 if (temp2)
11515 delete arg2;
11516 }
11517 return NULL;
11518 }
11519
11520
11521 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11524 int result;
11525 PyObject * obj0 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (int)(arg1)->ShowModal();
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 resultobj = PyInt_FromLong((long)result);
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11547 PyObject *obj;
11548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11549 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11550 Py_INCREF(obj);
11551 return Py_BuildValue((char *)"");
11552 }
11553 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxFontData *result;
11556 char *kwnames[] = {
11557 NULL
11558 };
11559
11560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 result = (wxFontData *)new wxFontData();
11564
11565 wxPyEndAllowThreads(__tstate);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
11568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11569 return resultobj;
11570 fail:
11571 return NULL;
11572 }
11573
11574
11575 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11576 PyObject *resultobj;
11577 wxFontData *arg1 = (wxFontData *) 0 ;
11578 PyObject * obj0 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 delete arg1;
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 Py_INCREF(Py_None); resultobj = Py_None;
11593 return resultobj;
11594 fail:
11595 return NULL;
11596 }
11597
11598
11599 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxFontData *arg1 = (wxFontData *) 0 ;
11602 bool arg2 ;
11603 PyObject * obj0 = 0 ;
11604 PyObject * obj1 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self",(char *) "enable", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11611 arg2 = PyInt_AsLong(obj1) ? true : false;
11612 if (PyErr_Occurred()) SWIG_fail;
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 (arg1)->EnableEffects(arg2);
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 Py_INCREF(Py_None); resultobj = Py_None;
11621 return resultobj;
11622 fail:
11623 return NULL;
11624 }
11625
11626
11627 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11628 PyObject *resultobj;
11629 wxFontData *arg1 = (wxFontData *) 0 ;
11630 bool result;
11631 PyObject * obj0 = 0 ;
11632 char *kwnames[] = {
11633 (char *) "self", NULL
11634 };
11635
11636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 result = (bool)(arg1)->GetAllowSymbols();
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 resultobj = PyInt_FromLong((long)result);
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxFontData *arg1 = (wxFontData *) 0 ;
11655 wxColour result;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (arg1)->GetColour();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 {
11671 wxColour * resultptr;
11672 resultptr = new wxColour((wxColour &) result);
11673 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11674 }
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxFontData *arg1 = (wxFontData *) 0 ;
11684 wxFont result;
11685 PyObject * obj0 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 result = (arg1)->GetChosenFont();
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 {
11700 wxFont * resultptr;
11701 resultptr = new wxFont((wxFont &) result);
11702 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11703 }
11704 return resultobj;
11705 fail:
11706 return NULL;
11707 }
11708
11709
11710 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11711 PyObject *resultobj;
11712 wxFontData *arg1 = (wxFontData *) 0 ;
11713 bool result;
11714 PyObject * obj0 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (bool)(arg1)->GetEnableEffects();
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 resultobj = PyInt_FromLong((long)result);
11729 return resultobj;
11730 fail:
11731 return NULL;
11732 }
11733
11734
11735 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxFontData *arg1 = (wxFontData *) 0 ;
11738 wxFont result;
11739 PyObject * obj0 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11746 {
11747 PyThreadState* __tstate = wxPyBeginAllowThreads();
11748 result = (arg1)->GetInitialFont();
11749
11750 wxPyEndAllowThreads(__tstate);
11751 if (PyErr_Occurred()) SWIG_fail;
11752 }
11753 {
11754 wxFont * resultptr;
11755 resultptr = new wxFont((wxFont &) result);
11756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11757 }
11758 return resultobj;
11759 fail:
11760 return NULL;
11761 }
11762
11763
11764 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11765 PyObject *resultobj;
11766 wxFontData *arg1 = (wxFontData *) 0 ;
11767 bool result;
11768 PyObject * obj0 = 0 ;
11769 char *kwnames[] = {
11770 (char *) "self", NULL
11771 };
11772
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 result = (bool)(arg1)->GetShowHelp();
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 resultobj = PyInt_FromLong((long)result);
11783 return resultobj;
11784 fail:
11785 return NULL;
11786 }
11787
11788
11789 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxFontData *arg1 = (wxFontData *) 0 ;
11792 bool arg2 ;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 char *kwnames[] = {
11796 (char *) "self",(char *) "allowSymbols", NULL
11797 };
11798
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11801 arg2 = PyInt_AsLong(obj1) ? true : false;
11802 if (PyErr_Occurred()) SWIG_fail;
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 (arg1)->SetAllowSymbols(arg2);
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 Py_INCREF(Py_None); resultobj = Py_None;
11811 return resultobj;
11812 fail:
11813 return NULL;
11814 }
11815
11816
11817 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxFontData *arg1 = (wxFontData *) 0 ;
11820 wxFont *arg2 = 0 ;
11821 PyObject * obj0 = 0 ;
11822 PyObject * obj1 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "self",(char *) "font", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11829 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11830 if (arg2 == NULL) {
11831 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11832 }
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 (arg1)->SetChosenFont((wxFont const &)*arg2);
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 Py_INCREF(Py_None); resultobj = Py_None;
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11848 PyObject *resultobj;
11849 wxFontData *arg1 = (wxFontData *) 0 ;
11850 wxColour *arg2 = 0 ;
11851 wxColour temp2 ;
11852 PyObject * obj0 = 0 ;
11853 PyObject * obj1 = 0 ;
11854 char *kwnames[] = {
11855 (char *) "self",(char *) "colour", NULL
11856 };
11857
11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11860 {
11861 arg2 = &temp2;
11862 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11863 }
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
11866 (arg1)->SetColour((wxColour const &)*arg2);
11867
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 Py_INCREF(Py_None); resultobj = Py_None;
11872 return resultobj;
11873 fail:
11874 return NULL;
11875 }
11876
11877
11878 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11879 PyObject *resultobj;
11880 wxFontData *arg1 = (wxFontData *) 0 ;
11881 wxFont *arg2 = 0 ;
11882 PyObject * obj0 = 0 ;
11883 PyObject * obj1 = 0 ;
11884 char *kwnames[] = {
11885 (char *) "self",(char *) "font", NULL
11886 };
11887
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11891 if (arg2 == NULL) {
11892 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11893 }
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 (arg1)->SetInitialFont((wxFont const &)*arg2);
11897
11898 wxPyEndAllowThreads(__tstate);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 Py_INCREF(Py_None); resultobj = Py_None;
11902 return resultobj;
11903 fail:
11904 return NULL;
11905 }
11906
11907
11908 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11909 PyObject *resultobj;
11910 wxFontData *arg1 = (wxFontData *) 0 ;
11911 int arg2 ;
11912 int arg3 ;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self",(char *) "min",(char *) "max", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 (arg1)->SetRange(arg2,arg3);
11923
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 Py_INCREF(Py_None); resultobj = Py_None;
11928 return resultobj;
11929 fail:
11930 return NULL;
11931 }
11932
11933
11934 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11935 PyObject *resultobj;
11936 wxFontData *arg1 = (wxFontData *) 0 ;
11937 bool arg2 ;
11938 PyObject * obj0 = 0 ;
11939 PyObject * obj1 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "self",(char *) "showHelp", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11946 arg2 = PyInt_AsLong(obj1) ? true : false;
11947 if (PyErr_Occurred()) SWIG_fail;
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 (arg1)->SetShowHelp(arg2);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 Py_INCREF(Py_None); resultobj = Py_None;
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11963 PyObject *obj;
11964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11965 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11966 Py_INCREF(obj);
11967 return Py_BuildValue((char *)"");
11968 }
11969 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj;
11971 wxWindow *arg1 = (wxWindow *) 0 ;
11972 wxFontData *arg2 = 0 ;
11973 wxFontDialog *result;
11974 PyObject * obj0 = 0 ;
11975 PyObject * obj1 = 0 ;
11976 char *kwnames[] = {
11977 (char *) "parent",(char *) "data", NULL
11978 };
11979
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11982 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11983 if (arg2 == NULL) {
11984 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12003 wxFontData *result;
12004 PyObject * obj0 = 0 ;
12005 char *kwnames[] = {
12006 (char *) "self", NULL
12007 };
12008
12009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 {
12014 wxFontData &_result_ref = (arg1)->GetFontData();
12015 result = (wxFontData *) &_result_ref;
12016 }
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12022 return resultobj;
12023 fail:
12024 return NULL;
12025 }
12026
12027
12028 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12029 PyObject *resultobj;
12030 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12031 int result;
12032 PyObject * obj0 = 0 ;
12033 char *kwnames[] = {
12034 (char *) "self", NULL
12035 };
12036
12037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (int)(arg1)->ShowModal();
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 resultobj = PyInt_FromLong((long)result);
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12054 PyObject *obj;
12055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12056 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12057 Py_INCREF(obj);
12058 return Py_BuildValue((char *)"");
12059 }
12060 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxWindow *arg1 = (wxWindow *) 0 ;
12063 wxString *arg2 = 0 ;
12064 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12065 wxString *arg3 = (wxString *) &arg3_defvalue ;
12066 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12067 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12068 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12069 wxMessageDialog *result;
12070 bool temp2 = False ;
12071 bool temp3 = False ;
12072 wxPoint temp5 ;
12073 PyObject * obj0 = 0 ;
12074 PyObject * obj1 = 0 ;
12075 PyObject * obj2 = 0 ;
12076 PyObject * obj4 = 0 ;
12077 char *kwnames[] = {
12078 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12079 };
12080
12081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12083 {
12084 arg2 = wxString_in_helper(obj1);
12085 if (arg2 == NULL) SWIG_fail;
12086 temp2 = True;
12087 }
12088 if (obj2) {
12089 {
12090 arg3 = wxString_in_helper(obj2);
12091 if (arg3 == NULL) SWIG_fail;
12092 temp3 = True;
12093 }
12094 }
12095 if (obj4) {
12096 {
12097 arg5 = &temp5;
12098 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12099 }
12100 }
12101 {
12102 PyThreadState* __tstate = wxPyBeginAllowThreads();
12103 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12109 {
12110 if (temp2)
12111 delete arg2;
12112 }
12113 {
12114 if (temp3)
12115 delete arg3;
12116 }
12117 return resultobj;
12118 fail:
12119 {
12120 if (temp2)
12121 delete arg2;
12122 }
12123 {
12124 if (temp3)
12125 delete arg3;
12126 }
12127 return NULL;
12128 }
12129
12130
12131 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj;
12133 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12134 int result;
12135 PyObject * obj0 = 0 ;
12136 char *kwnames[] = {
12137 (char *) "self", NULL
12138 };
12139
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 result = (int)(arg1)->ShowModal();
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = PyInt_FromLong((long)result);
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12157 PyObject *obj;
12158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12159 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12160 Py_INCREF(obj);
12161 return Py_BuildValue((char *)"");
12162 }
12163 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxString *arg1 = 0 ;
12166 wxString *arg2 = 0 ;
12167 int arg3 = (int) 100 ;
12168 wxWindow *arg4 = (wxWindow *) NULL ;
12169 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12170 wxProgressDialog *result;
12171 bool temp1 = False ;
12172 bool temp2 = False ;
12173 PyObject * obj0 = 0 ;
12174 PyObject * obj1 = 0 ;
12175 PyObject * obj3 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12181 {
12182 arg1 = wxString_in_helper(obj0);
12183 if (arg1 == NULL) SWIG_fail;
12184 temp1 = True;
12185 }
12186 {
12187 arg2 = wxString_in_helper(obj1);
12188 if (arg2 == NULL) SWIG_fail;
12189 temp2 = True;
12190 }
12191 if (obj3) {
12192 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12193 }
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12197
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12202 {
12203 if (temp1)
12204 delete arg1;
12205 }
12206 {
12207 if (temp2)
12208 delete arg2;
12209 }
12210 return resultobj;
12211 fail:
12212 {
12213 if (temp1)
12214 delete arg1;
12215 }
12216 {
12217 if (temp2)
12218 delete arg2;
12219 }
12220 return NULL;
12221 }
12222
12223
12224 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj;
12226 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12227 int arg2 ;
12228 wxString const &arg3_defvalue = wxPyEmptyString ;
12229 wxString *arg3 = (wxString *) &arg3_defvalue ;
12230 bool result;
12231 bool temp3 = False ;
12232 PyObject * obj0 = 0 ;
12233 PyObject * obj2 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12240 if (obj2) {
12241 {
12242 arg3 = wxString_in_helper(obj2);
12243 if (arg3 == NULL) SWIG_fail;
12244 temp3 = True;
12245 }
12246 }
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 resultobj = PyInt_FromLong((long)result);
12255 {
12256 if (temp3)
12257 delete arg3;
12258 }
12259 return resultobj;
12260 fail:
12261 {
12262 if (temp3)
12263 delete arg3;
12264 }
12265 return NULL;
12266 }
12267
12268
12269 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj;
12271 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12272 PyObject * obj0 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 (arg1)->Resume();
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 Py_INCREF(Py_None); resultobj = Py_None;
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12294 PyObject *obj;
12295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12296 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12297 Py_INCREF(obj);
12298 return Py_BuildValue((char *)"");
12299 }
12300 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12303 int arg2 = (int) 0 ;
12304 wxFindDialogEvent *result;
12305 char *kwnames[] = {
12306 (char *) "commandType",(char *) "id", NULL
12307 };
12308
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12327 int result;
12328 PyObject * obj0 = 0 ;
12329 char *kwnames[] = {
12330 (char *) "self", NULL
12331 };
12332
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12335 {
12336 PyThreadState* __tstate = wxPyBeginAllowThreads();
12337 result = (int)(arg1)->GetFlags();
12338
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 resultobj = PyInt_FromLong((long)result);
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12350 PyObject *resultobj;
12351 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12352 wxString result;
12353 PyObject * obj0 = 0 ;
12354 char *kwnames[] = {
12355 (char *) "self", NULL
12356 };
12357
12358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 result = (arg1)->GetFindString();
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 {
12368 #if wxUSE_UNICODE
12369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12370 #else
12371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12372 #endif
12373 }
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12383 wxString *result;
12384 PyObject * obj0 = 0 ;
12385 char *kwnames[] = {
12386 (char *) "self", NULL
12387 };
12388
12389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12391 {
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 {
12394 wxString const &_result_ref = (arg1)->GetReplaceString();
12395 result = (wxString *) &_result_ref;
12396 }
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12411 wxFindReplaceDialog *result;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12436 int arg2 ;
12437 PyObject * obj0 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self",(char *) "flags", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12444 {
12445 PyThreadState* __tstate = wxPyBeginAllowThreads();
12446 (arg1)->SetFlags(arg2);
12447
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 Py_INCREF(Py_None); resultobj = Py_None;
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj;
12460 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12461 wxString *arg2 = 0 ;
12462 bool temp2 = False ;
12463 PyObject * obj0 = 0 ;
12464 PyObject * obj1 = 0 ;
12465 char *kwnames[] = {
12466 (char *) "self",(char *) "str", NULL
12467 };
12468
12469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12471 {
12472 arg2 = wxString_in_helper(obj1);
12473 if (arg2 == NULL) SWIG_fail;
12474 temp2 = True;
12475 }
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 (arg1)->SetFindString((wxString const &)*arg2);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 Py_INCREF(Py_None); resultobj = Py_None;
12484 {
12485 if (temp2)
12486 delete arg2;
12487 }
12488 return resultobj;
12489 fail:
12490 {
12491 if (temp2)
12492 delete arg2;
12493 }
12494 return NULL;
12495 }
12496
12497
12498 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12499 PyObject *resultobj;
12500 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12501 wxString *arg2 = 0 ;
12502 bool temp2 = False ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self",(char *) "str", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12511 {
12512 arg2 = wxString_in_helper(obj1);
12513 if (arg2 == NULL) SWIG_fail;
12514 temp2 = True;
12515 }
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 (arg1)->SetReplaceString((wxString const &)*arg2);
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 Py_INCREF(Py_None); resultobj = Py_None;
12524 {
12525 if (temp2)
12526 delete arg2;
12527 }
12528 return resultobj;
12529 fail:
12530 {
12531 if (temp2)
12532 delete arg2;
12533 }
12534 return NULL;
12535 }
12536
12537
12538 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12539 PyObject *obj;
12540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12541 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12542 Py_INCREF(obj);
12543 return Py_BuildValue((char *)"");
12544 }
12545 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject *resultobj;
12547 int arg1 = (int) 0 ;
12548 wxFindReplaceData *result;
12549 char *kwnames[] = {
12550 (char *) "flags", NULL
12551 };
12552
12553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12557
12558 wxPyEndAllowThreads(__tstate);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12562 return resultobj;
12563 fail:
12564 return NULL;
12565 }
12566
12567
12568 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12569 PyObject *resultobj;
12570 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12571 PyObject * obj0 = 0 ;
12572 char *kwnames[] = {
12573 (char *) "self", NULL
12574 };
12575
12576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 delete arg1;
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 Py_INCREF(Py_None); resultobj = Py_None;
12586 return resultobj;
12587 fail:
12588 return NULL;
12589 }
12590
12591
12592 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12595 wxString *result;
12596 PyObject * obj0 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12603 {
12604 PyThreadState* __tstate = wxPyBeginAllowThreads();
12605 {
12606 wxString const &_result_ref = (arg1)->GetFindString();
12607 result = (wxString *) &_result_ref;
12608 }
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12614 return resultobj;
12615 fail:
12616 return NULL;
12617 }
12618
12619
12620 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12623 wxString *result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12631 {
12632 PyThreadState* __tstate = wxPyBeginAllowThreads();
12633 {
12634 wxString const &_result_ref = (arg1)->GetReplaceString();
12635 result = (wxString *) &_result_ref;
12636 }
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12642 return resultobj;
12643 fail:
12644 return NULL;
12645 }
12646
12647
12648 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12649 PyObject *resultobj;
12650 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12651 int result;
12652 PyObject * obj0 = 0 ;
12653 char *kwnames[] = {
12654 (char *) "self", NULL
12655 };
12656
12657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (int)(arg1)->GetFlags();
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 resultobj = PyInt_FromLong((long)result);
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj;
12675 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12676 int arg2 ;
12677 PyObject * obj0 = 0 ;
12678 char *kwnames[] = {
12679 (char *) "self",(char *) "flags", NULL
12680 };
12681
12682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 (arg1)->SetFlags(arg2);
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 Py_INCREF(Py_None); resultobj = Py_None;
12692 return resultobj;
12693 fail:
12694 return NULL;
12695 }
12696
12697
12698 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12699 PyObject *resultobj;
12700 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12701 wxString *arg2 = 0 ;
12702 bool temp2 = False ;
12703 PyObject * obj0 = 0 ;
12704 PyObject * obj1 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self",(char *) "str", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12711 {
12712 arg2 = wxString_in_helper(obj1);
12713 if (arg2 == NULL) SWIG_fail;
12714 temp2 = True;
12715 }
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 (arg1)->SetFindString((wxString const &)*arg2);
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 Py_INCREF(Py_None); resultobj = Py_None;
12724 {
12725 if (temp2)
12726 delete arg2;
12727 }
12728 return resultobj;
12729 fail:
12730 {
12731 if (temp2)
12732 delete arg2;
12733 }
12734 return NULL;
12735 }
12736
12737
12738 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12741 wxString *arg2 = 0 ;
12742 bool temp2 = False ;
12743 PyObject * obj0 = 0 ;
12744 PyObject * obj1 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self",(char *) "str", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12751 {
12752 arg2 = wxString_in_helper(obj1);
12753 if (arg2 == NULL) SWIG_fail;
12754 temp2 = True;
12755 }
12756 {
12757 PyThreadState* __tstate = wxPyBeginAllowThreads();
12758 (arg1)->SetReplaceString((wxString const &)*arg2);
12759
12760 wxPyEndAllowThreads(__tstate);
12761 if (PyErr_Occurred()) SWIG_fail;
12762 }
12763 Py_INCREF(Py_None); resultobj = Py_None;
12764 {
12765 if (temp2)
12766 delete arg2;
12767 }
12768 return resultobj;
12769 fail:
12770 {
12771 if (temp2)
12772 delete arg2;
12773 }
12774 return NULL;
12775 }
12776
12777
12778 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12779 PyObject *obj;
12780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12781 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12782 Py_INCREF(obj);
12783 return Py_BuildValue((char *)"");
12784 }
12785 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxWindow *arg1 = (wxWindow *) 0 ;
12788 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12789 wxString *arg3 = 0 ;
12790 int arg4 = (int) 0 ;
12791 wxFindReplaceDialog *result;
12792 bool temp3 = False ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 PyObject * obj2 = 0 ;
12796 char *kwnames[] = {
12797 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12798 };
12799
12800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12803 {
12804 arg3 = wxString_in_helper(obj2);
12805 if (arg3 == NULL) SWIG_fail;
12806 temp3 = True;
12807 }
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12816 {
12817 if (temp3)
12818 delete arg3;
12819 }
12820 return resultobj;
12821 fail:
12822 {
12823 if (temp3)
12824 delete arg3;
12825 }
12826 return NULL;
12827 }
12828
12829
12830 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj;
12832 wxFindReplaceDialog *result;
12833 char *kwnames[] = {
12834 NULL
12835 };
12836
12837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12841
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12846 return resultobj;
12847 fail:
12848 return NULL;
12849 }
12850
12851
12852 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj;
12854 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12855 wxWindow *arg2 = (wxWindow *) 0 ;
12856 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12857 wxString *arg4 = 0 ;
12858 int arg5 = (int) 0 ;
12859 bool result;
12860 bool temp4 = False ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 PyObject * obj2 = 0 ;
12864 PyObject * obj3 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12872 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12873 {
12874 arg4 = wxString_in_helper(obj3);
12875 if (arg4 == NULL) SWIG_fail;
12876 temp4 = True;
12877 }
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12881
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 resultobj = PyInt_FromLong((long)result);
12886 {
12887 if (temp4)
12888 delete arg4;
12889 }
12890 return resultobj;
12891 fail:
12892 {
12893 if (temp4)
12894 delete arg4;
12895 }
12896 return NULL;
12897 }
12898
12899
12900 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12903 wxFindReplaceData *result;
12904 PyObject * obj0 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 result = (wxFindReplaceData *)(arg1)->GetData();
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12928 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12929 PyObject * obj0 = 0 ;
12930 PyObject * obj1 = 0 ;
12931 char *kwnames[] = {
12932 (char *) "self",(char *) "data", NULL
12933 };
12934
12935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12938 {
12939 PyThreadState* __tstate = wxPyBeginAllowThreads();
12940 (arg1)->SetData(arg2);
12941
12942 wxPyEndAllowThreads(__tstate);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
12945 Py_INCREF(Py_None); resultobj = Py_None;
12946 return resultobj;
12947 fail:
12948 return NULL;
12949 }
12950
12951
12952 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12953 PyObject *obj;
12954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12955 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12956 Py_INCREF(obj);
12957 return Py_BuildValue((char *)"");
12958 }
12959 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxWindow *arg1 = (wxWindow *) 0 ;
12962 int arg2 ;
12963 wxString *arg3 = 0 ;
12964 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12965 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12966 wxSize const &arg5_defvalue = wxDefaultSize ;
12967 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12968 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12969 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12970 wxString *arg7 = (wxString *) &arg7_defvalue ;
12971 wxMDIParentFrame *result;
12972 bool temp3 = False ;
12973 wxPoint temp4 ;
12974 wxSize temp5 ;
12975 bool temp7 = False ;
12976 PyObject * obj0 = 0 ;
12977 PyObject * obj2 = 0 ;
12978 PyObject * obj3 = 0 ;
12979 PyObject * obj4 = 0 ;
12980 PyObject * obj6 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12987 {
12988 arg3 = wxString_in_helper(obj2);
12989 if (arg3 == NULL) SWIG_fail;
12990 temp3 = True;
12991 }
12992 if (obj3) {
12993 {
12994 arg4 = &temp4;
12995 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12996 }
12997 }
12998 if (obj4) {
12999 {
13000 arg5 = &temp5;
13001 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13002 }
13003 }
13004 if (obj6) {
13005 {
13006 arg7 = wxString_in_helper(obj6);
13007 if (arg7 == NULL) SWIG_fail;
13008 temp7 = True;
13009 }
13010 }
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13014
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13019 {
13020 if (temp3)
13021 delete arg3;
13022 }
13023 {
13024 if (temp7)
13025 delete arg7;
13026 }
13027 return resultobj;
13028 fail:
13029 {
13030 if (temp3)
13031 delete arg3;
13032 }
13033 {
13034 if (temp7)
13035 delete arg7;
13036 }
13037 return NULL;
13038 }
13039
13040
13041 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13042 PyObject *resultobj;
13043 wxMDIParentFrame *result;
13044 char *kwnames[] = {
13045 NULL
13046 };
13047
13048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13057 return resultobj;
13058 fail:
13059 return NULL;
13060 }
13061
13062
13063 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13064 PyObject *resultobj;
13065 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13066 wxWindow *arg2 = (wxWindow *) 0 ;
13067 int arg3 ;
13068 wxString *arg4 = 0 ;
13069 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13070 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13071 wxSize const &arg6_defvalue = wxDefaultSize ;
13072 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13073 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13074 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13075 wxString *arg8 = (wxString *) &arg8_defvalue ;
13076 bool result;
13077 bool temp4 = False ;
13078 wxPoint temp5 ;
13079 wxSize temp6 ;
13080 bool temp8 = False ;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 PyObject * obj3 = 0 ;
13084 PyObject * obj4 = 0 ;
13085 PyObject * obj5 = 0 ;
13086 PyObject * obj7 = 0 ;
13087 char *kwnames[] = {
13088 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13094 {
13095 arg4 = wxString_in_helper(obj3);
13096 if (arg4 == NULL) SWIG_fail;
13097 temp4 = True;
13098 }
13099 if (obj4) {
13100 {
13101 arg5 = &temp5;
13102 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13103 }
13104 }
13105 if (obj5) {
13106 {
13107 arg6 = &temp6;
13108 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13109 }
13110 }
13111 if (obj7) {
13112 {
13113 arg8 = wxString_in_helper(obj7);
13114 if (arg8 == NULL) SWIG_fail;
13115 temp8 = True;
13116 }
13117 }
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 resultobj = PyInt_FromLong((long)result);
13126 {
13127 if (temp4)
13128 delete arg4;
13129 }
13130 {
13131 if (temp8)
13132 delete arg8;
13133 }
13134 return resultobj;
13135 fail:
13136 {
13137 if (temp4)
13138 delete arg4;
13139 }
13140 {
13141 if (temp8)
13142 delete arg8;
13143 }
13144 return NULL;
13145 }
13146
13147
13148 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13151 PyObject * obj0 = 0 ;
13152 char *kwnames[] = {
13153 (char *) "self", NULL
13154 };
13155
13156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 (arg1)->ActivateNext();
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 Py_INCREF(Py_None); resultobj = Py_None;
13166 return resultobj;
13167 fail:
13168 return NULL;
13169 }
13170
13171
13172 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13175 PyObject * obj0 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 (arg1)->ActivatePrevious();
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 Py_INCREF(Py_None); resultobj = Py_None;
13190 return resultobj;
13191 fail:
13192 return NULL;
13193 }
13194
13195
13196 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13199 PyObject * obj0 = 0 ;
13200 char *kwnames[] = {
13201 (char *) "self", NULL
13202 };
13203
13204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 (arg1)->ArrangeIcons();
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 Py_INCREF(Py_None); resultobj = Py_None;
13214 return resultobj;
13215 fail:
13216 return NULL;
13217 }
13218
13219
13220 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13221 PyObject *resultobj;
13222 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13223 PyObject * obj0 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 (arg1)->Cascade();
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 Py_INCREF(Py_None); resultobj = Py_None;
13238 return resultobj;
13239 fail:
13240 return NULL;
13241 }
13242
13243
13244 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj;
13246 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13247 wxMDIChildFrame *result;
13248 PyObject * obj0 = 0 ;
13249 char *kwnames[] = {
13250 (char *) "self", NULL
13251 };
13252
13253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13258
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 {
13263 resultobj = wxPyMake_wxObject(result);
13264 }
13265 return resultobj;
13266 fail:
13267 return NULL;
13268 }
13269
13270
13271 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13274 wxMDIClientWindow *result;
13275 PyObject * obj0 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13285
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 {
13290 resultobj = wxPyMake_wxObject(result);
13291 }
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13299 PyObject *resultobj;
13300 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13301 wxWindow *result;
13302 PyObject * obj0 = 0 ;
13303 char *kwnames[] = {
13304 (char *) "self", NULL
13305 };
13306
13307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 result = (wxWindow *)(arg1)->GetToolBar();
13312
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 {
13317 resultobj = wxPyMake_wxObject(result);
13318 }
13319 return resultobj;
13320 fail:
13321 return NULL;
13322 }
13323
13324
13325 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj;
13327 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13328 PyObject * obj0 = 0 ;
13329 char *kwnames[] = {
13330 (char *) "self", NULL
13331 };
13332
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 (arg1)->Tile();
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 Py_INCREF(Py_None); resultobj = Py_None;
13343 return resultobj;
13344 fail:
13345 return NULL;
13346 }
13347
13348
13349 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13350 PyObject *obj;
13351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13352 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13353 Py_INCREF(obj);
13354 return Py_BuildValue((char *)"");
13355 }
13356 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13359 int arg2 ;
13360 wxString *arg3 = 0 ;
13361 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13362 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13363 wxSize const &arg5_defvalue = wxDefaultSize ;
13364 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13365 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13366 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13367 wxString *arg7 = (wxString *) &arg7_defvalue ;
13368 wxMDIChildFrame *result;
13369 bool temp3 = False ;
13370 wxPoint temp4 ;
13371 wxSize temp5 ;
13372 bool temp7 = False ;
13373 PyObject * obj0 = 0 ;
13374 PyObject * obj2 = 0 ;
13375 PyObject * obj3 = 0 ;
13376 PyObject * obj4 = 0 ;
13377 PyObject * obj6 = 0 ;
13378 char *kwnames[] = {
13379 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13380 };
13381
13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13384 {
13385 arg3 = wxString_in_helper(obj2);
13386 if (arg3 == NULL) SWIG_fail;
13387 temp3 = True;
13388 }
13389 if (obj3) {
13390 {
13391 arg4 = &temp4;
13392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13393 }
13394 }
13395 if (obj4) {
13396 {
13397 arg5 = &temp5;
13398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13399 }
13400 }
13401 if (obj6) {
13402 {
13403 arg7 = wxString_in_helper(obj6);
13404 if (arg7 == NULL) SWIG_fail;
13405 temp7 = True;
13406 }
13407 }
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 {
13416 resultobj = wxPyMake_wxObject(result);
13417 }
13418 {
13419 if (temp3)
13420 delete arg3;
13421 }
13422 {
13423 if (temp7)
13424 delete arg7;
13425 }
13426 return resultobj;
13427 fail:
13428 {
13429 if (temp3)
13430 delete arg3;
13431 }
13432 {
13433 if (temp7)
13434 delete arg7;
13435 }
13436 return NULL;
13437 }
13438
13439
13440 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj;
13442 wxMDIChildFrame *result;
13443 char *kwnames[] = {
13444 NULL
13445 };
13446
13447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 {
13456 resultobj = wxPyMake_wxObject(result);
13457 }
13458 return resultobj;
13459 fail:
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13467 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13468 int arg3 ;
13469 wxString *arg4 = 0 ;
13470 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13471 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13472 wxSize const &arg6_defvalue = wxDefaultSize ;
13473 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13474 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13475 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13476 wxString *arg8 = (wxString *) &arg8_defvalue ;
13477 bool result;
13478 bool temp4 = False ;
13479 wxPoint temp5 ;
13480 wxSize temp6 ;
13481 bool temp8 = False ;
13482 PyObject * obj0 = 0 ;
13483 PyObject * obj1 = 0 ;
13484 PyObject * obj3 = 0 ;
13485 PyObject * obj4 = 0 ;
13486 PyObject * obj5 = 0 ;
13487 PyObject * obj7 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13495 {
13496 arg4 = wxString_in_helper(obj3);
13497 if (arg4 == NULL) SWIG_fail;
13498 temp4 = True;
13499 }
13500 if (obj4) {
13501 {
13502 arg5 = &temp5;
13503 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13504 }
13505 }
13506 if (obj5) {
13507 {
13508 arg6 = &temp6;
13509 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13510 }
13511 }
13512 if (obj7) {
13513 {
13514 arg8 = wxString_in_helper(obj7);
13515 if (arg8 == NULL) SWIG_fail;
13516 temp8 = True;
13517 }
13518 }
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13522
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 resultobj = PyInt_FromLong((long)result);
13527 {
13528 if (temp4)
13529 delete arg4;
13530 }
13531 {
13532 if (temp8)
13533 delete arg8;
13534 }
13535 return resultobj;
13536 fail:
13537 {
13538 if (temp4)
13539 delete arg4;
13540 }
13541 {
13542 if (temp8)
13543 delete arg8;
13544 }
13545 return NULL;
13546 }
13547
13548
13549 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13550 PyObject *resultobj;
13551 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13552 PyObject * obj0 = 0 ;
13553 char *kwnames[] = {
13554 (char *) "self", NULL
13555 };
13556
13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13559 {
13560 PyThreadState* __tstate = wxPyBeginAllowThreads();
13561 (arg1)->Activate();
13562
13563 wxPyEndAllowThreads(__tstate);
13564 if (PyErr_Occurred()) SWIG_fail;
13565 }
13566 Py_INCREF(Py_None); resultobj = Py_None;
13567 return resultobj;
13568 fail:
13569 return NULL;
13570 }
13571
13572
13573 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13574 PyObject *resultobj;
13575 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13576 bool arg2 ;
13577 PyObject * obj0 = 0 ;
13578 PyObject * obj1 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "self",(char *) "maximize", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13585 arg2 = PyInt_AsLong(obj1) ? true : false;
13586 if (PyErr_Occurred()) SWIG_fail;
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 (arg1)->Maximize(arg2);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 Py_INCREF(Py_None); resultobj = Py_None;
13595 return resultobj;
13596 fail:
13597 return NULL;
13598 }
13599
13600
13601 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13604 PyObject * obj0 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 (arg1)->Restore();
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 Py_INCREF(Py_None); resultobj = Py_None;
13619 return resultobj;
13620 fail:
13621 return NULL;
13622 }
13623
13624
13625 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13626 PyObject *obj;
13627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13628 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13629 Py_INCREF(obj);
13630 return Py_BuildValue((char *)"");
13631 }
13632 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13635 long arg2 = (long) 0 ;
13636 wxMDIClientWindow *result;
13637 PyObject * obj0 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "parent",(char *) "style", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13647
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 {
13652 resultobj = wxPyMake_wxObject(result);
13653 }
13654 return resultobj;
13655 fail:
13656 return NULL;
13657 }
13658
13659
13660 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxMDIClientWindow *result;
13663 char *kwnames[] = {
13664 NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 {
13676 resultobj = wxPyMake_wxObject(result);
13677 }
13678 return resultobj;
13679 fail:
13680 return NULL;
13681 }
13682
13683
13684 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj;
13686 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13687 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13688 long arg3 = (long) 0 ;
13689 bool result;
13690 PyObject * obj0 = 0 ;
13691 PyObject * obj1 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self",(char *) "parent",(char *) "style", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 result = (bool)(arg1)->Create(arg2,arg3);
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 resultobj = PyInt_FromLong((long)result);
13707 return resultobj;
13708 fail:
13709 return NULL;
13710 }
13711
13712
13713 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13714 PyObject *obj;
13715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13716 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13717 Py_INCREF(obj);
13718 return Py_BuildValue((char *)"");
13719 }
13720 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxWindow *arg1 = (wxWindow *) 0 ;
13723 int arg2 ;
13724 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13725 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13726 wxSize const &arg4_defvalue = wxDefaultSize ;
13727 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13728 long arg5 = (long) 0 ;
13729 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13730 wxString *arg6 = (wxString *) &arg6_defvalue ;
13731 wxPyWindow *result;
13732 wxPoint temp3 ;
13733 wxSize temp4 ;
13734 bool temp6 = False ;
13735 PyObject * obj0 = 0 ;
13736 PyObject * obj2 = 0 ;
13737 PyObject * obj3 = 0 ;
13738 PyObject * obj5 = 0 ;
13739 char *kwnames[] = {
13740 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13741 };
13742
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13745 if (obj2) {
13746 {
13747 arg3 = &temp3;
13748 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13749 }
13750 }
13751 if (obj3) {
13752 {
13753 arg4 = &temp4;
13754 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13755 }
13756 }
13757 if (obj5) {
13758 {
13759 arg6 = wxString_in_helper(obj5);
13760 if (arg6 == NULL) SWIG_fail;
13761 temp6 = True;
13762 }
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13772 {
13773 if (temp6)
13774 delete arg6;
13775 }
13776 return resultobj;
13777 fail:
13778 {
13779 if (temp6)
13780 delete arg6;
13781 }
13782 return NULL;
13783 }
13784
13785
13786 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13789 PyObject *arg2 = (PyObject *) 0 ;
13790 PyObject *arg3 = (PyObject *) 0 ;
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj1 = 0 ;
13793 PyObject * obj2 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "self",(char *) "self",(char *) "_class", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13800 arg2 = obj1;
13801 arg3 = obj2;
13802 {
13803 PyThreadState* __tstate = wxPyBeginAllowThreads();
13804 (arg1)->_setCallbackInfo(arg2,arg3);
13805
13806 wxPyEndAllowThreads(__tstate);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 Py_INCREF(Py_None); resultobj = Py_None;
13810 return resultobj;
13811 fail:
13812 return NULL;
13813 }
13814
13815
13816 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj;
13818 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13819 int arg2 ;
13820 int arg3 ;
13821 int arg4 ;
13822 int arg5 ;
13823 PyObject * obj0 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13833
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
13837 Py_INCREF(Py_None); resultobj = Py_None;
13838 return resultobj;
13839 fail:
13840 return NULL;
13841 }
13842
13843
13844 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13845 PyObject *resultobj;
13846 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13847 int arg2 ;
13848 int arg3 ;
13849 int arg4 ;
13850 int arg5 ;
13851 int arg6 = (int) wxSIZE_AUTO ;
13852 PyObject * obj0 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13855 };
13856
13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13862
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
13866 Py_INCREF(Py_None); resultobj = Py_None;
13867 return resultobj;
13868 fail:
13869 return NULL;
13870 }
13871
13872
13873 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13874 PyObject *resultobj;
13875 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13876 int arg2 ;
13877 int arg3 ;
13878 PyObject * obj0 = 0 ;
13879 char *kwnames[] = {
13880 (char *) "self",(char *) "width",(char *) "height", NULL
13881 };
13882
13883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 (arg1)->base_DoSetClientSize(arg2,arg3);
13888
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 Py_INCREF(Py_None); resultobj = Py_None;
13893 return resultobj;
13894 fail:
13895 return NULL;
13896 }
13897
13898
13899 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13900 PyObject *resultobj;
13901 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13902 int arg2 ;
13903 int arg3 ;
13904 PyObject * obj0 = 0 ;
13905 char *kwnames[] = {
13906 (char *) "self",(char *) "x",(char *) "y", NULL
13907 };
13908
13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 Py_INCREF(Py_None); resultobj = Py_None;
13919 return resultobj;
13920 fail:
13921 return NULL;
13922 }
13923
13924
13925 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj;
13927 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13928 int *arg2 = (int *) 0 ;
13929 int *arg3 = (int *) 0 ;
13930 int temp2 ;
13931 int temp3 ;
13932 PyObject * obj0 = 0 ;
13933 char *kwnames[] = {
13934 (char *) "self", NULL
13935 };
13936
13937 arg2 = &temp2;
13938 arg3 = &temp3;
13939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13941 {
13942 PyThreadState* __tstate = wxPyBeginAllowThreads();
13943 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13944
13945 wxPyEndAllowThreads(__tstate);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 }
13948 Py_INCREF(Py_None); resultobj = Py_None;
13949 {
13950 PyObject *o = PyInt_FromLong((long) (*arg2));
13951 resultobj = t_output_helper(resultobj,o);
13952 }
13953 {
13954 PyObject *o = PyInt_FromLong((long) (*arg3));
13955 resultobj = t_output_helper(resultobj,o);
13956 }
13957 return resultobj;
13958 fail:
13959 return NULL;
13960 }
13961
13962
13963 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13964 PyObject *resultobj;
13965 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13966 int *arg2 = (int *) 0 ;
13967 int *arg3 = (int *) 0 ;
13968 int temp2 ;
13969 int temp3 ;
13970 PyObject * obj0 = 0 ;
13971 char *kwnames[] = {
13972 (char *) "self", NULL
13973 };
13974
13975 arg2 = &temp2;
13976 arg3 = &temp3;
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13979 {
13980 PyThreadState* __tstate = wxPyBeginAllowThreads();
13981 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13982
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 Py_INCREF(Py_None); resultobj = Py_None;
13987 {
13988 PyObject *o = PyInt_FromLong((long) (*arg2));
13989 resultobj = t_output_helper(resultobj,o);
13990 }
13991 {
13992 PyObject *o = PyInt_FromLong((long) (*arg3));
13993 resultobj = t_output_helper(resultobj,o);
13994 }
13995 return resultobj;
13996 fail:
13997 return NULL;
13998 }
13999
14000
14001 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14002 PyObject *resultobj;
14003 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14004 int *arg2 = (int *) 0 ;
14005 int *arg3 = (int *) 0 ;
14006 int temp2 ;
14007 int temp3 ;
14008 PyObject * obj0 = 0 ;
14009 char *kwnames[] = {
14010 (char *) "self", NULL
14011 };
14012
14013 arg2 = &temp2;
14014 arg3 = &temp3;
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14020
14021 wxPyEndAllowThreads(__tstate);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 Py_INCREF(Py_None); resultobj = Py_None;
14025 {
14026 PyObject *o = PyInt_FromLong((long) (*arg2));
14027 resultobj = t_output_helper(resultobj,o);
14028 }
14029 {
14030 PyObject *o = PyInt_FromLong((long) (*arg3));
14031 resultobj = t_output_helper(resultobj,o);
14032 }
14033 return resultobj;
14034 fail:
14035 return NULL;
14036 }
14037
14038
14039 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj;
14041 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14042 wxSize result;
14043 PyObject * obj0 = 0 ;
14044 char *kwnames[] = {
14045 (char *) "self", NULL
14046 };
14047
14048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14050 {
14051 PyThreadState* __tstate = wxPyBeginAllowThreads();
14052 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14053
14054 wxPyEndAllowThreads(__tstate);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 {
14058 wxSize * resultptr;
14059 resultptr = new wxSize((wxSize &) result);
14060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14061 }
14062 return resultobj;
14063 fail:
14064 return NULL;
14065 }
14066
14067
14068 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14071 wxSize result;
14072 PyObject * obj0 = 0 ;
14073 char *kwnames[] = {
14074 (char *) "self", NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 {
14087 wxSize * resultptr;
14088 resultptr = new wxSize((wxSize &) result);
14089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14090 }
14091 return resultobj;
14092 fail:
14093 return NULL;
14094 }
14095
14096
14097 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14098 PyObject *resultobj;
14099 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14100 PyObject * obj0 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 (arg1)->base_InitDialog();
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 Py_INCREF(Py_None); resultobj = Py_None;
14115 return resultobj;
14116 fail:
14117 return NULL;
14118 }
14119
14120
14121 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14124 bool result;
14125 PyObject * obj0 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 result = (bool)(arg1)->base_TransferDataToWindow();
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 resultobj = PyInt_FromLong((long)result);
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj;
14148 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14149 bool result;
14150 PyObject * obj0 = 0 ;
14151 char *kwnames[] = {
14152 (char *) "self", NULL
14153 };
14154
14155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 result = (bool)(arg1)->base_TransferDataFromWindow();
14160
14161 wxPyEndAllowThreads(__tstate);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
14164 resultobj = PyInt_FromLong((long)result);
14165 return resultobj;
14166 fail:
14167 return NULL;
14168 }
14169
14170
14171 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj;
14173 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14174 bool result;
14175 PyObject * obj0 = 0 ;
14176 char *kwnames[] = {
14177 (char *) "self", NULL
14178 };
14179
14180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (bool)(arg1)->base_Validate();
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 resultobj = PyInt_FromLong((long)result);
14190 return resultobj;
14191 fail:
14192 return NULL;
14193 }
14194
14195
14196 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14197 PyObject *resultobj;
14198 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14199 bool result;
14200 PyObject * obj0 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "self", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 resultobj = PyInt_FromLong((long)result);
14215 return resultobj;
14216 fail:
14217 return NULL;
14218 }
14219
14220
14221 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj;
14223 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14224 bool result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 resultobj = PyInt_FromLong((long)result);
14240 return resultobj;
14241 fail:
14242 return NULL;
14243 }
14244
14245
14246 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14247 PyObject *resultobj;
14248 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14249 wxSize result;
14250 PyObject * obj0 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14257 {
14258 PyThreadState* __tstate = wxPyBeginAllowThreads();
14259 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14260
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 {
14265 wxSize * resultptr;
14266 resultptr = new wxSize((wxSize &) result);
14267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14268 }
14269 return resultobj;
14270 fail:
14271 return NULL;
14272 }
14273
14274
14275 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14278 wxWindow *arg2 = (wxWindow *) 0 ;
14279 PyObject * obj0 = 0 ;
14280 PyObject * obj1 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self",(char *) "child", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14287 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 (arg1)->base_AddChild(arg2);
14291
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 Py_INCREF(Py_None); resultobj = Py_None;
14296 return resultobj;
14297 fail:
14298 return NULL;
14299 }
14300
14301
14302 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj;
14304 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14305 wxWindow *arg2 = (wxWindow *) 0 ;
14306 PyObject * obj0 = 0 ;
14307 PyObject * obj1 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self",(char *) "child", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->base_RemoveChild(arg2);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14330 PyObject *obj;
14331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14332 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14333 Py_INCREF(obj);
14334 return Py_BuildValue((char *)"");
14335 }
14336 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 wxWindow *arg1 = (wxWindow *) 0 ;
14339 int arg2 ;
14340 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14341 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14342 wxSize const &arg4_defvalue = wxDefaultSize ;
14343 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14344 long arg5 = (long) 0 ;
14345 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14346 wxString *arg6 = (wxString *) &arg6_defvalue ;
14347 wxPyPanel *result;
14348 wxPoint temp3 ;
14349 wxSize temp4 ;
14350 bool temp6 = False ;
14351 PyObject * obj0 = 0 ;
14352 PyObject * obj2 = 0 ;
14353 PyObject * obj3 = 0 ;
14354 PyObject * obj5 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14361 if (obj2) {
14362 {
14363 arg3 = &temp3;
14364 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14365 }
14366 }
14367 if (obj3) {
14368 {
14369 arg4 = &temp4;
14370 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14371 }
14372 }
14373 if (obj5) {
14374 {
14375 arg6 = wxString_in_helper(obj5);
14376 if (arg6 == NULL) SWIG_fail;
14377 temp6 = True;
14378 }
14379 }
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14388 {
14389 if (temp6)
14390 delete arg6;
14391 }
14392 return resultobj;
14393 fail:
14394 {
14395 if (temp6)
14396 delete arg6;
14397 }
14398 return NULL;
14399 }
14400
14401
14402 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj;
14404 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14405 PyObject *arg2 = (PyObject *) 0 ;
14406 PyObject *arg3 = (PyObject *) 0 ;
14407 PyObject * obj0 = 0 ;
14408 PyObject * obj1 = 0 ;
14409 PyObject * obj2 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "self",(char *) "self",(char *) "_class", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14416 arg2 = obj1;
14417 arg3 = obj2;
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 (arg1)->_setCallbackInfo(arg2,arg3);
14421
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
14425 Py_INCREF(Py_None); resultobj = Py_None;
14426 return resultobj;
14427 fail:
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14435 int arg2 ;
14436 int arg3 ;
14437 int arg4 ;
14438 int arg5 ;
14439 PyObject * obj0 = 0 ;
14440 char *kwnames[] = {
14441 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14442 };
14443
14444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
14453 Py_INCREF(Py_None); resultobj = Py_None;
14454 return resultobj;
14455 fail:
14456 return NULL;
14457 }
14458
14459
14460 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14461 PyObject *resultobj;
14462 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14463 int arg2 ;
14464 int arg3 ;
14465 int arg4 ;
14466 int arg5 ;
14467 int arg6 = (int) wxSIZE_AUTO ;
14468 PyObject * obj0 = 0 ;
14469 char *kwnames[] = {
14470 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14471 };
14472
14473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 Py_INCREF(Py_None); resultobj = Py_None;
14483 return resultobj;
14484 fail:
14485 return NULL;
14486 }
14487
14488
14489 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14492 int arg2 ;
14493 int arg3 ;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self",(char *) "width",(char *) "height", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 (arg1)->base_DoSetClientSize(arg2,arg3);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 Py_INCREF(Py_None); resultobj = Py_None;
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj;
14517 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14518 int arg2 ;
14519 int arg3 ;
14520 PyObject * obj0 = 0 ;
14521 char *kwnames[] = {
14522 (char *) "self",(char *) "x",(char *) "y", NULL
14523 };
14524
14525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 Py_INCREF(Py_None); resultobj = Py_None;
14535 return resultobj;
14536 fail:
14537 return NULL;
14538 }
14539
14540
14541 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14544 int *arg2 = (int *) 0 ;
14545 int *arg3 = (int *) 0 ;
14546 int temp2 ;
14547 int temp3 ;
14548 PyObject * obj0 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self", NULL
14551 };
14552
14553 arg2 = &temp2;
14554 arg3 = &temp3;
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14560
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 Py_INCREF(Py_None); resultobj = Py_None;
14565 {
14566 PyObject *o = PyInt_FromLong((long) (*arg2));
14567 resultobj = t_output_helper(resultobj,o);
14568 }
14569 {
14570 PyObject *o = PyInt_FromLong((long) (*arg3));
14571 resultobj = t_output_helper(resultobj,o);
14572 }
14573 return resultobj;
14574 fail:
14575 return NULL;
14576 }
14577
14578
14579 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj;
14581 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14582 int *arg2 = (int *) 0 ;
14583 int *arg3 = (int *) 0 ;
14584 int temp2 ;
14585 int temp3 ;
14586 PyObject * obj0 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "self", NULL
14589 };
14590
14591 arg2 = &temp2;
14592 arg3 = &temp3;
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14598
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 Py_INCREF(Py_None); resultobj = Py_None;
14603 {
14604 PyObject *o = PyInt_FromLong((long) (*arg2));
14605 resultobj = t_output_helper(resultobj,o);
14606 }
14607 {
14608 PyObject *o = PyInt_FromLong((long) (*arg3));
14609 resultobj = t_output_helper(resultobj,o);
14610 }
14611 return resultobj;
14612 fail:
14613 return NULL;
14614 }
14615
14616
14617 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14618 PyObject *resultobj;
14619 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14620 int *arg2 = (int *) 0 ;
14621 int *arg3 = (int *) 0 ;
14622 int temp2 ;
14623 int temp3 ;
14624 PyObject * obj0 = 0 ;
14625 char *kwnames[] = {
14626 (char *) "self", NULL
14627 };
14628
14629 arg2 = &temp2;
14630 arg3 = &temp3;
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14636
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 Py_INCREF(Py_None); resultobj = Py_None;
14641 {
14642 PyObject *o = PyInt_FromLong((long) (*arg2));
14643 resultobj = t_output_helper(resultobj,o);
14644 }
14645 {
14646 PyObject *o = PyInt_FromLong((long) (*arg3));
14647 resultobj = t_output_helper(resultobj,o);
14648 }
14649 return resultobj;
14650 fail:
14651 return NULL;
14652 }
14653
14654
14655 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14656 PyObject *resultobj;
14657 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14658 wxSize result;
14659 PyObject * obj0 = 0 ;
14660 char *kwnames[] = {
14661 (char *) "self", NULL
14662 };
14663
14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14669
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 {
14674 wxSize * resultptr;
14675 resultptr = new wxSize((wxSize &) result);
14676 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14677 }
14678 return resultobj;
14679 fail:
14680 return NULL;
14681 }
14682
14683
14684 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14685 PyObject *resultobj;
14686 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14687 wxSize result;
14688 PyObject * obj0 = 0 ;
14689 char *kwnames[] = {
14690 (char *) "self", NULL
14691 };
14692
14693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14698
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 {
14703 wxSize * resultptr;
14704 resultptr = new wxSize((wxSize &) result);
14705 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14706 }
14707 return resultobj;
14708 fail:
14709 return NULL;
14710 }
14711
14712
14713 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14716 PyObject * obj0 = 0 ;
14717 char *kwnames[] = {
14718 (char *) "self", NULL
14719 };
14720
14721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 (arg1)->base_InitDialog();
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 Py_INCREF(Py_None); resultobj = Py_None;
14731 return resultobj;
14732 fail:
14733 return NULL;
14734 }
14735
14736
14737 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14738 PyObject *resultobj;
14739 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14740 bool result;
14741 PyObject * obj0 = 0 ;
14742 char *kwnames[] = {
14743 (char *) "self", NULL
14744 };
14745
14746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14748 {
14749 PyThreadState* __tstate = wxPyBeginAllowThreads();
14750 result = (bool)(arg1)->base_TransferDataToWindow();
14751
14752 wxPyEndAllowThreads(__tstate);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
14755 resultobj = PyInt_FromLong((long)result);
14756 return resultobj;
14757 fail:
14758 return NULL;
14759 }
14760
14761
14762 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14763 PyObject *resultobj;
14764 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14765 bool result;
14766 PyObject * obj0 = 0 ;
14767 char *kwnames[] = {
14768 (char *) "self", NULL
14769 };
14770
14771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14773 {
14774 PyThreadState* __tstate = wxPyBeginAllowThreads();
14775 result = (bool)(arg1)->base_TransferDataFromWindow();
14776
14777 wxPyEndAllowThreads(__tstate);
14778 if (PyErr_Occurred()) SWIG_fail;
14779 }
14780 resultobj = PyInt_FromLong((long)result);
14781 return resultobj;
14782 fail:
14783 return NULL;
14784 }
14785
14786
14787 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14788 PyObject *resultobj;
14789 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14790 bool result;
14791 PyObject * obj0 = 0 ;
14792 char *kwnames[] = {
14793 (char *) "self", NULL
14794 };
14795
14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (bool)(arg1)->base_Validate();
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 resultobj = PyInt_FromLong((long)result);
14806 return resultobj;
14807 fail:
14808 return NULL;
14809 }
14810
14811
14812 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14815 bool result;
14816 PyObject * obj0 = 0 ;
14817 char *kwnames[] = {
14818 (char *) "self", NULL
14819 };
14820
14821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14823 {
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14826
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 resultobj = PyInt_FromLong((long)result);
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14840 bool result;
14841 PyObject * obj0 = 0 ;
14842 char *kwnames[] = {
14843 (char *) "self", NULL
14844 };
14845
14846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
14850 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14851
14852 wxPyEndAllowThreads(__tstate);
14853 if (PyErr_Occurred()) SWIG_fail;
14854 }
14855 resultobj = PyInt_FromLong((long)result);
14856 return resultobj;
14857 fail:
14858 return NULL;
14859 }
14860
14861
14862 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14863 PyObject *resultobj;
14864 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14865 wxSize result;
14866 PyObject * obj0 = 0 ;
14867 char *kwnames[] = {
14868 (char *) "self", NULL
14869 };
14870
14871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 {
14881 wxSize * resultptr;
14882 resultptr = new wxSize((wxSize &) result);
14883 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14884 }
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14894 wxWindow *arg2 = (wxWindow *) 0 ;
14895 PyObject * obj0 = 0 ;
14896 PyObject * obj1 = 0 ;
14897 char *kwnames[] = {
14898 (char *) "self",(char *) "child", NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
14906 (arg1)->base_AddChild(arg2);
14907
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 Py_INCREF(Py_None); resultobj = Py_None;
14912 return resultobj;
14913 fail:
14914 return NULL;
14915 }
14916
14917
14918 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14919 PyObject *resultobj;
14920 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14921 wxWindow *arg2 = (wxWindow *) 0 ;
14922 PyObject * obj0 = 0 ;
14923 PyObject * obj1 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self",(char *) "child", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14931 {
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 (arg1)->base_RemoveChild(arg2);
14934
14935 wxPyEndAllowThreads(__tstate);
14936 if (PyErr_Occurred()) SWIG_fail;
14937 }
14938 Py_INCREF(Py_None); resultobj = Py_None;
14939 return resultobj;
14940 fail:
14941 return NULL;
14942 }
14943
14944
14945 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14946 PyObject *obj;
14947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14948 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14949 Py_INCREF(obj);
14950 return Py_BuildValue((char *)"");
14951 }
14952 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14953 PyObject *resultobj;
14954 wxPrintData *result;
14955 char *kwnames[] = {
14956 NULL
14957 };
14958
14959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 result = (wxPrintData *)new wxPrintData();
14963
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14968 return resultobj;
14969 fail:
14970 return NULL;
14971 }
14972
14973
14974 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14975 PyObject *resultobj;
14976 wxPrintData *arg1 = (wxPrintData *) 0 ;
14977 PyObject * obj0 = 0 ;
14978 char *kwnames[] = {
14979 (char *) "self", NULL
14980 };
14981
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14984 {
14985 PyThreadState* __tstate = wxPyBeginAllowThreads();
14986 delete arg1;
14987
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 Py_INCREF(Py_None); resultobj = Py_None;
14992 return resultobj;
14993 fail:
14994 return NULL;
14995 }
14996
14997
14998 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14999 PyObject *resultobj;
15000 wxPrintData *arg1 = (wxPrintData *) 0 ;
15001 int result;
15002 PyObject * obj0 = 0 ;
15003 char *kwnames[] = {
15004 (char *) "self", NULL
15005 };
15006
15007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15009 {
15010 PyThreadState* __tstate = wxPyBeginAllowThreads();
15011 result = (int)(arg1)->GetNoCopies();
15012
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 resultobj = PyInt_FromLong((long)result);
15017 return resultobj;
15018 fail:
15019 return NULL;
15020 }
15021
15022
15023 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxPrintData *arg1 = (wxPrintData *) 0 ;
15026 bool result;
15027 PyObject * obj0 = 0 ;
15028 char *kwnames[] = {
15029 (char *) "self", NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15034 {
15035 PyThreadState* __tstate = wxPyBeginAllowThreads();
15036 result = (bool)(arg1)->GetCollate();
15037
15038 wxPyEndAllowThreads(__tstate);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 resultobj = PyInt_FromLong((long)result);
15042 return resultobj;
15043 fail:
15044 return NULL;
15045 }
15046
15047
15048 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15049 PyObject *resultobj;
15050 wxPrintData *arg1 = (wxPrintData *) 0 ;
15051 int result;
15052 PyObject * obj0 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "self", NULL
15055 };
15056
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 result = (int)(arg1)->GetOrientation();
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 resultobj = PyInt_FromLong((long)result);
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxPrintData *arg1 = (wxPrintData *) 0 ;
15076 bool result;
15077 PyObject * obj0 = 0 ;
15078 char *kwnames[] = {
15079 (char *) "self", NULL
15080 };
15081
15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 result = (bool)(arg1)->Ok();
15087
15088 wxPyEndAllowThreads(__tstate);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 resultobj = PyInt_FromLong((long)result);
15092 return resultobj;
15093 fail:
15094 return NULL;
15095 }
15096
15097
15098 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj;
15100 wxPrintData *arg1 = (wxPrintData *) 0 ;
15101 wxString *result;
15102 PyObject * obj0 = 0 ;
15103 char *kwnames[] = {
15104 (char *) "self", NULL
15105 };
15106
15107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 {
15112 wxString const &_result_ref = (arg1)->GetPrinterName();
15113 result = (wxString *) &_result_ref;
15114 }
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 wxPrintData *arg1 = (wxPrintData *) 0 ;
15129 bool result;
15130 PyObject * obj0 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 result = (bool)(arg1)->GetColour();
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 resultobj = PyInt_FromLong((long)result);
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 wxPrintData *arg1 = (wxPrintData *) 0 ;
15154 int result;
15155 PyObject * obj0 = 0 ;
15156 char *kwnames[] = {
15157 (char *) "self", NULL
15158 };
15159
15160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (int)(arg1)->GetDuplex();
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 resultobj = PyInt_FromLong((long)result);
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxPrintData *arg1 = (wxPrintData *) 0 ;
15179 int result;
15180 PyObject * obj0 = 0 ;
15181 char *kwnames[] = {
15182 (char *) "self", NULL
15183 };
15184
15185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (int)(arg1)->GetPaperId();
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 resultobj = PyInt_FromLong((long)result);
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxPrintData *arg1 = (wxPrintData *) 0 ;
15204 wxSize *result;
15205 PyObject * obj0 = 0 ;
15206 char *kwnames[] = {
15207 (char *) "self", NULL
15208 };
15209
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 {
15215 wxSize const &_result_ref = (arg1)->GetPaperSize();
15216 result = (wxSize *) &_result_ref;
15217 }
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15223 return resultobj;
15224 fail:
15225 return NULL;
15226 }
15227
15228
15229 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15230 PyObject *resultobj;
15231 wxPrintData *arg1 = (wxPrintData *) 0 ;
15232 wxPrintQuality result;
15233 PyObject * obj0 = 0 ;
15234 char *kwnames[] = {
15235 (char *) "self", NULL
15236 };
15237
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (arg1)->GetQuality();
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 {
15248 wxPrintQuality * resultptr;
15249 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15251 }
15252 return resultobj;
15253 fail:
15254 return NULL;
15255 }
15256
15257
15258 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15259 PyObject *resultobj;
15260 wxPrintData *arg1 = (wxPrintData *) 0 ;
15261 int arg2 ;
15262 PyObject * obj0 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self",(char *) "v", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 (arg1)->SetNoCopies(arg2);
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 Py_INCREF(Py_None); resultobj = Py_None;
15277 return resultobj;
15278 fail:
15279 return NULL;
15280 }
15281
15282
15283 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxPrintData *arg1 = (wxPrintData *) 0 ;
15286 bool arg2 ;
15287 PyObject * obj0 = 0 ;
15288 PyObject * obj1 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self",(char *) "flag", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15295 arg2 = PyInt_AsLong(obj1) ? true : false;
15296 if (PyErr_Occurred()) SWIG_fail;
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 (arg1)->SetCollate(arg2);
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 Py_INCREF(Py_None); resultobj = Py_None;
15305 return resultobj;
15306 fail:
15307 return NULL;
15308 }
15309
15310
15311 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15312 PyObject *resultobj;
15313 wxPrintData *arg1 = (wxPrintData *) 0 ;
15314 int arg2 ;
15315 PyObject * obj0 = 0 ;
15316 char *kwnames[] = {
15317 (char *) "self",(char *) "orient", NULL
15318 };
15319
15320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->SetOrientation(arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxPrintData *arg1 = (wxPrintData *) 0 ;
15339 wxString *arg2 = 0 ;
15340 bool temp2 = False ;
15341 PyObject * obj0 = 0 ;
15342 PyObject * obj1 = 0 ;
15343 char *kwnames[] = {
15344 (char *) "self",(char *) "name", NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15349 {
15350 arg2 = wxString_in_helper(obj1);
15351 if (arg2 == NULL) SWIG_fail;
15352 temp2 = True;
15353 }
15354 {
15355 PyThreadState* __tstate = wxPyBeginAllowThreads();
15356 (arg1)->SetPrinterName((wxString const &)*arg2);
15357
15358 wxPyEndAllowThreads(__tstate);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
15361 Py_INCREF(Py_None); resultobj = Py_None;
15362 {
15363 if (temp2)
15364 delete arg2;
15365 }
15366 return resultobj;
15367 fail:
15368 {
15369 if (temp2)
15370 delete arg2;
15371 }
15372 return NULL;
15373 }
15374
15375
15376 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxPrintData *arg1 = (wxPrintData *) 0 ;
15379 bool arg2 ;
15380 PyObject * obj0 = 0 ;
15381 PyObject * obj1 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self",(char *) "colour", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15388 arg2 = PyInt_AsLong(obj1) ? true : false;
15389 if (PyErr_Occurred()) SWIG_fail;
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 (arg1)->SetColour(arg2);
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 Py_INCREF(Py_None); resultobj = Py_None;
15398 return resultobj;
15399 fail:
15400 return NULL;
15401 }
15402
15403
15404 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxPrintData *arg1 = (wxPrintData *) 0 ;
15407 int arg2 ;
15408 PyObject * obj0 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self",(char *) "duplex", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->SetDuplex((wxDuplexMode )arg2);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 Py_INCREF(Py_None); resultobj = Py_None;
15423 return resultobj;
15424 fail:
15425 return NULL;
15426 }
15427
15428
15429 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxPrintData *arg1 = (wxPrintData *) 0 ;
15432 int arg2 ;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self",(char *) "sizeId", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 (arg1)->SetPaperId((wxPaperSize )arg2);
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 Py_INCREF(Py_None); resultobj = Py_None;
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 wxPrintData *arg1 = (wxPrintData *) 0 ;
15457 wxSize *arg2 = 0 ;
15458 wxSize temp2 ;
15459 PyObject * obj0 = 0 ;
15460 PyObject * obj1 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self",(char *) "sz", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15467 {
15468 arg2 = &temp2;
15469 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15470 }
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 (arg1)->SetPaperSize((wxSize const &)*arg2);
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 Py_INCREF(Py_None); resultobj = Py_None;
15479 return resultobj;
15480 fail:
15481 return NULL;
15482 }
15483
15484
15485 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxPrintData *arg1 = (wxPrintData *) 0 ;
15488 wxPrintQuality arg2 ;
15489 wxPrintQuality *argp2 ;
15490 PyObject * obj0 = 0 ;
15491 PyObject * obj1 = 0 ;
15492 char *kwnames[] = {
15493 (char *) "self",(char *) "quality", NULL
15494 };
15495
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15498 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15499 arg2 = *argp2;
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 (arg1)->SetQuality(arg2);
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 Py_INCREF(Py_None); resultobj = Py_None;
15508 return resultobj;
15509 fail:
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxPrintData *arg1 = (wxPrintData *) 0 ;
15517 wxString *result;
15518 PyObject * obj0 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "self", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 {
15528 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15529 result = (wxString *) &_result_ref;
15530 }
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15536 return resultobj;
15537 fail:
15538 return NULL;
15539 }
15540
15541
15542 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15543 PyObject *resultobj;
15544 wxPrintData *arg1 = (wxPrintData *) 0 ;
15545 wxString *result;
15546 PyObject * obj0 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15553 {
15554 PyThreadState* __tstate = wxPyBeginAllowThreads();
15555 {
15556 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15557 result = (wxString *) &_result_ref;
15558 }
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxPrintData *arg1 = (wxPrintData *) 0 ;
15573 wxString *result;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 {
15584 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15585 result = (wxString *) &_result_ref;
15586 }
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15592 return resultobj;
15593 fail:
15594 return NULL;
15595 }
15596
15597
15598 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj;
15600 wxPrintData *arg1 = (wxPrintData *) 0 ;
15601 wxString *result;
15602 PyObject * obj0 = 0 ;
15603 char *kwnames[] = {
15604 (char *) "self", NULL
15605 };
15606
15607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 {
15612 wxString const &_result_ref = (arg1)->GetFilename();
15613 result = (wxString *) &_result_ref;
15614 }
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxPrintData *arg1 = (wxPrintData *) 0 ;
15629 wxString *result;
15630 PyObject * obj0 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 {
15640 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15641 result = (wxString *) &_result_ref;
15642 }
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15648 return resultobj;
15649 fail:
15650 return NULL;
15651 }
15652
15653
15654 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj;
15656 wxPrintData *arg1 = (wxPrintData *) 0 ;
15657 double result;
15658 PyObject * obj0 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (double)(arg1)->GetPrinterScaleX();
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 resultobj = PyFloat_FromDouble(result);
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxPrintData *arg1 = (wxPrintData *) 0 ;
15682 double result;
15683 PyObject * obj0 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 result = (double)(arg1)->GetPrinterScaleY();
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 resultobj = PyFloat_FromDouble(result);
15698 return resultobj;
15699 fail:
15700 return NULL;
15701 }
15702
15703
15704 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxPrintData *arg1 = (wxPrintData *) 0 ;
15707 long result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (long)(arg1)->GetPrinterTranslateX();
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 resultobj = PyInt_FromLong((long)result);
15723 return resultobj;
15724 fail:
15725 return NULL;
15726 }
15727
15728
15729 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxPrintData *arg1 = (wxPrintData *) 0 ;
15732 long result;
15733 PyObject * obj0 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 result = (long)(arg1)->GetPrinterTranslateY();
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 resultobj = PyInt_FromLong((long)result);
15748 return resultobj;
15749 fail:
15750 return NULL;
15751 }
15752
15753
15754 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxPrintData *arg1 = (wxPrintData *) 0 ;
15757 int result;
15758 PyObject * obj0 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 result = (int)(arg1)->GetPrintMode();
15768
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 resultobj = PyInt_FromLong((long)result);
15773 return resultobj;
15774 fail:
15775 return NULL;
15776 }
15777
15778
15779 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj;
15781 wxPrintData *arg1 = (wxPrintData *) 0 ;
15782 wxString *arg2 = 0 ;
15783 bool temp2 = False ;
15784 PyObject * obj0 = 0 ;
15785 PyObject * obj1 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self",(char *) "command", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15792 {
15793 arg2 = wxString_in_helper(obj1);
15794 if (arg2 == NULL) SWIG_fail;
15795 temp2 = True;
15796 }
15797 {
15798 PyThreadState* __tstate = wxPyBeginAllowThreads();
15799 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15800
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 Py_INCREF(Py_None); resultobj = Py_None;
15805 {
15806 if (temp2)
15807 delete arg2;
15808 }
15809 return resultobj;
15810 fail:
15811 {
15812 if (temp2)
15813 delete arg2;
15814 }
15815 return NULL;
15816 }
15817
15818
15819 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15820 PyObject *resultobj;
15821 wxPrintData *arg1 = (wxPrintData *) 0 ;
15822 wxString *arg2 = 0 ;
15823 bool temp2 = False ;
15824 PyObject * obj0 = 0 ;
15825 PyObject * obj1 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self",(char *) "options", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15832 {
15833 arg2 = wxString_in_helper(obj1);
15834 if (arg2 == NULL) SWIG_fail;
15835 temp2 = True;
15836 }
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 Py_INCREF(Py_None); resultobj = Py_None;
15845 {
15846 if (temp2)
15847 delete arg2;
15848 }
15849 return resultobj;
15850 fail:
15851 {
15852 if (temp2)
15853 delete arg2;
15854 }
15855 return NULL;
15856 }
15857
15858
15859 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15860 PyObject *resultobj;
15861 wxPrintData *arg1 = (wxPrintData *) 0 ;
15862 wxString *arg2 = 0 ;
15863 bool temp2 = False ;
15864 PyObject * obj0 = 0 ;
15865 PyObject * obj1 = 0 ;
15866 char *kwnames[] = {
15867 (char *) "self",(char *) "command", NULL
15868 };
15869
15870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15872 {
15873 arg2 = wxString_in_helper(obj1);
15874 if (arg2 == NULL) SWIG_fail;
15875 temp2 = True;
15876 }
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 Py_INCREF(Py_None); resultobj = Py_None;
15885 {
15886 if (temp2)
15887 delete arg2;
15888 }
15889 return resultobj;
15890 fail:
15891 {
15892 if (temp2)
15893 delete arg2;
15894 }
15895 return NULL;
15896 }
15897
15898
15899 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj;
15901 wxPrintData *arg1 = (wxPrintData *) 0 ;
15902 wxString *arg2 = 0 ;
15903 bool temp2 = False ;
15904 PyObject * obj0 = 0 ;
15905 PyObject * obj1 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self",(char *) "filename", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15912 {
15913 arg2 = wxString_in_helper(obj1);
15914 if (arg2 == NULL) SWIG_fail;
15915 temp2 = True;
15916 }
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 (arg1)->SetFilename((wxString const &)*arg2);
15920
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 Py_INCREF(Py_None); resultobj = Py_None;
15925 {
15926 if (temp2)
15927 delete arg2;
15928 }
15929 return resultobj;
15930 fail:
15931 {
15932 if (temp2)
15933 delete arg2;
15934 }
15935 return NULL;
15936 }
15937
15938
15939 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxPrintData *arg1 = (wxPrintData *) 0 ;
15942 wxString *arg2 = 0 ;
15943 bool temp2 = False ;
15944 PyObject * obj0 = 0 ;
15945 PyObject * obj1 = 0 ;
15946 char *kwnames[] = {
15947 (char *) "self",(char *) "path", NULL
15948 };
15949
15950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15952 {
15953 arg2 = wxString_in_helper(obj1);
15954 if (arg2 == NULL) SWIG_fail;
15955 temp2 = True;
15956 }
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 Py_INCREF(Py_None); resultobj = Py_None;
15965 {
15966 if (temp2)
15967 delete arg2;
15968 }
15969 return resultobj;
15970 fail:
15971 {
15972 if (temp2)
15973 delete arg2;
15974 }
15975 return NULL;
15976 }
15977
15978
15979 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15980 PyObject *resultobj;
15981 wxPrintData *arg1 = (wxPrintData *) 0 ;
15982 double arg2 ;
15983 PyObject * obj0 = 0 ;
15984 char *kwnames[] = {
15985 (char *) "self",(char *) "x", NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15990 {
15991 PyThreadState* __tstate = wxPyBeginAllowThreads();
15992 (arg1)->SetPrinterScaleX(arg2);
15993
15994 wxPyEndAllowThreads(__tstate);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
15997 Py_INCREF(Py_None); resultobj = Py_None;
15998 return resultobj;
15999 fail:
16000 return NULL;
16001 }
16002
16003
16004 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16005 PyObject *resultobj;
16006 wxPrintData *arg1 = (wxPrintData *) 0 ;
16007 double arg2 ;
16008 PyObject * obj0 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self",(char *) "y", NULL
16011 };
16012
16013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16015 {
16016 PyThreadState* __tstate = wxPyBeginAllowThreads();
16017 (arg1)->SetPrinterScaleY(arg2);
16018
16019 wxPyEndAllowThreads(__tstate);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 }
16022 Py_INCREF(Py_None); resultobj = Py_None;
16023 return resultobj;
16024 fail:
16025 return NULL;
16026 }
16027
16028
16029 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxPrintData *arg1 = (wxPrintData *) 0 ;
16032 double arg2 ;
16033 double arg3 ;
16034 PyObject * obj0 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self",(char *) "x",(char *) "y", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 (arg1)->SetPrinterScaling(arg2,arg3);
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 Py_INCREF(Py_None); resultobj = Py_None;
16049 return resultobj;
16050 fail:
16051 return NULL;
16052 }
16053
16054
16055 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj;
16057 wxPrintData *arg1 = (wxPrintData *) 0 ;
16058 long arg2 ;
16059 PyObject * obj0 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self",(char *) "x", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 (arg1)->SetPrinterTranslateX(arg2);
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 Py_INCREF(Py_None); resultobj = Py_None;
16074 return resultobj;
16075 fail:
16076 return NULL;
16077 }
16078
16079
16080 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16081 PyObject *resultobj;
16082 wxPrintData *arg1 = (wxPrintData *) 0 ;
16083 long arg2 ;
16084 PyObject * obj0 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "y", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 (arg1)->SetPrinterTranslateY(arg2);
16094
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 Py_INCREF(Py_None); resultobj = Py_None;
16099 return resultobj;
16100 fail:
16101 return NULL;
16102 }
16103
16104
16105 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16106 PyObject *resultobj;
16107 wxPrintData *arg1 = (wxPrintData *) 0 ;
16108 long arg2 ;
16109 long arg3 ;
16110 PyObject * obj0 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self",(char *) "x",(char *) "y", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16117 {
16118 PyThreadState* __tstate = wxPyBeginAllowThreads();
16119 (arg1)->SetPrinterTranslation(arg2,arg3);
16120
16121 wxPyEndAllowThreads(__tstate);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 }
16124 Py_INCREF(Py_None); resultobj = Py_None;
16125 return resultobj;
16126 fail:
16127 return NULL;
16128 }
16129
16130
16131 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj;
16133 wxPrintData *arg1 = (wxPrintData *) 0 ;
16134 int arg2 ;
16135 PyObject * obj0 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self",(char *) "printMode", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 (arg1)->SetPrintMode((wxPrintMode )arg2);
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 Py_INCREF(Py_None); resultobj = Py_None;
16150 return resultobj;
16151 fail:
16152 return NULL;
16153 }
16154
16155
16156 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16157 PyObject *obj;
16158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16159 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16160 Py_INCREF(obj);
16161 return Py_BuildValue((char *)"");
16162 }
16163 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16164 PyObject *resultobj;
16165 wxPageSetupDialogData *result;
16166 char *kwnames[] = {
16167 NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16179 return resultobj;
16180 fail:
16181 return NULL;
16182 }
16183
16184
16185 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16188 PyObject * obj0 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self", NULL
16191 };
16192
16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 delete arg1;
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 Py_INCREF(Py_None); resultobj = Py_None;
16203 return resultobj;
16204 fail:
16205 return NULL;
16206 }
16207
16208
16209 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16210 PyObject *resultobj;
16211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16212 bool arg2 ;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self",(char *) "flag", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16221 arg2 = PyInt_AsLong(obj1) ? true : false;
16222 if (PyErr_Occurred()) SWIG_fail;
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 (arg1)->EnableHelp(arg2);
16226
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 Py_INCREF(Py_None); resultobj = Py_None;
16231 return resultobj;
16232 fail:
16233 return NULL;
16234 }
16235
16236
16237 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16238 PyObject *resultobj;
16239 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16240 bool arg2 ;
16241 PyObject * obj0 = 0 ;
16242 PyObject * obj1 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self",(char *) "flag", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16249 arg2 = PyInt_AsLong(obj1) ? true : false;
16250 if (PyErr_Occurred()) SWIG_fail;
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 (arg1)->EnableMargins(arg2);
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
16258 Py_INCREF(Py_None); resultobj = Py_None;
16259 return resultobj;
16260 fail:
16261 return NULL;
16262 }
16263
16264
16265 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj;
16267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16268 bool arg2 ;
16269 PyObject * obj0 = 0 ;
16270 PyObject * obj1 = 0 ;
16271 char *kwnames[] = {
16272 (char *) "self",(char *) "flag", NULL
16273 };
16274
16275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16277 arg2 = PyInt_AsLong(obj1) ? true : false;
16278 if (PyErr_Occurred()) SWIG_fail;
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 (arg1)->EnableOrientation(arg2);
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16296 bool arg2 ;
16297 PyObject * obj0 = 0 ;
16298 PyObject * obj1 = 0 ;
16299 char *kwnames[] = {
16300 (char *) "self",(char *) "flag", NULL
16301 };
16302
16303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16305 arg2 = PyInt_AsLong(obj1) ? true : false;
16306 if (PyErr_Occurred()) SWIG_fail;
16307 {
16308 PyThreadState* __tstate = wxPyBeginAllowThreads();
16309 (arg1)->EnablePaper(arg2);
16310
16311 wxPyEndAllowThreads(__tstate);
16312 if (PyErr_Occurred()) SWIG_fail;
16313 }
16314 Py_INCREF(Py_None); resultobj = Py_None;
16315 return resultobj;
16316 fail:
16317 return NULL;
16318 }
16319
16320
16321 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16322 PyObject *resultobj;
16323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16324 bool arg2 ;
16325 PyObject * obj0 = 0 ;
16326 PyObject * obj1 = 0 ;
16327 char *kwnames[] = {
16328 (char *) "self",(char *) "flag", NULL
16329 };
16330
16331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16333 arg2 = PyInt_AsLong(obj1) ? true : false;
16334 if (PyErr_Occurred()) SWIG_fail;
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 (arg1)->EnablePrinter(arg2);
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 Py_INCREF(Py_None); resultobj = Py_None;
16343 return resultobj;
16344 fail:
16345 return NULL;
16346 }
16347
16348
16349 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16350 PyObject *resultobj;
16351 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16352 bool result;
16353 PyObject * obj0 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 result = (bool)(arg1)->GetDefaultMinMargins();
16363
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 resultobj = PyInt_FromLong((long)result);
16368 return resultobj;
16369 fail:
16370 return NULL;
16371 }
16372
16373
16374 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16377 bool result;
16378 PyObject * obj0 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
16387 result = (bool)(arg1)->GetEnableMargins();
16388
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 resultobj = PyInt_FromLong((long)result);
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16402 bool result;
16403 PyObject * obj0 = 0 ;
16404 char *kwnames[] = {
16405 (char *) "self", NULL
16406 };
16407
16408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16410 {
16411 PyThreadState* __tstate = wxPyBeginAllowThreads();
16412 result = (bool)(arg1)->GetEnableOrientation();
16413
16414 wxPyEndAllowThreads(__tstate);
16415 if (PyErr_Occurred()) SWIG_fail;
16416 }
16417 resultobj = PyInt_FromLong((long)result);
16418 return resultobj;
16419 fail:
16420 return NULL;
16421 }
16422
16423
16424 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16425 PyObject *resultobj;
16426 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16427 bool result;
16428 PyObject * obj0 = 0 ;
16429 char *kwnames[] = {
16430 (char *) "self", NULL
16431 };
16432
16433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 result = (bool)(arg1)->GetEnablePaper();
16438
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 resultobj = PyInt_FromLong((long)result);
16443 return resultobj;
16444 fail:
16445 return NULL;
16446 }
16447
16448
16449 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16450 PyObject *resultobj;
16451 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16452 bool result;
16453 PyObject * obj0 = 0 ;
16454 char *kwnames[] = {
16455 (char *) "self", NULL
16456 };
16457
16458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16460 {
16461 PyThreadState* __tstate = wxPyBeginAllowThreads();
16462 result = (bool)(arg1)->GetEnablePrinter();
16463
16464 wxPyEndAllowThreads(__tstate);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 resultobj = PyInt_FromLong((long)result);
16468 return resultobj;
16469 fail:
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16477 bool result;
16478 PyObject * obj0 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16485 {
16486 PyThreadState* __tstate = wxPyBeginAllowThreads();
16487 result = (bool)(arg1)->GetEnableHelp();
16488
16489 wxPyEndAllowThreads(__tstate);
16490 if (PyErr_Occurred()) SWIG_fail;
16491 }
16492 resultobj = PyInt_FromLong((long)result);
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16502 bool result;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16510 {
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 result = (bool)(arg1)->GetDefaultInfo();
16513
16514 wxPyEndAllowThreads(__tstate);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 resultobj = PyInt_FromLong((long)result);
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16527 wxPoint result;
16528 PyObject * obj0 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16535 {
16536 PyThreadState* __tstate = wxPyBeginAllowThreads();
16537 result = (arg1)->GetMarginTopLeft();
16538
16539 wxPyEndAllowThreads(__tstate);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 }
16542 {
16543 wxPoint * resultptr;
16544 resultptr = new wxPoint((wxPoint &) result);
16545 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16546 }
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16556 wxPoint result;
16557 PyObject * obj0 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (arg1)->GetMarginBottomRight();
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 {
16572 wxPoint * resultptr;
16573 resultptr = new wxPoint((wxPoint &) result);
16574 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16575 }
16576 return resultobj;
16577 fail:
16578 return NULL;
16579 }
16580
16581
16582 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16583 PyObject *resultobj;
16584 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16585 wxPoint result;
16586 PyObject * obj0 = 0 ;
16587 char *kwnames[] = {
16588 (char *) "self", NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 result = (arg1)->GetMinMarginTopLeft();
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 {
16601 wxPoint * resultptr;
16602 resultptr = new wxPoint((wxPoint &) result);
16603 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16604 }
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16614 wxPoint result;
16615 PyObject * obj0 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 result = (arg1)->GetMinMarginBottomRight();
16625
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 {
16630 wxPoint * resultptr;
16631 resultptr = new wxPoint((wxPoint &) result);
16632 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16633 }
16634 return resultobj;
16635 fail:
16636 return NULL;
16637 }
16638
16639
16640 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj;
16642 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16643 int result;
16644 PyObject * obj0 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16651 {
16652 PyThreadState* __tstate = wxPyBeginAllowThreads();
16653 result = (int)(arg1)->GetPaperId();
16654
16655 wxPyEndAllowThreads(__tstate);
16656 if (PyErr_Occurred()) SWIG_fail;
16657 }
16658 resultobj = PyInt_FromLong((long)result);
16659 return resultobj;
16660 fail:
16661 return NULL;
16662 }
16663
16664
16665 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16666 PyObject *resultobj;
16667 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16668 wxSize result;
16669 PyObject * obj0 = 0 ;
16670 char *kwnames[] = {
16671 (char *) "self", NULL
16672 };
16673
16674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16676 {
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 result = (arg1)->GetPaperSize();
16679
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 {
16684 wxSize * resultptr;
16685 resultptr = new wxSize((wxSize &) result);
16686 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16687 }
16688 return resultobj;
16689 fail:
16690 return NULL;
16691 }
16692
16693
16694 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16697 wxPrintData *result;
16698 PyObject * obj0 = 0 ;
16699 char *kwnames[] = {
16700 (char *) "self", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 {
16708 wxPrintData &_result_ref = (arg1)->GetPrintData();
16709 result = (wxPrintData *) &_result_ref;
16710 }
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16716 return resultobj;
16717 fail:
16718 return NULL;
16719 }
16720
16721
16722 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16723 PyObject *resultobj;
16724 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16725 bool result;
16726 PyObject * obj0 = 0 ;
16727 char *kwnames[] = {
16728 (char *) "self", NULL
16729 };
16730
16731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16733 {
16734 PyThreadState* __tstate = wxPyBeginAllowThreads();
16735 result = (bool)(arg1)->Ok();
16736
16737 wxPyEndAllowThreads(__tstate);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 }
16740 resultobj = PyInt_FromLong((long)result);
16741 return resultobj;
16742 fail:
16743 return NULL;
16744 }
16745
16746
16747 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj;
16749 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16750 bool arg2 ;
16751 PyObject * obj0 = 0 ;
16752 PyObject * obj1 = 0 ;
16753 char *kwnames[] = {
16754 (char *) "self",(char *) "flag", NULL
16755 };
16756
16757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16759 arg2 = PyInt_AsLong(obj1) ? true : false;
16760 if (PyErr_Occurred()) SWIG_fail;
16761 {
16762 PyThreadState* __tstate = wxPyBeginAllowThreads();
16763 (arg1)->SetDefaultInfo(arg2);
16764
16765 wxPyEndAllowThreads(__tstate);
16766 if (PyErr_Occurred()) SWIG_fail;
16767 }
16768 Py_INCREF(Py_None); resultobj = Py_None;
16769 return resultobj;
16770 fail:
16771 return NULL;
16772 }
16773
16774
16775 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16776 PyObject *resultobj;
16777 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16778 bool arg2 ;
16779 PyObject * obj0 = 0 ;
16780 PyObject * obj1 = 0 ;
16781 char *kwnames[] = {
16782 (char *) "self",(char *) "flag", NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16787 arg2 = PyInt_AsLong(obj1) ? true : false;
16788 if (PyErr_Occurred()) SWIG_fail;
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 (arg1)->SetDefaultMinMargins(arg2);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 Py_INCREF(Py_None); resultobj = Py_None;
16797 return resultobj;
16798 fail:
16799 return NULL;
16800 }
16801
16802
16803 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16806 wxPoint *arg2 = 0 ;
16807 wxPoint temp2 ;
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
16810 char *kwnames[] = {
16811 (char *) "self",(char *) "pt", NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16816 {
16817 arg2 = &temp2;
16818 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16819 }
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 Py_INCREF(Py_None); resultobj = Py_None;
16828 return resultobj;
16829 fail:
16830 return NULL;
16831 }
16832
16833
16834 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16837 wxPoint *arg2 = 0 ;
16838 wxPoint temp2 ;
16839 PyObject * obj0 = 0 ;
16840 PyObject * obj1 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self",(char *) "pt", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16847 {
16848 arg2 = &temp2;
16849 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16850 }
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 Py_INCREF(Py_None); resultobj = Py_None;
16859 return resultobj;
16860 fail:
16861 return NULL;
16862 }
16863
16864
16865 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16868 wxPoint *arg2 = 0 ;
16869 wxPoint temp2 ;
16870 PyObject * obj0 = 0 ;
16871 PyObject * obj1 = 0 ;
16872 char *kwnames[] = {
16873 (char *) "self",(char *) "pt", NULL
16874 };
16875
16876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16878 {
16879 arg2 = &temp2;
16880 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16881 }
16882 {
16883 PyThreadState* __tstate = wxPyBeginAllowThreads();
16884 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16885
16886 wxPyEndAllowThreads(__tstate);
16887 if (PyErr_Occurred()) SWIG_fail;
16888 }
16889 Py_INCREF(Py_None); resultobj = Py_None;
16890 return resultobj;
16891 fail:
16892 return NULL;
16893 }
16894
16895
16896 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16897 PyObject *resultobj;
16898 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16899 wxPoint *arg2 = 0 ;
16900 wxPoint temp2 ;
16901 PyObject * obj0 = 0 ;
16902 PyObject * obj1 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self",(char *) "pt", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16909 {
16910 arg2 = &temp2;
16911 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16912 }
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16916
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 Py_INCREF(Py_None); resultobj = Py_None;
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16930 int arg2 ;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self",(char *) "id", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 (arg1)->SetPaperId((wxPaperSize )arg2);
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 Py_INCREF(Py_None); resultobj = Py_None;
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16955 wxSize *arg2 = 0 ;
16956 wxSize temp2 ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "size", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16965 {
16966 arg2 = &temp2;
16967 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16968 }
16969 {
16970 PyThreadState* __tstate = wxPyBeginAllowThreads();
16971 (arg1)->SetPaperSize((wxSize const &)*arg2);
16972
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 Py_INCREF(Py_None); resultobj = Py_None;
16977 return resultobj;
16978 fail:
16979 return NULL;
16980 }
16981
16982
16983 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16984 PyObject *resultobj;
16985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16986 wxPrintData *arg2 = 0 ;
16987 PyObject * obj0 = 0 ;
16988 PyObject * obj1 = 0 ;
16989 char *kwnames[] = {
16990 (char *) "self",(char *) "printData", NULL
16991 };
16992
16993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16996 if (arg2 == NULL) {
16997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16998 }
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 Py_INCREF(Py_None); resultobj = Py_None;
17007 return resultobj;
17008 fail:
17009 return NULL;
17010 }
17011
17012
17013 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17014 PyObject *obj;
17015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17016 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17017 Py_INCREF(obj);
17018 return Py_BuildValue((char *)"");
17019 }
17020 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxWindow *arg1 = (wxWindow *) 0 ;
17023 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17024 wxPageSetupDialog *result;
17025 PyObject * obj0 = 0 ;
17026 PyObject * obj1 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "parent",(char *) "data", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 if (obj1) {
17034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17035 }
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17044 return resultobj;
17045 fail:
17046 return NULL;
17047 }
17048
17049
17050 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17053 wxPageSetupDialogData *result;
17054 PyObject * obj0 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 {
17064 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17065 result = (wxPageSetupDialogData *) &_result_ref;
17066 }
17067
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17072 return resultobj;
17073 fail:
17074 return NULL;
17075 }
17076
17077
17078 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17079 PyObject *resultobj;
17080 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17081 int result;
17082 PyObject * obj0 = 0 ;
17083 char *kwnames[] = {
17084 (char *) "self", NULL
17085 };
17086
17087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 result = (int)(arg1)->ShowModal();
17092
17093 wxPyEndAllowThreads(__tstate);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 resultobj = PyInt_FromLong((long)result);
17097 return resultobj;
17098 fail:
17099 return NULL;
17100 }
17101
17102
17103 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17104 PyObject *obj;
17105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17106 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17107 Py_INCREF(obj);
17108 return Py_BuildValue((char *)"");
17109 }
17110 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxPrintDialogData *result;
17113 char *kwnames[] = {
17114 NULL
17115 };
17116
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (wxPrintDialogData *)new wxPrintDialogData();
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17135 PyObject * obj0 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 delete arg1;
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 Py_INCREF(Py_None); resultobj = Py_None;
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17159 int result;
17160 PyObject * obj0 = 0 ;
17161 char *kwnames[] = {
17162 (char *) "self", NULL
17163 };
17164
17165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17167 {
17168 PyThreadState* __tstate = wxPyBeginAllowThreads();
17169 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17170
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 resultobj = PyInt_FromLong((long)result);
17175 return resultobj;
17176 fail:
17177 return NULL;
17178 }
17179
17180
17181 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj;
17183 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17184 int result;
17185 PyObject * obj0 = 0 ;
17186 char *kwnames[] = {
17187 (char *) "self", NULL
17188 };
17189
17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 resultobj = PyInt_FromLong((long)result);
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17209 int result;
17210 PyObject * obj0 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 resultobj = PyInt_FromLong((long)result);
17225 return resultobj;
17226 fail:
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17234 int result;
17235 PyObject * obj0 = 0 ;
17236 char *kwnames[] = {
17237 (char *) "self", NULL
17238 };
17239
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17242 {
17243 PyThreadState* __tstate = wxPyBeginAllowThreads();
17244 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17245
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 resultobj = PyInt_FromLong((long)result);
17250 return resultobj;
17251 fail:
17252 return NULL;
17253 }
17254
17255
17256 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17259 int result;
17260 PyObject * obj0 = 0 ;
17261 char *kwnames[] = {
17262 (char *) "self", NULL
17263 };
17264
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17267 {
17268 PyThreadState* __tstate = wxPyBeginAllowThreads();
17269 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17270
17271 wxPyEndAllowThreads(__tstate);
17272 if (PyErr_Occurred()) SWIG_fail;
17273 }
17274 resultobj = PyInt_FromLong((long)result);
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17284 bool result;
17285 PyObject * obj0 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 resultobj = PyInt_FromLong((long)result);
17300 return resultobj;
17301 fail:
17302 return NULL;
17303 }
17304
17305
17306 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17309 bool result;
17310 PyObject * obj0 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17320
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 resultobj = PyInt_FromLong((long)result);
17325 return resultobj;
17326 fail:
17327 return NULL;
17328 }
17329
17330
17331 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17332 PyObject *resultobj;
17333 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17334 bool result;
17335 PyObject * obj0 = 0 ;
17336 char *kwnames[] = {
17337 (char *) "self", NULL
17338 };
17339
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 resultobj = PyInt_FromLong((long)result);
17350 return resultobj;
17351 fail:
17352 return NULL;
17353 }
17354
17355
17356 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj;
17358 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17359 bool result;
17360 PyObject * obj0 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 resultobj = PyInt_FromLong((long)result);
17375 return resultobj;
17376 fail:
17377 return NULL;
17378 }
17379
17380
17381 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17384 bool result;
17385 PyObject * obj0 = 0 ;
17386 char *kwnames[] = {
17387 (char *) "self", NULL
17388 };
17389
17390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 resultobj = PyInt_FromLong((long)result);
17400 return resultobj;
17401 fail:
17402 return NULL;
17403 }
17404
17405
17406 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17407 PyObject *resultobj;
17408 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17409 int arg2 ;
17410 PyObject * obj0 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "v", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->SetFromPage(arg2);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 Py_INCREF(Py_None); resultobj = Py_None;
17425 return resultobj;
17426 fail:
17427 return NULL;
17428 }
17429
17430
17431 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17432 PyObject *resultobj;
17433 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17434 int arg2 ;
17435 PyObject * obj0 = 0 ;
17436 char *kwnames[] = {
17437 (char *) "self",(char *) "v", NULL
17438 };
17439
17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 (arg1)->SetToPage(arg2);
17445
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
17449 Py_INCREF(Py_None); resultobj = Py_None;
17450 return resultobj;
17451 fail:
17452 return NULL;
17453 }
17454
17455
17456 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj;
17458 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17459 int arg2 ;
17460 PyObject * obj0 = 0 ;
17461 char *kwnames[] = {
17462 (char *) "self",(char *) "v", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->SetMinPage(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_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17484 int arg2 ;
17485 PyObject * obj0 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self",(char *) "v", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 (arg1)->SetMaxPage(arg2);
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 Py_INCREF(Py_None); resultobj = Py_None;
17500 return resultobj;
17501 fail:
17502 return NULL;
17503 }
17504
17505
17506 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17509 int arg2 ;
17510 PyObject * obj0 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self",(char *) "v", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 (arg1)->SetNoCopies(arg2);
17520
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 Py_INCREF(Py_None); resultobj = Py_None;
17525 return resultobj;
17526 fail:
17527 return NULL;
17528 }
17529
17530
17531 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17532 PyObject *resultobj;
17533 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17534 bool arg2 ;
17535 PyObject * obj0 = 0 ;
17536 PyObject * obj1 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self",(char *) "flag", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 arg2 = PyInt_AsLong(obj1) ? true : false;
17544 if (PyErr_Occurred()) SWIG_fail;
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 (arg1)->SetAllPages(arg2);
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 Py_INCREF(Py_None); resultobj = Py_None;
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17562 bool arg2 ;
17563 PyObject * obj0 = 0 ;
17564 PyObject * obj1 = 0 ;
17565 char *kwnames[] = {
17566 (char *) "self",(char *) "flag", NULL
17567 };
17568
17569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17571 arg2 = PyInt_AsLong(obj1) ? true : false;
17572 if (PyErr_Occurred()) SWIG_fail;
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 (arg1)->SetSelection(arg2);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 Py_INCREF(Py_None); resultobj = Py_None;
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17590 bool arg2 ;
17591 PyObject * obj0 = 0 ;
17592 PyObject * obj1 = 0 ;
17593 char *kwnames[] = {
17594 (char *) "self",(char *) "flag", NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17599 arg2 = PyInt_AsLong(obj1) ? true : false;
17600 if (PyErr_Occurred()) SWIG_fail;
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 (arg1)->SetCollate(arg2);
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 Py_INCREF(Py_None); resultobj = Py_None;
17609 return resultobj;
17610 fail:
17611 return NULL;
17612 }
17613
17614
17615 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17616 PyObject *resultobj;
17617 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17618 bool arg2 ;
17619 PyObject * obj0 = 0 ;
17620 PyObject * obj1 = 0 ;
17621 char *kwnames[] = {
17622 (char *) "self",(char *) "flag", NULL
17623 };
17624
17625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17627 arg2 = PyInt_AsLong(obj1) ? true : false;
17628 if (PyErr_Occurred()) SWIG_fail;
17629 {
17630 PyThreadState* __tstate = wxPyBeginAllowThreads();
17631 (arg1)->SetPrintToFile(arg2);
17632
17633 wxPyEndAllowThreads(__tstate);
17634 if (PyErr_Occurred()) SWIG_fail;
17635 }
17636 Py_INCREF(Py_None); resultobj = Py_None;
17637 return resultobj;
17638 fail:
17639 return NULL;
17640 }
17641
17642
17643 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17644 PyObject *resultobj;
17645 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17646 bool arg2 ;
17647 PyObject * obj0 = 0 ;
17648 PyObject * obj1 = 0 ;
17649 char *kwnames[] = {
17650 (char *) "self",(char *) "flag", NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17655 arg2 = PyInt_AsLong(obj1) ? true : false;
17656 if (PyErr_Occurred()) SWIG_fail;
17657 {
17658 PyThreadState* __tstate = wxPyBeginAllowThreads();
17659 (arg1)->SetSetupDialog(arg2);
17660
17661 wxPyEndAllowThreads(__tstate);
17662 if (PyErr_Occurred()) SWIG_fail;
17663 }
17664 Py_INCREF(Py_None); resultobj = Py_None;
17665 return resultobj;
17666 fail:
17667 return NULL;
17668 }
17669
17670
17671 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17672 PyObject *resultobj;
17673 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17674 bool arg2 ;
17675 PyObject * obj0 = 0 ;
17676 PyObject * obj1 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self",(char *) "flag", NULL
17679 };
17680
17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17683 arg2 = PyInt_AsLong(obj1) ? true : false;
17684 if (PyErr_Occurred()) SWIG_fail;
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 (arg1)->EnablePrintToFile(arg2);
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 Py_INCREF(Py_None); resultobj = Py_None;
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17702 bool arg2 ;
17703 PyObject * obj0 = 0 ;
17704 PyObject * obj1 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self",(char *) "flag", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17711 arg2 = PyInt_AsLong(obj1) ? true : false;
17712 if (PyErr_Occurred()) SWIG_fail;
17713 {
17714 PyThreadState* __tstate = wxPyBeginAllowThreads();
17715 (arg1)->EnableSelection(arg2);
17716
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 Py_INCREF(Py_None); resultobj = Py_None;
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17730 bool arg2 ;
17731 PyObject * obj0 = 0 ;
17732 PyObject * obj1 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self",(char *) "flag", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17739 arg2 = PyInt_AsLong(obj1) ? true : false;
17740 if (PyErr_Occurred()) SWIG_fail;
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 (arg1)->EnablePageNumbers(arg2);
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 Py_INCREF(Py_None); resultobj = Py_None;
17749 return resultobj;
17750 fail:
17751 return NULL;
17752 }
17753
17754
17755 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17758 bool arg2 ;
17759 PyObject * obj0 = 0 ;
17760 PyObject * obj1 = 0 ;
17761 char *kwnames[] = {
17762 (char *) "self",(char *) "flag", NULL
17763 };
17764
17765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17767 arg2 = PyInt_AsLong(obj1) ? true : false;
17768 if (PyErr_Occurred()) SWIG_fail;
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 (arg1)->EnableHelp(arg2);
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 Py_INCREF(Py_None); resultobj = Py_None;
17777 return resultobj;
17778 fail:
17779 return NULL;
17780 }
17781
17782
17783 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17786 bool result;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = PyInt_FromLong((long)result);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17811 bool result;
17812 PyObject * obj0 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 resultobj = PyInt_FromLong((long)result);
17827 return resultobj;
17828 fail:
17829 return NULL;
17830 }
17831
17832
17833 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17836 bool result;
17837 PyObject * obj0 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self", NULL
17840 };
17841
17842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 resultobj = PyInt_FromLong((long)result);
17852 return resultobj;
17853 fail:
17854 return NULL;
17855 }
17856
17857
17858 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17861 bool result;
17862 PyObject * obj0 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17869 {
17870 PyThreadState* __tstate = wxPyBeginAllowThreads();
17871 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17872
17873 wxPyEndAllowThreads(__tstate);
17874 if (PyErr_Occurred()) SWIG_fail;
17875 }
17876 resultobj = PyInt_FromLong((long)result);
17877 return resultobj;
17878 fail:
17879 return NULL;
17880 }
17881
17882
17883 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17884 PyObject *resultobj;
17885 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17886 bool result;
17887 PyObject * obj0 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = PyInt_FromLong((long)result);
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17911 wxPrintData *result;
17912 PyObject * obj0 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 {
17922 wxPrintData &_result_ref = (arg1)->GetPrintData();
17923 result = (wxPrintData *) &_result_ref;
17924 }
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17930 return resultobj;
17931 fail:
17932 return NULL;
17933 }
17934
17935
17936 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17939 wxPrintData *arg2 = 0 ;
17940 PyObject * obj0 = 0 ;
17941 PyObject * obj1 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self",(char *) "printData", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17949 if (arg2 == NULL) {
17950 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17951 }
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 Py_INCREF(Py_None); resultobj = Py_None;
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17967 PyObject *obj;
17968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17969 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17970 Py_INCREF(obj);
17971 return Py_BuildValue((char *)"");
17972 }
17973 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxWindow *arg1 = (wxWindow *) 0 ;
17976 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17977 wxPrintDialog *result;
17978 PyObject * obj0 = 0 ;
17979 PyObject * obj1 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "parent",(char *) "data", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17986 if (obj1) {
17987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 }
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17997 return resultobj;
17998 fail:
17999 return NULL;
18000 }
18001
18002
18003 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18004 PyObject *resultobj;
18005 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18006 wxPrintDialogData *result;
18007 PyObject * obj0 = 0 ;
18008 char *kwnames[] = {
18009 (char *) "self", NULL
18010 };
18011
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 {
18017 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18018 result = (wxPrintDialogData *) &_result_ref;
18019 }
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18034 wxDC *result;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (wxDC *)(arg1)->GetPrintDC();
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 resultobj = wxPyMake_wxObject(result);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18061 int result;
18062 PyObject * obj0 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 result = (int)(arg1)->ShowModal();
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 resultobj = PyInt_FromLong((long)result);
18077 return resultobj;
18078 fail:
18079 return NULL;
18080 }
18081
18082
18083 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18084 PyObject *obj;
18085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18086 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18087 Py_INCREF(obj);
18088 return Py_BuildValue((char *)"");
18089 }
18090 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18091 PyObject *resultobj;
18092 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18093 wxPrinter *result;
18094 PyObject * obj0 = 0 ;
18095 char *kwnames[] = {
18096 (char *) "data", NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18100 if (obj0) {
18101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18102 }
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (wxPrinter *)new wxPrinter(arg1);
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18111 return resultobj;
18112 fail:
18113 return NULL;
18114 }
18115
18116
18117 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj;
18119 wxPrinter *arg1 = (wxPrinter *) 0 ;
18120 PyObject * obj0 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 delete arg1;
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 Py_INCREF(Py_None); resultobj = Py_None;
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxPrinter *arg1 = (wxPrinter *) 0 ;
18144 wxWindow *arg2 = (wxWindow *) 0 ;
18145 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18146 PyObject * obj0 = 0 ;
18147 PyObject * obj1 = 0 ;
18148 PyObject * obj2 = 0 ;
18149 char *kwnames[] = {
18150 (char *) "self",(char *) "parent",(char *) "printout", NULL
18151 };
18152
18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18156 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 (arg1)->CreateAbortWindow(arg2,arg3);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 Py_INCREF(Py_None); resultobj = Py_None;
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxPrinter *arg1 = (wxPrinter *) 0 ;
18174 wxPrintDialogData *result;
18175 PyObject * obj0 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 {
18185 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18186 result = (wxPrintDialogData *) &_result_ref;
18187 }
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxPrinter *arg1 = (wxPrinter *) 0 ;
18202 wxWindow *arg2 = (wxWindow *) 0 ;
18203 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18204 int arg4 = (int) True ;
18205 bool result;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 PyObject * obj2 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18216 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18217 {
18218 PyThreadState* __tstate = wxPyBeginAllowThreads();
18219 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18220
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 resultobj = PyInt_FromLong((long)result);
18225 return resultobj;
18226 fail:
18227 return NULL;
18228 }
18229
18230
18231 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18232 PyObject *resultobj;
18233 wxPrinter *arg1 = (wxPrinter *) 0 ;
18234 wxWindow *arg2 = (wxWindow *) 0 ;
18235 wxDC *result;
18236 PyObject * obj0 = 0 ;
18237 PyObject * obj1 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "self",(char *) "parent", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (wxDC *)(arg1)->PrintDialog(arg2);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 resultobj = wxPyMake_wxObject(result);
18254 }
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPrinter *arg1 = (wxPrinter *) 0 ;
18264 wxWindow *arg2 = (wxWindow *) 0 ;
18265 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18266 wxString *arg4 = 0 ;
18267 bool temp4 = False ;
18268 PyObject * obj0 = 0 ;
18269 PyObject * obj1 = 0 ;
18270 PyObject * obj2 = 0 ;
18271 PyObject * obj3 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18279 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18280 {
18281 arg4 = wxString_in_helper(obj3);
18282 if (arg4 == NULL) SWIG_fail;
18283 temp4 = True;
18284 }
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 Py_INCREF(Py_None); resultobj = Py_None;
18293 {
18294 if (temp4)
18295 delete arg4;
18296 }
18297 return resultobj;
18298 fail:
18299 {
18300 if (temp4)
18301 delete arg4;
18302 }
18303 return NULL;
18304 }
18305
18306
18307 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18308 PyObject *resultobj;
18309 wxPrinter *arg1 = (wxPrinter *) 0 ;
18310 wxWindow *arg2 = (wxWindow *) 0 ;
18311 bool result;
18312 PyObject * obj0 = 0 ;
18313 PyObject * obj1 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self",(char *) "parent", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18321 {
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 result = (bool)(arg1)->Setup(arg2);
18324
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 resultobj = PyInt_FromLong((long)result);
18329 return resultobj;
18330 fail:
18331 return NULL;
18332 }
18333
18334
18335 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18336 PyObject *resultobj;
18337 wxPrinter *arg1 = (wxPrinter *) 0 ;
18338 bool result;
18339 PyObject * obj0 = 0 ;
18340 char *kwnames[] = {
18341 (char *) "self", NULL
18342 };
18343
18344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 result = (bool)(arg1)->GetAbort();
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 resultobj = PyInt_FromLong((long)result);
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj;
18362 int result;
18363 char *kwnames[] = {
18364 NULL
18365 };
18366
18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18368 {
18369 PyThreadState* __tstate = wxPyBeginAllowThreads();
18370 result = (int)wxPrinter::GetLastError();
18371
18372 wxPyEndAllowThreads(__tstate);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 resultobj = PyInt_FromLong((long)result);
18376 return resultobj;
18377 fail:
18378 return NULL;
18379 }
18380
18381
18382 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18383 PyObject *obj;
18384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18385 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18386 Py_INCREF(obj);
18387 return Py_BuildValue((char *)"");
18388 }
18389 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18390 PyObject *resultobj;
18391 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18392 wxString *arg1 = (wxString *) &arg1_defvalue ;
18393 wxPyPrintout *result;
18394 bool temp1 = False ;
18395 PyObject * obj0 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "title", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18401 if (obj0) {
18402 {
18403 arg1 = wxString_in_helper(obj0);
18404 if (arg1 == NULL) SWIG_fail;
18405 temp1 = True;
18406 }
18407 }
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 {
18416 resultobj = wxPyMake_wxObject(result);
18417 }
18418 {
18419 if (temp1)
18420 delete arg1;
18421 }
18422 return resultobj;
18423 fail:
18424 {
18425 if (temp1)
18426 delete arg1;
18427 }
18428 return NULL;
18429 }
18430
18431
18432 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18433 PyObject *resultobj;
18434 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18435 PyObject *arg2 = (PyObject *) 0 ;
18436 PyObject *arg3 = (PyObject *) 0 ;
18437 PyObject * obj0 = 0 ;
18438 PyObject * obj1 = 0 ;
18439 PyObject * obj2 = 0 ;
18440 char *kwnames[] = {
18441 (char *) "self",(char *) "self",(char *) "_class", NULL
18442 };
18443
18444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18446 arg2 = obj1;
18447 arg3 = obj2;
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 (arg1)->_setCallbackInfo(arg2,arg3);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 Py_INCREF(Py_None); resultobj = Py_None;
18456 return resultobj;
18457 fail:
18458 return NULL;
18459 }
18460
18461
18462 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18463 PyObject *resultobj;
18464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18465 wxString result;
18466 PyObject * obj0 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self", NULL
18469 };
18470
18471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 result = ((wxPyPrintout const *)arg1)->GetTitle();
18476
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 {
18481 #if wxUSE_UNICODE
18482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18483 #else
18484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18485 #endif
18486 }
18487 return resultobj;
18488 fail:
18489 return NULL;
18490 }
18491
18492
18493 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18494 PyObject *resultobj;
18495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18496 wxDC *result;
18497 PyObject * obj0 = 0 ;
18498 char *kwnames[] = {
18499 (char *) "self", NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (wxDC *)(arg1)->GetDC();
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 {
18512 resultobj = wxPyMake_wxObject(result);
18513 }
18514 return resultobj;
18515 fail:
18516 return NULL;
18517 }
18518
18519
18520 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18523 wxDC *arg2 = (wxDC *) 0 ;
18524 PyObject * obj0 = 0 ;
18525 PyObject * obj1 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "self",(char *) "dc", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 (arg1)->SetDC(arg2);
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 Py_INCREF(Py_None); resultobj = Py_None;
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18550 int *arg2 = (int *) 0 ;
18551 int *arg3 = (int *) 0 ;
18552 int temp2 ;
18553 int temp3 ;
18554 PyObject * obj0 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "self", NULL
18557 };
18558
18559 arg2 = &temp2;
18560 arg3 = &temp3;
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 (arg1)->GetPageSizePixels(arg2,arg3);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 Py_INCREF(Py_None); resultobj = Py_None;
18571 {
18572 PyObject *o = PyInt_FromLong((long) (*arg2));
18573 resultobj = t_output_helper(resultobj,o);
18574 }
18575 {
18576 PyObject *o = PyInt_FromLong((long) (*arg3));
18577 resultobj = t_output_helper(resultobj,o);
18578 }
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18588 int arg2 ;
18589 int arg3 ;
18590 PyObject * obj0 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self",(char *) "w",(char *) "h", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 (arg1)->SetPageSizePixels(arg2,arg3);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 Py_INCREF(Py_None); resultobj = Py_None;
18605 return resultobj;
18606 fail:
18607 return NULL;
18608 }
18609
18610
18611 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18612 PyObject *resultobj;
18613 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18614 int arg2 ;
18615 int arg3 ;
18616 PyObject * obj0 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self",(char *) "w",(char *) "h", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",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 (arg1)->SetPageSizeMM(arg2,arg3);
18626
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
18630 Py_INCREF(Py_None); resultobj = Py_None;
18631 return resultobj;
18632 fail:
18633 return NULL;
18634 }
18635
18636
18637 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18638 PyObject *resultobj;
18639 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18640 int *arg2 = (int *) 0 ;
18641 int *arg3 = (int *) 0 ;
18642 int temp2 ;
18643 int temp3 ;
18644 PyObject * obj0 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self", NULL
18647 };
18648
18649 arg2 = &temp2;
18650 arg3 = &temp3;
18651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 (arg1)->GetPageSizeMM(arg2,arg3);
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 Py_INCREF(Py_None); resultobj = Py_None;
18661 {
18662 PyObject *o = PyInt_FromLong((long) (*arg2));
18663 resultobj = t_output_helper(resultobj,o);
18664 }
18665 {
18666 PyObject *o = PyInt_FromLong((long) (*arg3));
18667 resultobj = t_output_helper(resultobj,o);
18668 }
18669 return resultobj;
18670 fail:
18671 return NULL;
18672 }
18673
18674
18675 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj;
18677 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18678 int arg2 ;
18679 int arg3 ;
18680 PyObject * obj0 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self",(char *) "x",(char *) "y", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18687 {
18688 PyThreadState* __tstate = wxPyBeginAllowThreads();
18689 (arg1)->SetPPIScreen(arg2,arg3);
18690
18691 wxPyEndAllowThreads(__tstate);
18692 if (PyErr_Occurred()) SWIG_fail;
18693 }
18694 Py_INCREF(Py_None); resultobj = Py_None;
18695 return resultobj;
18696 fail:
18697 return NULL;
18698 }
18699
18700
18701 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18702 PyObject *resultobj;
18703 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18704 int *arg2 = (int *) 0 ;
18705 int *arg3 = (int *) 0 ;
18706 int temp2 ;
18707 int temp3 ;
18708 PyObject * obj0 = 0 ;
18709 char *kwnames[] = {
18710 (char *) "self", NULL
18711 };
18712
18713 arg2 = &temp2;
18714 arg3 = &temp3;
18715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 (arg1)->GetPPIScreen(arg2,arg3);
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 Py_INCREF(Py_None); resultobj = Py_None;
18725 {
18726 PyObject *o = PyInt_FromLong((long) (*arg2));
18727 resultobj = t_output_helper(resultobj,o);
18728 }
18729 {
18730 PyObject *o = PyInt_FromLong((long) (*arg3));
18731 resultobj = t_output_helper(resultobj,o);
18732 }
18733 return resultobj;
18734 fail:
18735 return NULL;
18736 }
18737
18738
18739 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18740 PyObject *resultobj;
18741 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18742 int arg2 ;
18743 int arg3 ;
18744 PyObject * obj0 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self",(char *) "x",(char *) "y", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 (arg1)->SetPPIPrinter(arg2,arg3);
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 Py_INCREF(Py_None); resultobj = Py_None;
18759 return resultobj;
18760 fail:
18761 return NULL;
18762 }
18763
18764
18765 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18766 PyObject *resultobj;
18767 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18768 int *arg2 = (int *) 0 ;
18769 int *arg3 = (int *) 0 ;
18770 int temp2 ;
18771 int temp3 ;
18772 PyObject * obj0 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self", NULL
18775 };
18776
18777 arg2 = &temp2;
18778 arg3 = &temp3;
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",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)->GetPPIPrinter(arg2,arg3);
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 return resultobj;
18798 fail:
18799 return NULL;
18800 }
18801
18802
18803 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18806 bool result;
18807 PyObject * obj0 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = (bool)(arg1)->IsPreview();
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = PyInt_FromLong((long)result);
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18831 bool arg2 ;
18832 PyObject * obj0 = 0 ;
18833 PyObject * obj1 = 0 ;
18834 char *kwnames[] = {
18835 (char *) "self",(char *) "p", NULL
18836 };
18837
18838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18840 arg2 = PyInt_AsLong(obj1) ? true : false;
18841 if (PyErr_Occurred()) SWIG_fail;
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 (arg1)->SetIsPreview(arg2);
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 Py_INCREF(Py_None); resultobj = Py_None;
18850 return resultobj;
18851 fail:
18852 return NULL;
18853 }
18854
18855
18856 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18857 PyObject *resultobj;
18858 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18859 int arg2 ;
18860 int arg3 ;
18861 bool result;
18862 PyObject * obj0 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 resultobj = PyInt_FromLong((long)result);
18877 return resultobj;
18878 fail:
18879 return NULL;
18880 }
18881
18882
18883 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj;
18885 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18886 PyObject * obj0 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18893 {
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
18895 (arg1)->base_OnEndDocument();
18896
18897 wxPyEndAllowThreads(__tstate);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 Py_INCREF(Py_None); resultobj = Py_None;
18901 return resultobj;
18902 fail:
18903 return NULL;
18904 }
18905
18906
18907 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18908 PyObject *resultobj;
18909 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18910 PyObject * obj0 = 0 ;
18911 char *kwnames[] = {
18912 (char *) "self", NULL
18913 };
18914
18915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 (arg1)->base_OnBeginPrinting();
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 Py_INCREF(Py_None); resultobj = Py_None;
18925 return resultobj;
18926 fail:
18927 return NULL;
18928 }
18929
18930
18931 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18934 PyObject * obj0 = 0 ;
18935 char *kwnames[] = {
18936 (char *) "self", NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 (arg1)->base_OnEndPrinting();
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 Py_INCREF(Py_None); resultobj = Py_None;
18949 return resultobj;
18950 fail:
18951 return NULL;
18952 }
18953
18954
18955 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18956 PyObject *resultobj;
18957 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18958 PyObject * obj0 = 0 ;
18959 char *kwnames[] = {
18960 (char *) "self", NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 (arg1)->base_OnPreparePrinting();
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 Py_INCREF(Py_None); resultobj = Py_None;
18973 return resultobj;
18974 fail:
18975 return NULL;
18976 }
18977
18978
18979 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18982 int *arg2 = (int *) 0 ;
18983 int *arg3 = (int *) 0 ;
18984 int *arg4 = (int *) 0 ;
18985 int *arg5 = (int *) 0 ;
18986 int temp2 ;
18987 int temp3 ;
18988 int temp4 ;
18989 int temp5 ;
18990 PyObject * obj0 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self", NULL
18993 };
18994
18995 arg2 = &temp2;
18996 arg3 = &temp3;
18997 arg4 = &temp4;
18998 arg5 = &temp5;
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 {
19010 PyObject *o = PyInt_FromLong((long) (*arg2));
19011 resultobj = t_output_helper(resultobj,o);
19012 }
19013 {
19014 PyObject *o = PyInt_FromLong((long) (*arg3));
19015 resultobj = t_output_helper(resultobj,o);
19016 }
19017 {
19018 PyObject *o = PyInt_FromLong((long) (*arg4));
19019 resultobj = t_output_helper(resultobj,o);
19020 }
19021 {
19022 PyObject *o = PyInt_FromLong((long) (*arg5));
19023 resultobj = t_output_helper(resultobj,o);
19024 }
19025 return resultobj;
19026 fail:
19027 return NULL;
19028 }
19029
19030
19031 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19032 PyObject *resultobj;
19033 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19034 int arg2 ;
19035 bool result;
19036 PyObject * obj0 = 0 ;
19037 char *kwnames[] = {
19038 (char *) "self",(char *) "page", NULL
19039 };
19040
19041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
19045 result = (bool)(arg1)->base_HasPage(arg2);
19046
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
19050 resultobj = PyInt_FromLong((long)result);
19051 return resultobj;
19052 fail:
19053 return NULL;
19054 }
19055
19056
19057 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19058 PyObject *obj;
19059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19060 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19061 Py_INCREF(obj);
19062 return Py_BuildValue((char *)"");
19063 }
19064 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj;
19066 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19067 wxWindow *arg2 = (wxWindow *) 0 ;
19068 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19069 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19070 wxSize const &arg4_defvalue = wxDefaultSize ;
19071 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19072 long arg5 = (long) 0 ;
19073 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19074 wxString *arg6 = (wxString *) &arg6_defvalue ;
19075 wxPreviewCanvas *result;
19076 wxPoint temp3 ;
19077 wxSize temp4 ;
19078 bool temp6 = False ;
19079 PyObject * obj0 = 0 ;
19080 PyObject * obj1 = 0 ;
19081 PyObject * obj2 = 0 ;
19082 PyObject * obj3 = 0 ;
19083 PyObject * obj5 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19091 if (obj2) {
19092 {
19093 arg3 = &temp3;
19094 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19095 }
19096 }
19097 if (obj3) {
19098 {
19099 arg4 = &temp4;
19100 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19101 }
19102 }
19103 if (obj5) {
19104 {
19105 arg6 = wxString_in_helper(obj5);
19106 if (arg6 == NULL) SWIG_fail;
19107 temp6 = True;
19108 }
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19118 {
19119 if (temp6)
19120 delete arg6;
19121 }
19122 return resultobj;
19123 fail:
19124 {
19125 if (temp6)
19126 delete arg6;
19127 }
19128 return NULL;
19129 }
19130
19131
19132 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19133 PyObject *obj;
19134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19135 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19136 Py_INCREF(obj);
19137 return Py_BuildValue((char *)"");
19138 }
19139 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19140 PyObject *resultobj;
19141 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19142 wxFrame *arg2 = (wxFrame *) 0 ;
19143 wxString *arg3 = 0 ;
19144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19146 wxSize const &arg5_defvalue = wxDefaultSize ;
19147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19148 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19149 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19150 wxString *arg7 = (wxString *) &arg7_defvalue ;
19151 wxPreviewFrame *result;
19152 bool temp3 = False ;
19153 wxPoint temp4 ;
19154 wxSize temp5 ;
19155 bool temp7 = False ;
19156 PyObject * obj0 = 0 ;
19157 PyObject * obj1 = 0 ;
19158 PyObject * obj2 = 0 ;
19159 PyObject * obj3 = 0 ;
19160 PyObject * obj4 = 0 ;
19161 PyObject * obj6 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19169 {
19170 arg3 = wxString_in_helper(obj2);
19171 if (arg3 == NULL) SWIG_fail;
19172 temp3 = True;
19173 }
19174 if (obj3) {
19175 {
19176 arg4 = &temp4;
19177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19178 }
19179 }
19180 if (obj4) {
19181 {
19182 arg5 = &temp5;
19183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19184 }
19185 }
19186 if (obj6) {
19187 {
19188 arg7 = wxString_in_helper(obj6);
19189 if (arg7 == NULL) SWIG_fail;
19190 temp7 = True;
19191 }
19192 }
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19201 {
19202 if (temp3)
19203 delete arg3;
19204 }
19205 {
19206 if (temp7)
19207 delete arg7;
19208 }
19209 return resultobj;
19210 fail:
19211 {
19212 if (temp3)
19213 delete arg3;
19214 }
19215 {
19216 if (temp7)
19217 delete arg7;
19218 }
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19226 PyObject * obj0 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 (arg1)->Initialize();
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 Py_INCREF(Py_None); resultobj = Py_None;
19241 return resultobj;
19242 fail:
19243 return NULL;
19244 }
19245
19246
19247 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19248 PyObject *resultobj;
19249 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19250 PyObject * obj0 = 0 ;
19251 char *kwnames[] = {
19252 (char *) "self", NULL
19253 };
19254
19255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 (arg1)->CreateControlBar();
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 Py_INCREF(Py_None); resultobj = Py_None;
19265 return resultobj;
19266 fail:
19267 return NULL;
19268 }
19269
19270
19271 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19274 PyObject * obj0 = 0 ;
19275 char *kwnames[] = {
19276 (char *) "self", NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19281 {
19282 PyThreadState* __tstate = wxPyBeginAllowThreads();
19283 (arg1)->CreateCanvas();
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 Py_INCREF(Py_None); resultobj = Py_None;
19289 return resultobj;
19290 fail:
19291 return NULL;
19292 }
19293
19294
19295 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19296 PyObject *resultobj;
19297 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19298 wxPreviewControlBar *result;
19299 PyObject * obj0 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "self", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19309
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19314 return resultobj;
19315 fail:
19316 return NULL;
19317 }
19318
19319
19320 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19321 PyObject *obj;
19322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19323 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19324 Py_INCREF(obj);
19325 return Py_BuildValue((char *)"");
19326 }
19327 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19328 PyObject *resultobj;
19329 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19330 long arg2 ;
19331 wxWindow *arg3 = (wxWindow *) 0 ;
19332 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19333 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19334 wxSize const &arg5_defvalue = wxDefaultSize ;
19335 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19336 long arg6 = (long) wxTAB_TRAVERSAL ;
19337 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19338 wxString *arg7 = (wxString *) &arg7_defvalue ;
19339 wxPreviewControlBar *result;
19340 wxPoint temp4 ;
19341 wxSize temp5 ;
19342 bool temp7 = False ;
19343 PyObject * obj0 = 0 ;
19344 PyObject * obj2 = 0 ;
19345 PyObject * obj3 = 0 ;
19346 PyObject * obj4 = 0 ;
19347 PyObject * obj6 = 0 ;
19348 char *kwnames[] = {
19349 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19354 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19355 if (obj3) {
19356 {
19357 arg4 = &temp4;
19358 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19359 }
19360 }
19361 if (obj4) {
19362 {
19363 arg5 = &temp5;
19364 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19365 }
19366 }
19367 if (obj6) {
19368 {
19369 arg7 = wxString_in_helper(obj6);
19370 if (arg7 == NULL) SWIG_fail;
19371 temp7 = True;
19372 }
19373 }
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19382 {
19383 if (temp7)
19384 delete arg7;
19385 }
19386 return resultobj;
19387 fail:
19388 {
19389 if (temp7)
19390 delete arg7;
19391 }
19392 return NULL;
19393 }
19394
19395
19396 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19397 PyObject *resultobj;
19398 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19399 int result;
19400 PyObject * obj0 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 result = (int)(arg1)->GetZoomControl();
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 resultobj = PyInt_FromLong((long)result);
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19424 int arg2 ;
19425 PyObject * obj0 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self",(char *) "zoom", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 (arg1)->SetZoomControl(arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 Py_INCREF(Py_None); resultobj = Py_None;
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19449 wxPrintPreview *result;
19450 PyObject * obj0 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19474 PyObject * obj0 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19481 {
19482 PyThreadState* __tstate = wxPyBeginAllowThreads();
19483 (arg1)->OnNext();
19484
19485 wxPyEndAllowThreads(__tstate);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 Py_INCREF(Py_None); resultobj = Py_None;
19489 return resultobj;
19490 fail:
19491 return NULL;
19492 }
19493
19494
19495 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19498 PyObject * obj0 = 0 ;
19499 char *kwnames[] = {
19500 (char *) "self", NULL
19501 };
19502
19503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
19507 (arg1)->OnPrevious();
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 Py_INCREF(Py_None); resultobj = Py_None;
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19522 PyObject * obj0 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 (arg1)->OnFirst();
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 Py_INCREF(Py_None); resultobj = Py_None;
19537 return resultobj;
19538 fail:
19539 return NULL;
19540 }
19541
19542
19543 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj;
19545 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19546 PyObject * obj0 = 0 ;
19547 char *kwnames[] = {
19548 (char *) "self", NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 (arg1)->OnLast();
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 Py_INCREF(Py_None); resultobj = Py_None;
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj;
19569 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19570 PyObject * obj0 = 0 ;
19571 char *kwnames[] = {
19572 (char *) "self", NULL
19573 };
19574
19575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 (arg1)->OnGoto();
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 Py_INCREF(Py_None); resultobj = Py_None;
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19592 PyObject *obj;
19593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19594 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19595 Py_INCREF(obj);
19596 return Py_BuildValue((char *)"");
19597 }
19598 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19601 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19602 wxPrintData *arg3 = (wxPrintData *) NULL ;
19603 wxPrintPreview *result;
19604 PyObject * obj0 = 0 ;
19605 PyObject * obj1 = 0 ;
19606 PyObject * obj2 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19614 if (obj2) {
19615 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19616 }
19617 {
19618 PyThreadState* __tstate = wxPyBeginAllowThreads();
19619 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19620
19621 wxPyEndAllowThreads(__tstate);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19625 return resultobj;
19626 fail:
19627 return NULL;
19628 }
19629
19630
19631 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19632 PyObject *resultobj;
19633 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19634 int arg2 ;
19635 bool result;
19636 PyObject * obj0 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self",(char *) "pageNum", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 result = (bool)(arg1)->SetCurrentPage(arg2);
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_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj;
19659 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19660 int result;
19661 PyObject * obj0 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 result = (int)(arg1)->GetCurrentPage();
19671
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 resultobj = PyInt_FromLong((long)result);
19676 return resultobj;
19677 fail:
19678 return NULL;
19679 }
19680
19681
19682 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19685 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19686 PyObject * obj0 = 0 ;
19687 PyObject * obj1 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "self",(char *) "printout", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 (arg1)->SetPrintout(arg2);
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 Py_INCREF(Py_None); resultobj = Py_None;
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19712 wxPyPrintout *result;
19713 PyObject * obj0 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self", NULL
19716 };
19717
19718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19720 {
19721 PyThreadState* __tstate = wxPyBeginAllowThreads();
19722 result = (wxPyPrintout *)(arg1)->GetPrintout();
19723
19724 wxPyEndAllowThreads(__tstate);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 }
19727 {
19728 resultobj = wxPyMake_wxObject(result);
19729 }
19730 return resultobj;
19731 fail:
19732 return NULL;
19733 }
19734
19735
19736 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19739 wxPyPrintout *result;
19740 PyObject * obj0 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 {
19755 resultobj = wxPyMake_wxObject(result);
19756 }
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19766 wxFrame *arg2 = (wxFrame *) 0 ;
19767 PyObject * obj0 = 0 ;
19768 PyObject * obj1 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self",(char *) "frame", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 (arg1)->SetFrame(arg2);
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 Py_INCREF(Py_None); resultobj = Py_None;
19784 return resultobj;
19785 fail:
19786 return NULL;
19787 }
19788
19789
19790 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19791 PyObject *resultobj;
19792 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19793 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19794 PyObject * obj0 = 0 ;
19795 PyObject * obj1 = 0 ;
19796 char *kwnames[] = {
19797 (char *) "self",(char *) "canvas", NULL
19798 };
19799
19800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 (arg1)->SetCanvas(arg2);
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 Py_INCREF(Py_None); resultobj = Py_None;
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19818 PyObject *resultobj;
19819 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19820 wxFrame *result;
19821 PyObject * obj0 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 result = (wxFrame *)(arg1)->GetFrame();
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 {
19836 resultobj = wxPyMake_wxObject(result);
19837 }
19838 return resultobj;
19839 fail:
19840 return NULL;
19841 }
19842
19843
19844 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj;
19846 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19847 wxPreviewCanvas *result;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19858
19859 wxPyEndAllowThreads(__tstate);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
19862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19863 return resultobj;
19864 fail:
19865 return NULL;
19866 }
19867
19868
19869 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19870 PyObject *resultobj;
19871 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19872 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19873 wxDC *arg3 = 0 ;
19874 bool result;
19875 PyObject * obj0 = 0 ;
19876 PyObject * obj1 = 0 ;
19877 PyObject * obj2 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19885 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19886 if (arg3 == NULL) {
19887 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19888 }
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19892
19893 wxPyEndAllowThreads(__tstate);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 resultobj = PyInt_FromLong((long)result);
19897 return resultobj;
19898 fail:
19899 return NULL;
19900 }
19901
19902
19903 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19904 PyObject *resultobj;
19905 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19906 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19907 wxDC *arg3 = 0 ;
19908 bool result;
19909 PyObject * obj0 = 0 ;
19910 PyObject * obj1 = 0 ;
19911 PyObject * obj2 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19919 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19920 if (arg3 == NULL) {
19921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19922 }
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 resultobj = PyInt_FromLong((long)result);
19931 return resultobj;
19932 fail:
19933 return NULL;
19934 }
19935
19936
19937 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19940 int arg2 ;
19941 bool result;
19942 PyObject * obj0 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self",(char *) "pageNum", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 result = (bool)(arg1)->RenderPage(arg2);
19952
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 resultobj = PyInt_FromLong((long)result);
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj;
19965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19966 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19967 PyObject * obj0 = 0 ;
19968 PyObject * obj1 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self",(char *) "canvas", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->AdjustScrollbars(arg2);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19993 wxPrintDialogData *result;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 {
20002 PyThreadState* __tstate = wxPyBeginAllowThreads();
20003 {
20004 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20005 result = (wxPrintDialogData *) &_result_ref;
20006 }
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20021 int arg2 ;
20022 PyObject * obj0 = 0 ;
20023 char *kwnames[] = {
20024 (char *) "self",(char *) "percent", NULL
20025 };
20026
20027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 (arg1)->SetZoom(arg2);
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 Py_INCREF(Py_None); resultobj = Py_None;
20037 return resultobj;
20038 fail:
20039 return NULL;
20040 }
20041
20042
20043 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20044 PyObject *resultobj;
20045 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20046 int result;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20054 {
20055 PyThreadState* __tstate = wxPyBeginAllowThreads();
20056 result = (int)(arg1)->GetZoom();
20057
20058 wxPyEndAllowThreads(__tstate);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 resultobj = PyInt_FromLong((long)result);
20062 return resultobj;
20063 fail:
20064 return NULL;
20065 }
20066
20067
20068 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20069 PyObject *resultobj;
20070 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20071 int result;
20072 PyObject * obj0 = 0 ;
20073 char *kwnames[] = {
20074 (char *) "self", NULL
20075 };
20076
20077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20079 {
20080 PyThreadState* __tstate = wxPyBeginAllowThreads();
20081 result = (int)(arg1)->GetMaxPage();
20082
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 resultobj = PyInt_FromLong((long)result);
20087 return resultobj;
20088 fail:
20089 return NULL;
20090 }
20091
20092
20093 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20094 PyObject *resultobj;
20095 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20096 int result;
20097 PyObject * obj0 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 result = (int)(arg1)->GetMinPage();
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 resultobj = PyInt_FromLong((long)result);
20112 return resultobj;
20113 fail:
20114 return NULL;
20115 }
20116
20117
20118 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj;
20120 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20121 bool result;
20122 PyObject * obj0 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = (bool)(arg1)->Ok();
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 resultobj = PyInt_FromLong((long)result);
20137 return resultobj;
20138 fail:
20139 return NULL;
20140 }
20141
20142
20143 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20144 PyObject *resultobj;
20145 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20146 bool arg2 ;
20147 PyObject * obj0 = 0 ;
20148 PyObject * obj1 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self",(char *) "ok", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20155 arg2 = PyInt_AsLong(obj1) ? true : false;
20156 if (PyErr_Occurred()) SWIG_fail;
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 (arg1)->SetOk(arg2);
20160
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 Py_INCREF(Py_None); resultobj = Py_None;
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20174 bool arg2 ;
20175 bool result;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "interactive", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20184 arg2 = PyInt_AsLong(obj1) ? true : false;
20185 if (PyErr_Occurred()) SWIG_fail;
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 result = (bool)(arg1)->Print(arg2);
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 resultobj = PyInt_FromLong((long)result);
20194 return resultobj;
20195 fail:
20196 return NULL;
20197 }
20198
20199
20200 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20201 PyObject *resultobj;
20202 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20203 PyObject * obj0 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 (arg1)->DetermineScaling();
20213
20214 wxPyEndAllowThreads(__tstate);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 Py_INCREF(Py_None); resultobj = Py_None;
20218 return resultobj;
20219 fail:
20220 return NULL;
20221 }
20222
20223
20224 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20225 PyObject *obj;
20226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20227 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20228 Py_INCREF(obj);
20229 return Py_BuildValue((char *)"");
20230 }
20231 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20234 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20235 wxPrintData *arg3 = (wxPrintData *) NULL ;
20236 wxPyPrintPreview *result;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 PyObject * obj2 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20247 if (obj2) {
20248 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20249 }
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20258 return resultobj;
20259 fail:
20260 return NULL;
20261 }
20262
20263
20264 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20267 PyObject *arg2 = (PyObject *) 0 ;
20268 PyObject *arg3 = (PyObject *) 0 ;
20269 PyObject * obj0 = 0 ;
20270 PyObject * obj1 = 0 ;
20271 PyObject * obj2 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self",(char *) "self",(char *) "_class", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20278 arg2 = obj1;
20279 arg3 = obj2;
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 (arg1)->_setCallbackInfo(arg2,arg3);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 Py_INCREF(Py_None); resultobj = Py_None;
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20297 int arg2 ;
20298 bool result;
20299 PyObject * obj0 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self",(char *) "pageNum", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 resultobj = PyInt_FromLong((long)result);
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20323 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20324 wxDC *arg3 = 0 ;
20325 bool result;
20326 PyObject * obj0 = 0 ;
20327 PyObject * obj1 = 0 ;
20328 PyObject * obj2 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20336 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20337 if (arg3 == NULL) {
20338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20339 }
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 resultobj = PyInt_FromLong((long)result);
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20357 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20358 wxDC *arg3 = 0 ;
20359 bool result;
20360 PyObject * obj0 = 0 ;
20361 PyObject * obj1 = 0 ;
20362 PyObject * obj2 = 0 ;
20363 char *kwnames[] = {
20364 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20365 };
20366
20367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20370 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20371 if (arg3 == NULL) {
20372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20373 }
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 resultobj = PyInt_FromLong((long)result);
20382 return resultobj;
20383 fail:
20384 return NULL;
20385 }
20386
20387
20388 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20389 PyObject *resultobj;
20390 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20391 int arg2 ;
20392 bool result;
20393 PyObject * obj0 = 0 ;
20394 char *kwnames[] = {
20395 (char *) "self",(char *) "pageNum", NULL
20396 };
20397
20398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (bool)(arg1)->base_RenderPage(arg2);
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 resultobj = PyInt_FromLong((long)result);
20408 return resultobj;
20409 fail:
20410 return NULL;
20411 }
20412
20413
20414 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20415 PyObject *resultobj;
20416 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20417 int arg2 ;
20418 PyObject * obj0 = 0 ;
20419 char *kwnames[] = {
20420 (char *) "self",(char *) "percent", NULL
20421 };
20422
20423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 (arg1)->base_SetZoom(arg2);
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 Py_INCREF(Py_None); resultobj = Py_None;
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20442 bool arg2 ;
20443 bool result;
20444 PyObject * obj0 = 0 ;
20445 PyObject * obj1 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self",(char *) "interactive", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20452 arg2 = PyInt_AsLong(obj1) ? true : false;
20453 if (PyErr_Occurred()) SWIG_fail;
20454 {
20455 PyThreadState* __tstate = wxPyBeginAllowThreads();
20456 result = (bool)(arg1)->base_Print(arg2);
20457
20458 wxPyEndAllowThreads(__tstate);
20459 if (PyErr_Occurred()) SWIG_fail;
20460 }
20461 resultobj = PyInt_FromLong((long)result);
20462 return resultobj;
20463 fail:
20464 return NULL;
20465 }
20466
20467
20468 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20469 PyObject *resultobj;
20470 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20471 PyObject * obj0 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 (arg1)->base_DetermineScaling();
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 Py_INCREF(Py_None); resultobj = Py_None;
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20493 PyObject *obj;
20494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20495 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20496 Py_INCREF(obj);
20497 return Py_BuildValue((char *)"");
20498 }
20499 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20500 PyObject *resultobj;
20501 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20502 wxFrame *arg2 = (wxFrame *) 0 ;
20503 wxString *arg3 = 0 ;
20504 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20505 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20506 wxSize const &arg5_defvalue = wxDefaultSize ;
20507 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20508 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20509 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20510 wxString *arg7 = (wxString *) &arg7_defvalue ;
20511 wxPyPreviewFrame *result;
20512 bool temp3 = False ;
20513 wxPoint temp4 ;
20514 wxSize temp5 ;
20515 bool temp7 = False ;
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj1 = 0 ;
20518 PyObject * obj2 = 0 ;
20519 PyObject * obj3 = 0 ;
20520 PyObject * obj4 = 0 ;
20521 PyObject * obj6 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20529 {
20530 arg3 = wxString_in_helper(obj2);
20531 if (arg3 == NULL) SWIG_fail;
20532 temp3 = True;
20533 }
20534 if (obj3) {
20535 {
20536 arg4 = &temp4;
20537 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20538 }
20539 }
20540 if (obj4) {
20541 {
20542 arg5 = &temp5;
20543 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20544 }
20545 }
20546 if (obj6) {
20547 {
20548 arg7 = wxString_in_helper(obj6);
20549 if (arg7 == NULL) SWIG_fail;
20550 temp7 = True;
20551 }
20552 }
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20561 {
20562 if (temp3)
20563 delete arg3;
20564 }
20565 {
20566 if (temp7)
20567 delete arg7;
20568 }
20569 return resultobj;
20570 fail:
20571 {
20572 if (temp3)
20573 delete arg3;
20574 }
20575 {
20576 if (temp7)
20577 delete arg7;
20578 }
20579 return NULL;
20580 }
20581
20582
20583 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj;
20585 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20586 PyObject *arg2 = (PyObject *) 0 ;
20587 PyObject *arg3 = (PyObject *) 0 ;
20588 PyObject * obj0 = 0 ;
20589 PyObject * obj1 = 0 ;
20590 PyObject * obj2 = 0 ;
20591 char *kwnames[] = {
20592 (char *) "self",(char *) "self",(char *) "_class", NULL
20593 };
20594
20595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20597 arg2 = obj1;
20598 arg3 = obj2;
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 (arg1)->_setCallbackInfo(arg2,arg3);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 Py_INCREF(Py_None); resultobj = Py_None;
20607 return resultobj;
20608 fail:
20609 return NULL;
20610 }
20611
20612
20613 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20616 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20617 PyObject * obj0 = 0 ;
20618 PyObject * obj1 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self",(char *) "canvas", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 (arg1)->SetPreviewCanvas(arg2);
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 Py_INCREF(Py_None); resultobj = Py_None;
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20643 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self",(char *) "bar", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 (arg1)->SetControlBar(arg2);
20656
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 Py_INCREF(Py_None); resultobj = Py_None;
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20670 PyObject * obj0 = 0 ;
20671 char *kwnames[] = {
20672 (char *) "self", NULL
20673 };
20674
20675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 (arg1)->base_Initialize();
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 Py_INCREF(Py_None); resultobj = Py_None;
20685 return resultobj;
20686 fail:
20687 return NULL;
20688 }
20689
20690
20691 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20692 PyObject *resultobj;
20693 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 (arg1)->base_CreateCanvas();
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 Py_INCREF(Py_None); resultobj = Py_None;
20709 return resultobj;
20710 fail:
20711 return NULL;
20712 }
20713
20714
20715 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 (arg1)->base_CreateControlBar();
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 Py_INCREF(Py_None); resultobj = Py_None;
20733 return resultobj;
20734 fail:
20735 return NULL;
20736 }
20737
20738
20739 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20740 PyObject *obj;
20741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20742 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20743 Py_INCREF(obj);
20744 return Py_BuildValue((char *)"");
20745 }
20746 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20747 PyObject *resultobj;
20748 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20749 long arg2 ;
20750 wxWindow *arg3 = (wxWindow *) 0 ;
20751 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20752 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20753 wxSize const &arg5_defvalue = wxDefaultSize ;
20754 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20755 long arg6 = (long) 0 ;
20756 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20757 wxString *arg7 = (wxString *) &arg7_defvalue ;
20758 wxPyPreviewControlBar *result;
20759 wxPoint temp4 ;
20760 wxSize temp5 ;
20761 bool temp7 = False ;
20762 PyObject * obj0 = 0 ;
20763 PyObject * obj2 = 0 ;
20764 PyObject * obj3 = 0 ;
20765 PyObject * obj4 = 0 ;
20766 PyObject * obj6 = 0 ;
20767 char *kwnames[] = {
20768 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20769 };
20770
20771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20773 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20774 if (obj3) {
20775 {
20776 arg4 = &temp4;
20777 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20778 }
20779 }
20780 if (obj4) {
20781 {
20782 arg5 = &temp5;
20783 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20784 }
20785 }
20786 if (obj6) {
20787 {
20788 arg7 = wxString_in_helper(obj6);
20789 if (arg7 == NULL) SWIG_fail;
20790 temp7 = True;
20791 }
20792 }
20793 {
20794 PyThreadState* __tstate = wxPyBeginAllowThreads();
20795 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20796
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20801 {
20802 if (temp7)
20803 delete arg7;
20804 }
20805 return resultobj;
20806 fail:
20807 {
20808 if (temp7)
20809 delete arg7;
20810 }
20811 return NULL;
20812 }
20813
20814
20815 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj;
20817 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20818 PyObject *arg2 = (PyObject *) 0 ;
20819 PyObject *arg3 = (PyObject *) 0 ;
20820 PyObject * obj0 = 0 ;
20821 PyObject * obj1 = 0 ;
20822 PyObject * obj2 = 0 ;
20823 char *kwnames[] = {
20824 (char *) "self",(char *) "self",(char *) "_class", NULL
20825 };
20826
20827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20829 arg2 = obj1;
20830 arg3 = obj2;
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 (arg1)->_setCallbackInfo(arg2,arg3);
20834
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 Py_INCREF(Py_None); resultobj = Py_None;
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20848 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20849 PyObject * obj0 = 0 ;
20850 PyObject * obj1 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self",(char *) "preview", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 (arg1)->SetPrintPreview(arg2);
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 Py_INCREF(Py_None); resultobj = Py_None;
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20875 PyObject * obj0 = 0 ;
20876 char *kwnames[] = {
20877 (char *) "self", NULL
20878 };
20879
20880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20882 {
20883 PyThreadState* __tstate = wxPyBeginAllowThreads();
20884 (arg1)->base_CreateButtons();
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 Py_INCREF(Py_None); resultobj = Py_None;
20890 return resultobj;
20891 fail:
20892 return NULL;
20893 }
20894
20895
20896 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20897 PyObject *resultobj;
20898 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20899 int arg2 ;
20900 PyObject * obj0 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self",(char *) "zoom", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 (arg1)->base_SetZoomControl(arg2);
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 Py_INCREF(Py_None); resultobj = Py_None;
20915 return resultobj;
20916 fail:
20917 return NULL;
20918 }
20919
20920
20921 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20922 PyObject *obj;
20923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20924 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20925 Py_INCREF(obj);
20926 return Py_BuildValue((char *)"");
20927 }
20928 static PyMethodDef SwigMethods[] = {
20929 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20934 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20949 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20950 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20955 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
20964 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
20968 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20983 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21006 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21019 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21023 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21027 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21032 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21047 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21073 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21080 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21103 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21111 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21123 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21129 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21138 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21144 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21149 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21155 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21159 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21177 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21203 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21210 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21218 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21220 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21229 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21233 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21241 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21259 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21263 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21269 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21274 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21290 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21294 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21297 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21301 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21310 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21319 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21325 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21337 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21344 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21348 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21369 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21390 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21434 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21466 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21470 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21504 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21509 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21520 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21543 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21545 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21551 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21561 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21585 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21595 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21603 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21609 { NULL, NULL }
21610 };
21611
21612
21613 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21614
21615 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21616 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21617 }
21618 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21619 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21620 }
21621 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21622 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21623 }
21624 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21625 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21626 }
21627 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21628 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21629 }
21630 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21631 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21632 }
21633 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21634 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21635 }
21636 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21637 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21638 }
21639 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21640 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21641 }
21642 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21643 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21644 }
21645 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21646 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21647 }
21648 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21649 return (void *)((wxEvent *) ((wxPyEvent *) x));
21650 }
21651 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21652 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21653 }
21654 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21655 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21656 }
21657 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21658 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21659 }
21660 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21661 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21662 }
21663 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21664 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21665 }
21666 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21667 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21668 }
21669 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21670 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21671 }
21672 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21673 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21674 }
21675 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21676 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21677 }
21678 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21679 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21680 }
21681 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21682 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21683 }
21684 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21685 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21686 }
21687 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21688 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21689 }
21690 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21691 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21692 }
21693 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21694 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21695 }
21696 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21697 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21698 }
21699 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21700 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21701 }
21702 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21703 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21704 }
21705 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21706 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21707 }
21708 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21709 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21710 }
21711 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21712 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21713 }
21714 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21715 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21716 }
21717 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21718 return (void *)((wxEvent *) ((wxShowEvent *) x));
21719 }
21720 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21721 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21722 }
21723 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21724 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21725 }
21726 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21727 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21728 }
21729 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21730 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21731 }
21732 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21733 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21734 }
21735 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21736 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21737 }
21738 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21739 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21740 }
21741 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21742 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21743 }
21744 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21745 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21746 }
21747 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21748 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21749 }
21750 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21751 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21752 }
21753 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21754 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21755 }
21756 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21757 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21758 }
21759 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21760 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21761 }
21762 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21763 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21764 }
21765 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21766 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21767 }
21768 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21769 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21770 }
21771 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21772 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21773 }
21774 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21775 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21776 }
21777 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21778 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21779 }
21780 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21781 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21782 }
21783 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21784 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21785 }
21786 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21787 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21788 }
21789 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21790 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21791 }
21792 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21793 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21794 }
21795 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21796 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21797 }
21798 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21799 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21800 }
21801 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21802 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21803 }
21804 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21805 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21806 }
21807 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21808 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21809 }
21810 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21811 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21812 }
21813 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21814 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21815 }
21816 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21817 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21818 }
21819 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21820 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21821 }
21822 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21823 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21824 }
21825 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21826 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21827 }
21828 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21829 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21830 }
21831 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21832 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21833 }
21834 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21835 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21836 }
21837 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21838 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21839 }
21840 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21841 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21842 }
21843 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21844 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21845 }
21846 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21847 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21848 }
21849 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21850 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21851 }
21852 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21853 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21854 }
21855 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21856 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21857 }
21858 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21859 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21860 }
21861 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21862 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21863 }
21864 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21865 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21866 }
21867 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21868 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21869 }
21870 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21872 }
21873 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21875 }
21876 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21878 }
21879 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21880 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21881 }
21882 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21883 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21884 }
21885 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21886 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21887 }
21888 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21889 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21890 }
21891 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21892 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21893 }
21894 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21895 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21896 }
21897 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21898 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21899 }
21900 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21901 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21902 }
21903 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21904 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21905 }
21906 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21907 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21908 }
21909 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21910 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21911 }
21912 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21913 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21914 }
21915 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21916 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21917 }
21918 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21919 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21920 }
21921 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21923 }
21924 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21926 }
21927 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21928 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21929 }
21930 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21931 return (void *)((wxObject *) ((wxSizerItem *) x));
21932 }
21933 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21935 }
21936 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21937 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21938 }
21939 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21940 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21941 }
21942 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21943 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21944 }
21945 static void *_p_wxSizerTo_p_wxObject(void *x) {
21946 return (void *)((wxObject *) ((wxSizer *) x));
21947 }
21948 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21949 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21950 }
21951 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21953 }
21954 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21956 }
21957 static void *_p_wxEventTo_p_wxObject(void *x) {
21958 return (void *)((wxObject *) ((wxEvent *) x));
21959 }
21960 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21961 return (void *)((wxObject *) ((wxFontData *) x));
21962 }
21963 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21964 return (void *)((wxObject *) ((wxPrintData *) x));
21965 }
21966 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21967 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21968 }
21969 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21970 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21971 }
21972 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21973 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21974 }
21975 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21976 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21977 }
21978 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21979 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21980 }
21981 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21982 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21983 }
21984 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21985 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21986 }
21987 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21988 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21989 }
21990 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21991 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21992 }
21993 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21994 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21995 }
21996 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21997 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21998 }
21999 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22000 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22001 }
22002 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22004 }
22005 static void *_p_wxControlTo_p_wxObject(void *x) {
22006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22007 }
22008 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22009 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22010 }
22011 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22012 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22013 }
22014 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22015 return (void *)((wxObject *) ((wxFSFile *) x));
22016 }
22017 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22018 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22019 }
22020 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22021 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22022 }
22023 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22025 }
22026 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22027 return (void *)((wxObject *) ((wxColourData *) x));
22028 }
22029 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22030 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22031 }
22032 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22033 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22034 }
22035 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22037 }
22038 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22040 }
22041 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22043 }
22044 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22046 }
22047 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22049 }
22050 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22052 }
22053 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22055 }
22056 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22058 }
22059 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22061 }
22062 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22063 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22064 }
22065 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22066 return (void *)((wxObject *) ((wxPrinter *) x));
22067 }
22068 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22069 return (void *)((wxObject *) ((wxMenuItem *) x));
22070 }
22071 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22072 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22073 }
22074 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22075 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22076 }
22077 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22078 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22079 }
22080 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22081 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22082 }
22083 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22084 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22085 }
22086 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22087 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22088 }
22089 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22090 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22091 }
22092 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22093 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22094 }
22095 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22096 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22097 }
22098 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22099 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22100 }
22101 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22102 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22103 }
22104 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22105 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22106 }
22107 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22108 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22109 }
22110 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22111 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22112 }
22113 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22114 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22115 }
22116 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22117 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22118 }
22119 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22120 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22121 }
22122 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22123 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22124 }
22125 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22126 return (void *)((wxObject *) ((wxImageHandler *) x));
22127 }
22128 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22129 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22130 }
22131 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22132 return (void *)((wxObject *) ((wxEvtHandler *) x));
22133 }
22134 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22135 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22136 }
22137 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22139 }
22140 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22142 }
22143 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22144 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22145 }
22146 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22148 }
22149 static void *_p_wxImageTo_p_wxObject(void *x) {
22150 return (void *)((wxObject *) ((wxImage *) x));
22151 }
22152 static void *_p_wxFrameTo_p_wxObject(void *x) {
22153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22154 }
22155 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22156 return (void *)((wxObject *) ((wxPyPrintout *) x));
22157 }
22158 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22159 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22160 }
22161 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22162 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22163 }
22164 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22166 }
22167 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22169 }
22170 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22171 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22172 }
22173 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22174 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22175 }
22176 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22177 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22178 }
22179 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22181 }
22182 static void *_p_wxWindowTo_p_wxObject(void *x) {
22183 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22184 }
22185 static void *_p_wxMenuTo_p_wxObject(void *x) {
22186 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22187 }
22188 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22190 }
22191 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22193 }
22194 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22196 }
22197 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22199 }
22200 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22202 }
22203 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22205 }
22206 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22208 }
22209 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22211 }
22212 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22214 }
22215 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22217 }
22218 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22220 }
22221 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22222 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22223 }
22224 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22225 return (void *)((wxObject *) ((wxPrintPreview *) x));
22226 }
22227 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22228 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22229 }
22230 static void *_p_wxPanelTo_p_wxObject(void *x) {
22231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22232 }
22233 static void *_p_wxDialogTo_p_wxObject(void *x) {
22234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22235 }
22236 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22238 }
22239 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22241 }
22242 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22244 }
22245 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22247 }
22248 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22250 }
22251 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22252 return (void *)((wxObject *) ((wxFileSystem *) x));
22253 }
22254 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22255 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22256 }
22257 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22258 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22259 }
22260 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22261 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22262 }
22263 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22264 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22265 }
22266 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22267 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22268 }
22269 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22270 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22271 }
22272 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22273 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22274 }
22275 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22276 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22277 }
22278 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22280 }
22281 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22283 }
22284 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22285 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22286 }
22287 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22288 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22289 }
22290 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22291 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22292 }
22293 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22295 }
22296 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22297 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22298 }
22299 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22300 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22301 }
22302 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22303 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22304 }
22305 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22306 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22307 }
22308 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22309 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22310 }
22311 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22312 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22313 }
22314 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22315 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22316 }
22317 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22318 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22319 }
22320 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22321 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22322 }
22323 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22324 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22325 }
22326 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22327 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22328 }
22329 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22330 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22331 }
22332 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22333 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22334 }
22335 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22336 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22337 }
22338 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22339 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22340 }
22341 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22342 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22343 }
22344 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22345 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22346 }
22347 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22348 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22349 }
22350 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22351 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22352 }
22353 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22354 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22355 }
22356 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22357 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22358 }
22359 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22360 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22361 }
22362 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22363 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22364 }
22365 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22366 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22367 }
22368 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22369 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22370 }
22371 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22372 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22373 }
22374 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22375 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22376 }
22377 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22378 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22379 }
22380 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22381 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22382 }
22383 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22384 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22385 }
22386 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22387 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22388 }
22389 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22390 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22391 }
22392 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22393 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22394 }
22395 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22396 return (void *)((wxWindow *) ((wxMenuBar *) x));
22397 }
22398 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22400 }
22401 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22402 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22403 }
22404 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22405 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22406 }
22407 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22409 }
22410 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22412 }
22413 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22414 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22415 }
22416 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22417 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22418 }
22419 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22420 return (void *)((wxWindow *) ((wxPanel *) x));
22421 }
22422 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22423 return (void *)((wxWindow *) ((wxStatusBar *) x));
22424 }
22425 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22426 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22427 }
22428 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22429 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22430 }
22431 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22432 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22433 }
22434 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22435 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22436 }
22437 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22438 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22439 }
22440 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22441 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22442 }
22443 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22444 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22445 }
22446 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22447 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22448 }
22449 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22450 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22451 }
22452 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22453 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22454 }
22455 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22456 return (void *)((wxWindow *) ((wxSashWindow *) x));
22457 }
22458 static void *_p_wxControlTo_p_wxWindow(void *x) {
22459 return (void *)((wxWindow *) ((wxControl *) x));
22460 }
22461 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22462 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22463 }
22464 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22465 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22466 }
22467 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22468 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22469 }
22470 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22471 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22472 }
22473 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22474 return (void *)((wxWindow *) ((wxPyWindow *) x));
22475 }
22476 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22477 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22478 }
22479 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22480 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22481 }
22482 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22483 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22484 }
22485 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22486 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22487 }
22488 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22489 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22490 }
22491 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22492 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22493 }
22494 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22495 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22496 }
22497 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22498 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22499 }
22500 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22501 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22502 }
22503 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22504 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22505 }
22506 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22507 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22508 }
22509 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22511 }
22512 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22513 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22514 }
22515 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22516 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22517 }
22518 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22519 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22520 }
22521 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22522 return (void *)((wxDialog *) ((wxColourDialog *) x));
22523 }
22524 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22525 return (void *)((wxDialog *) ((wxDirDialog *) x));
22526 }
22527 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22528 return (void *)((wxDialog *) ((wxFontDialog *) x));
22529 }
22530 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22531 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22532 }
22533 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22534 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22535 }
22536 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22537 return (void *)((wxDialog *) ((wxFileDialog *) x));
22538 }
22539 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22540 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22541 }
22542 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22543 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22544 }
22545 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22546 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22547 }
22548 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22549 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22550 }
22551 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22552 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22553 }
22554 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22555 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22556 }
22557 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22558 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22559 }
22560 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22561 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22562 }
22563 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22564 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22565 }
22566 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22567 return (void *)((wxPanel *) ((wxPyPanel *) x));
22568 }
22569 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22570 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22571 }
22572 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22573 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22574 }
22575 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22576 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22577 }
22578 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22579 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22580 }
22581 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22582 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22583 }
22584 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22585 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22586 }
22587 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22588 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22589 }
22590 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22591 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22592 }
22593 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22594 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22595 }
22596 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22597 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22598 }
22599 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22600 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22601 }
22602 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22603 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22604 }
22605 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22606 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22607 }
22608 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22609 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22610 }
22611 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22612 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22613 }
22614 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22615 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22616 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22617 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22618 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22619 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22620 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22621 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22622 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}};
22623 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22624 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22625 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22626 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22627 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22628 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22629 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22630 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22631 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22632 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22633 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22634 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22635 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22636 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22637 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22638 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22639 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22640 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22641 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22642 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22643 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22644 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22645 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22646 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22647 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22648 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22649 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22650 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22651 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
22652 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22653 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22654 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22655 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22656 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22657 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22658 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_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}};
22659 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22660 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22661 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22662 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22663 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22664 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22665 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
22666 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22667 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22668 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22669 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22670 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22671 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22672 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}};
22673 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22674 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}};
22675 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22676 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_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}};
22677 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
22678 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22679 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22680 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22681 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22682 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22683 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22684 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22685 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22686 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22687 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}};
22688 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}};
22689 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22690 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22691 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22692 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}};
22693 static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22694 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22695 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22696 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22697 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22698 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22699 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22700
22701 static swig_type_info *swig_types_initial[] = {
22702 _swigt__p_wxQueryLayoutInfoEvent,
22703 _swigt__p_wxPreviewFrame,
22704 _swigt__p_wxPyPreviewFrame,
22705 _swigt__p_wxAcceleratorEntry,
22706 _swigt__p_wxPyPanel,
22707 _swigt__p_wxMenu,
22708 _swigt__p_wxPrintData,
22709 _swigt__p_wxFontData,
22710 _swigt__p_wxEvent,
22711 _swigt__p_wxTaskBarIcon,
22712 _swigt__p_wxIconBundle,
22713 _swigt__p_wxLayoutAlgorithm,
22714 _swigt__p_wxFindDialogEvent,
22715 _swigt__p_wxPreviewCanvas,
22716 _swigt__p_wxFont,
22717 _swigt__p_wxSplitterEvent,
22718 _swigt__p_wxRegion,
22719 _swigt__p_wxFindReplaceData,
22720 _swigt__p_int,
22721 _swigt__p_wxSize,
22722 _swigt__p_wxDC,
22723 _swigt__p_wxIcon,
22724 _swigt__p_wxMDIChildFrame,
22725 _swigt__p_wxColourData,
22726 _swigt__p_wxNotifyEvent,
22727 _swigt__p_wxPyWindow,
22728 _swigt__p_wxSplashScreen,
22729 _swigt__p_wxFindReplaceDialog,
22730 _swigt__p_wxProgressDialog,
22731 _swigt__p_wxMessageDialog,
22732 _swigt__p_wxTextEntryDialog,
22733 _swigt__p_wxSingleChoiceDialog,
22734 _swigt__p_wxMultiChoiceDialog,
22735 _swigt__p_wxFileDialog,
22736 _swigt__p_wxPrinter,
22737 _swigt__p_wxMenuItem,
22738 _swigt__p_wxArrayInt,
22739 _swigt__p_wxEvtHandler,
22740 _swigt__p_wxCalculateLayoutEvent,
22741 _swigt__p_wxPyHtmlListBox,
22742 _swigt__p_wxPyVListBox,
22743 _swigt__p_wxRect,
22744 _swigt__p_wxAcceleratorTable,
22745 _swigt__p_wxMiniFrame,
22746 _swigt__p_wxFrame,
22747 _swigt__p_wxPyPrintout,
22748 _swigt__p_wxTaskBarIconEvent,
22749 _swigt__p_wxScrollWinEvent,
22750 _swigt__p_wxStatusBar,
22751 _swigt__p_wxMDIParentFrame,
22752 _swigt__p_wxPoint,
22753 _swigt__p_wxObject,
22754 _swigt__p_unsigned_long,
22755 _swigt__p_wxMDIClientWindow,
22756 _swigt__p_wxTipWindow,
22757 _swigt__p_wxSashLayoutWindow,
22758 _swigt__p_wxSplitterWindow,
22759 _swigt__p_wxSplashScreenWindow,
22760 _swigt__p_wxPyVScrolledWindow,
22761 _swigt__p_wxPyPopupTransientWindow,
22762 _swigt__p_wxPopupWindow,
22763 _swigt__p_wxSashWindow,
22764 _swigt__p_wxTopLevelWindow,
22765 _swigt__p_wxWindow,
22766 _swigt__p_wxScrolledWindow,
22767 _swigt__p_wxMenuBar,
22768 _swigt__p_wxPrintPreview,
22769 _swigt__p_wxSashEvent,
22770 _swigt__p_wxString,
22771 _swigt__p_wxPyPrintPreview,
22772 _swigt__p_wxFontDialog,
22773 _swigt__p_wxDirDialog,
22774 _swigt__p_wxColourDialog,
22775 _swigt__p_wxDialog,
22776 _swigt__p_wxPanel,
22777 _swigt__p_wxPageSetupDialog,
22778 _swigt__p_wxPrintDialog,
22779 _swigt__p_wxBitmap,
22780 _swigt__p_wxCommandEvent,
22781 _swigt__p_wxPrintQuality,
22782 _swigt__p_wxPreviewControlBar,
22783 _swigt__p_wxPyPreviewControlBar,
22784 _swigt__p_wxColour,
22785 _swigt__p_wxToolBar,
22786 _swigt__p_wxPageSetupDialogData,
22787 _swigt__p_wxPrintDialogData,
22788 0
22789 };
22790
22791
22792 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22793
22794 static swig_const_info swig_const_table[] = {
22795 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22796 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22797 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22798 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22799 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22800 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22801 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22802 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22803 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22804 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22805 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22806 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22807 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22808 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22809 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22810 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22811 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22812 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22813 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22814 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22815 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22816 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22817 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22818 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22819 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22820 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22821 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22822 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22823 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22824 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22825 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22826 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22827 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22828 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22829 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22830 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22831 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22832 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22833 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22834 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22835 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22836 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22837 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22838 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22839 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22840 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22841 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22842 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22843 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22844 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22845 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22846 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22847 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22848 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22849 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22850 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22851 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22852 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22853 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22854 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22855 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22856 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22857 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22858 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22859 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22860 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22861 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22862 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22863 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22864 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22865 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22866 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22867 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22868 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22869 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22870 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22871 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22872 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22873 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22874 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22875 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22876 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22877 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22878 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22879 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22880 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22881 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22882 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22883 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22884 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22885 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22886 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22887 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22888 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22889 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22890 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22891 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22892 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22893 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22894 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22895 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22896 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22897 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22898 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22899 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22900 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22901 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22902 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22903 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22904 {0}};
22905
22906 #ifdef __cplusplus
22907 }
22908 #endif
22909
22910 #ifdef __cplusplus
22911 extern "C"
22912 #endif
22913 SWIGEXPORT(void) SWIG_init(void) {
22914 static PyObject *SWIG_globals = 0;
22915 static int typeinit = 0;
22916 PyObject *m, *d;
22917 int i;
22918 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22919 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22920 d = PyModule_GetDict(m);
22921
22922 if (!typeinit) {
22923 for (i = 0; swig_types_initial[i]; i++) {
22924 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22925 }
22926 typeinit = 1;
22927 }
22928 SWIG_InstallConstants(d,swig_const_table);
22929
22930 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22931 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
22932 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22933 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22934 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22935 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22936 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22937 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22938 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22939
22940 // Map renamed classes back to their common name for OOR
22941 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22942 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22943 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22944
22945 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22946 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22947 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22948 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22949 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22950 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22951 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22952 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22953 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22954 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22955 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22956 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22957
22958 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22959
22960 }
22961