]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
reSWIGged
[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.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
262 #define SWIGTYPE_p_wxTipWindow swig_types[53]
263 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54]
264 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
265 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
268 #define SWIGTYPE_p_wxSashWindow swig_types[59]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
270 #define SWIGTYPE_p_wxWindow swig_types[61]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
273 #define SWIGTYPE_p_wxMenuBar swig_types[64]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
275 #define SWIGTYPE_p_wxSashEvent swig_types[66]
276 #define SWIGTYPE_p_wxString swig_types[67]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
278 #define SWIGTYPE_p_wxFontDialog swig_types[69]
279 #define SWIGTYPE_p_wxDirDialog swig_types[70]
280 #define SWIGTYPE_p_wxColourDialog swig_types[71]
281 #define SWIGTYPE_p_wxDialog swig_types[72]
282 #define SWIGTYPE_p_wxPanel swig_types[73]
283 #define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
285 #define SWIGTYPE_p_wxBitmap swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
288 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
293 static swig_type_info *swig_types[85];
294
295 /* -------- TYPES TABLE (END) -------- */
296
297
298 /*-----------------------------------------------
299 @(target):= _windows.so
300 ------------------------------------------------*/
301 #define SWIG_init init_windows
302
303 #define SWIG_name "_windows"
304
305 /* Auxiliar swig macros */
306
307 #ifdef __cplusplus
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
315
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
318 #else
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
320 #endif
321
322 #else /* C case */
323
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
332
333 #endif /* __cplusplus */
334
335
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346
347
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
350
351
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyPanelNameStr(wxPanelNameStr);
354
355
356
357 #include <limits.h>
358
359
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value, const char* type,
362 long min_value, long max_value)
363 {
364 if (!PyErr_Occurred()) {
365 if (value < min_value) {
366 PyObject *err =
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value, type, min_value);
369
370 PyErr_SetObject(PyExc_OverflowError, err);
371 Py_DECREF(err);
372 } else if (value > max_value) {
373 PyObject *err =
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value, type, max_value);
376 PyErr_SetObject(PyExc_OverflowError, err);
377 Py_DECREF(err);
378 }
379 }
380 return value;
381 }
382
383
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject * obj)
386 {
387 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
388 }
389
390
391 #if INT_MAX != LONG_MAX
392 SWIGSTATICINLINE(int)
393 SWIG_AsInt(PyObject *obj)
394 {
395 return swig_numeric_cast(int,
396 SWIG_CheckLongInRange(SWIG_AsLong(obj),
397 "int", INT_MIN, INT_MAX));
398 }
399 #else
400 #define SWIG_AsInt SWIG_AsLong
401 #endif
402
403
404 SWIGSTATICINLINE(int)
405 SWIG_CheckInt(PyObject* obj)
406 {
407 SWIG_AsInt(obj);
408 if (PyErr_Occurred()) {
409 PyErr_Clear();
410 return 0;
411 } else {
412 return 1;
413 }
414 }
415
416
417 SWIGSTATICINLINE(int)
418 SWIG_CheckLong(PyObject* obj)
419 {
420 SWIG_AsLong(obj);
421 if (PyErr_Occurred()) {
422 PyErr_Clear();
423 return 0;
424 } else {
425 return 1;
426 }
427 }
428
429
430 SWIGSTATICINLINE(bool)
431 SWIG_AsBool(PyObject *obj)
432 {
433 return PyObject_IsTrue(obj) ? true : false;
434 }
435
436
437 SWIGSTATICINLINE(int)
438 SWIG_CheckBool(PyObject* obj)
439 {
440 SWIG_AsBool(obj);
441 if (PyErr_Occurred()) {
442 PyErr_Clear();
443 return 0;
444 } else {
445 return 1;
446 }
447 }
448
449
450 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
451 PyObject* o2;
452 PyObject* o3;
453
454 if (!target) {
455 target = o;
456 } else if (target == Py_None) {
457 Py_DECREF(Py_None);
458 target = o;
459 } else {
460 if (!PyTuple_Check(target)) {
461 o2 = target;
462 target = PyTuple_New(1);
463 PyTuple_SetItem(target, 0, o2);
464 }
465 o3 = PyTuple_New(1);
466 PyTuple_SetItem(o3, 0, o);
467
468 o2 = target;
469 target = PySequence_Concat(o2, o3);
470 Py_DECREF(o2);
471 Py_DECREF(o3);
472 }
473 return target;
474 }
475
476
477 SWIGSTATICINLINE(double)
478 SWIG_AsDouble(PyObject *obj)
479 {
480 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
481 #if HAVE_LONG_LONG
482 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
483 #else
484 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
485 #endif
486 if (PyErr_Occurred()) {
487 PyErr_Clear();
488 PyErr_SetString(PyExc_TypeError, "a double is expected");
489 }
490 return val;
491 }
492
493
494 SWIGSTATICINLINE(int)
495 SWIG_CheckDouble(PyObject* obj)
496 {
497 SWIG_AsDouble(obj);
498 if (PyErr_Occurred()) {
499 PyErr_Clear();
500 return 0;
501 } else {
502 return 1;
503 }
504 }
505
506 static const wxString wxPyFrameNameStr(wxFrameNameStr);
507 static const wxString wxPyDialogNameStr(wxDialogNameStr);
508 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
509 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
510 bool wxDialog_IsModalShowing(wxDialog *self){
511
512 return self->m_modalShowing;
513
514
515
516 }
517
518
519 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
520 wxRect r;
521 self->GetFieldRect(i, r);
522 return r;
523 }
524 static const wxString wxPySplitterNameStr(wxT("splitter"));
525 static const wxString wxPySashNameStr(wxT("sashWindow"));
526 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
527
528 #include <wx/popupwin.h>
529
530
531 class wxPyPopupTransientWindow : public wxPopupTransientWindow
532 {
533 public:
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
536 : wxPopupTransientWindow(parent, style) {}
537
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
539 DEC_PYCALLBACK__(OnDismiss);
540 DEC_PYCALLBACK_BOOL_(CanDismiss);
541 PYPRIVATE;
542 };
543
544
545 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
546 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
547 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
548
549
550 #include <wx/tipwin.h>
551
552 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
553 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
554 }
555
556 #include <wx/tipwin.h>
557
558
559 #include <wx/vscroll.h>
560
561
562 class wxPyVScrolledWindow : public wxVScrolledWindow
563 {
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
565 public:
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
567
568 wxPyVScrolledWindow(wxWindow *parent,
569 wxWindowID id = wxID_ANY,
570 const wxPoint& pos = wxDefaultPosition,
571 const wxSize& size = wxDefaultSize,
572 long style = 0,
573 const wxString& name = wxPyPanelNameStr)
574 : wxVScrolledWindow(parent, id, pos, size, style, name)
575 {}
576
577 // Overridable virtuals
578
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
582
583
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
587 // once
588 //
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
594 //
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
596 // usual
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
598
599
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
604 // its own logic
605 //
606 // this function should return the best guess for the total height it may
607 // make
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
609
610
611 // Also expose some other interesting protected methods
612
613
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
616 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
618
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
623
624
625 PYPRIVATE;
626 };
627
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
629
630 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
631 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
632 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
633
634
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_AsUnsignedLong(PyObject * obj)
637 {
638 if (PyLong_Check(obj)) {
639 return PyLong_AsUnsignedLong(obj);
640 } else {
641 long i = PyInt_AsLong(obj);
642 if ( !PyErr_Occurred() && (i < 0)) {
643 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
644 }
645 return i;
646 }
647 }
648
649
650 SWIGSTATICINLINE(int)
651 SWIG_CheckUnsignedLong(PyObject* obj)
652 {
653 SWIG_AsUnsignedLong(obj);
654 if (PyErr_Occurred()) {
655 PyErr_Clear();
656 return 0;
657 } else {
658 return 1;
659 }
660 }
661
662
663 SWIGSTATICINLINE(PyObject* )
664 SWIG_FromUnsignedLong(unsigned long value)
665 {
666 return (value > LONG_MAX) ?
667 PyLong_FromUnsignedLong(value)
668 : PyInt_FromLong(swig_numeric_cast(long,value));
669 }
670
671
672 #include <wx/vlbox.h>
673
674 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
675
676 class wxPyVListBox : public wxVListBox
677 {
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
679 public:
680 wxPyVListBox() : wxVListBox() {}
681
682 wxPyVListBox(wxWindow *parent,
683 wxWindowID id = wxID_ANY,
684 const wxPoint& pos = wxDefaultPosition,
685 const wxSize& size = wxDefaultSize,
686 long style = 0,
687 const wxString& name = wxPyVListBoxNameStr)
688 : wxVListBox(parent, id, pos, size, style, name)
689 {}
690
691 // Overridable virtuals
692
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
697
698
699 // the derived class must implement this method to return the height of the
700 // specified item
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
703
704
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
708 //
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
712
713
714 // this method is used to draw the items background and, maybe, a border
715 // around it
716 //
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
720 // current
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
723
724
725 PYPRIVATE;
726 };
727
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
729
730 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
731 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
733 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
734
735
736
737 #include <wx/htmllbox.h>
738
739
740 class wxPyHtmlListBox : public wxHtmlListBox
741 {
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
743 public:
744 wxPyHtmlListBox() : wxHtmlListBox() {}
745
746 wxPyHtmlListBox(wxWindow *parent,
747 wxWindowID id = wxID_ANY,
748 const wxPoint& pos = wxDefaultPosition,
749 const wxSize& size = wxDefaultSize,
750 long style = 0,
751 const wxString& name = wxPyVListBoxNameStr)
752 : wxHtmlListBox(parent, id, pos, size, style, name)
753 {}
754
755 // Overridable virtuals
756
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
760
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
763
764 // TODO:
765 // // this method allows to customize the selection appearance: it may be used
766 // // to specify the colour of the text which normally has the given colour
767 // // colFg when it is inside the selection
768 // //
769 // // by default, the original colour is not used at all and all text has the
770 // // same (default for this system) colour inside selection
771 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
772
773 // // this is the same as GetSelectedTextColour() but allows to customize the
774 // // background colour -- this is even more rarely used as you can change it
775 // // globally using SetSelectionBackground()
776 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
777
778
779 PYPRIVATE;
780 };
781
782
783 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
784
785 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
786 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
787
788
789
790
791
792 #ifdef __WXMAC__
793 // implement dummy classes and such for wxMac
794
795 class wxTaskBarIcon : public wxEvtHandler
796 {
797 public:
798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
799 };
800
801
802 class wxTaskBarIconEvent : public wxEvent
803 {
804 public:
805 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
806 { wxPyRaiseNotImplemented(); }
807 virtual wxEvent* Clone() const { return NULL; }
808 };
809
810 enum {
811 wxEVT_TASKBAR_MOVE = 0,
812 wxEVT_TASKBAR_LEFT_DOWN = 0,
813 wxEVT_TASKBAR_LEFT_UP = 0,
814 wxEVT_TASKBAR_RIGHT_DOWN = 0,
815 wxEVT_TASKBAR_RIGHT_UP = 0,
816 wxEVT_TASKBAR_LEFT_DCLICK = 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
818 };
819 #endif
820
821 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
822 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
823 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
824 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
825 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
826 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
827 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
828 wxArrayString arr;
829 self->GetFilenames(arr);
830 return wxArrayString2PyList_helper(arr);
831 }
832 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
833 wxArrayString arr;
834 self->GetPaths(arr);
835 return wxArrayString2PyList_helper(arr);
836 }
837 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
838 return wxArrayInt2PyList_helper(self->GetSelections());
839 }
840 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
841 return new wxSingleChoiceDialog(parent, message, caption,
842 choices, choices_array, NULL, style, pos);
843 }
844
845 #include <wx/mdi.h>
846
847 // C++ version of Python aware wxWindow
848 class wxPyWindow : public wxWindow
849 {
850 DECLARE_DYNAMIC_CLASS(wxPyWindow)
851 public:
852 wxPyWindow() : wxWindow() {}
853 wxPyWindow(wxWindow* parent, const wxWindowID id,
854 const wxPoint& pos = wxDefaultPosition,
855 const wxSize& size = wxDefaultSize,
856 long style = 0,
857 const wxString& name = wxPyPanelNameStr)
858 : wxWindow(parent, id, pos, size, style, name) {}
859
860
861 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
862 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
863 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
865
866 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
869
870 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
871 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
872
873 DEC_PYCALLBACK__(InitDialog);
874 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
875 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
876 DEC_PYCALLBACK_BOOL_(Validate);
877
878 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
880 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
881
882 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
883 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
884
885 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
886
887 PYPRIVATE;
888 };
889
890 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
891
892 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
893 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
894 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
895 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
896
897 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
898 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
900
901 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
902 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
903
904 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
905 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
906 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
908
909 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
910 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
912
913 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
914 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
915
916 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
917
918 // C++ version of Python aware wxPanel
919 class wxPyPanel : public wxPanel
920 {
921 DECLARE_DYNAMIC_CLASS(wxPyPanel)
922 public:
923 wxPyPanel() : wxPanel() {}
924 wxPyPanel(wxWindow* parent, const wxWindowID id,
925 const wxPoint& pos = wxDefaultPosition,
926 const wxSize& size = wxDefaultSize,
927 long style = 0,
928 const wxString& name = wxPyPanelNameStr)
929 : wxPanel(parent, id, pos, size, style, name) {}
930
931
932 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
933 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
934 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
935 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
936
937 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
938 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
939 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
940
941 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
942 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
943
944 DEC_PYCALLBACK__(InitDialog);
945 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
946 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
947 DEC_PYCALLBACK_BOOL_(Validate);
948
949 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
950 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
951 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
952
953 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
954 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
955
956 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
957
958 PYPRIVATE;
959 };
960
961 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
962
963 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
964 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
965 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
966 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
967
968 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
969 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
970 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
971
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
973 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
974
975 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
976 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
977 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
978 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
979
980 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
981 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
983
984 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
985 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
986
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
988
989
990 #include "wx/wxPython/printfw.h"
991
992
993 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
994 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
995
996
997
998 // Since this one would be tough and ugly to do with the Macros...
999 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1000 bool hadErr = False;
1001 bool found;
1002
1003 bool blocked = wxPyBeginBlockThreads();
1004 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1005 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1006 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1007 PyObject* val;
1008
1009 val = PyTuple_GetItem(result, 0);
1010 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1011 else hadErr = True;
1012
1013 val = PyTuple_GetItem(result, 1);
1014 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1015 else hadErr = True;
1016
1017 val = PyTuple_GetItem(result, 2);
1018 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1019 else hadErr = True;
1020
1021 val = PyTuple_GetItem(result, 3);
1022 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1023 else hadErr = True;
1024 }
1025 else
1026 hadErr = True;
1027
1028 if (hadErr) {
1029 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1030 PyErr_Print();
1031 }
1032 Py_DECREF(result);
1033 }
1034 wxPyEndBlockThreads(blocked);
1035 if (! found)
1036 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1037 }
1038
1039 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1040 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1041 }
1042
1043
1044 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1045 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1046 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1047 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1048 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1049 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1050 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1051
1052
1053
1054
1055
1056 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1057 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1058 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1059
1060
1061 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1062 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1063 bool rval=False; \
1064 bool found; \
1065 bool blocked = wxPyBeginBlockThreads(); \
1066 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1067 PyObject* win = wxPyMake_wxObject(a); \
1068 PyObject* dc = wxPyMake_wxObject(&b); \
1069 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1070 Py_DECREF(win); \
1071 Py_DECREF(dc); \
1072 } \
1073 wxPyEndBlockThreads(blocked); \
1074 if (! found) \
1075 rval = PCLASS::CBNAME(a, b); \
1076 return rval; \
1077 } \
1078 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1079 return PCLASS::CBNAME(a, b); \
1080 }
1081
1082
1083
1084
1085 class wxPyPrintPreview : public wxPrintPreview
1086 {
1087 DECLARE_CLASS(wxPyPrintPreview)
1088 public:
1089 wxPyPrintPreview(wxPyPrintout* printout,
1090 wxPyPrintout* printoutForPrinting,
1091 wxPrintDialogData* data=NULL)
1092 : wxPrintPreview(printout, printoutForPrinting, data)
1093 {}
1094 wxPyPrintPreview(wxPyPrintout* printout,
1095 wxPyPrintout* printoutForPrinting,
1096 wxPrintData* data=NULL)
1097 : wxPrintPreview(printout, printoutForPrinting, data)
1098 {}
1099
1100 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1101 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1102 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1103 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1104 DEC_PYCALLBACK_VOID_INT(SetZoom);
1105 DEC_PYCALLBACK_BOOL_BOOL(Print);
1106 DEC_PYCALLBACK_VOID_(DetermineScaling);
1107
1108 PYPRIVATE;
1109 };
1110
1111 // Stupid renamed classes... Fix this in 2.5...
1112 #if defined(__WXMSW__)
1113 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1114 #elif defined(__WXMAC__)
1115 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1116 #else
1117 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1118 #endif
1119
1120 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1121 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1122 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1123 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1124 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1125 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1126 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1127
1128
1129 class wxPyPreviewFrame : public wxPreviewFrame
1130 {
1131 DECLARE_CLASS(wxPyPreviewFrame);
1132 public:
1133 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1134 const wxString& title,
1135 const wxPoint& pos = wxDefaultPosition,
1136 const wxSize& size = wxDefaultSize,
1137 long style = wxDEFAULT_FRAME_STYLE,
1138 const wxString& name = wxPyFrameNameStr)
1139 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1140 {}
1141
1142 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1143 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1144
1145 DEC_PYCALLBACK_VOID_(Initialize);
1146 DEC_PYCALLBACK_VOID_(CreateCanvas);
1147 DEC_PYCALLBACK_VOID_(CreateControlBar);
1148
1149 PYPRIVATE;
1150 };
1151
1152 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1153
1154 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1155 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1156 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1157
1158
1159 class wxPyPreviewControlBar : public wxPreviewControlBar
1160 {
1161 DECLARE_CLASS(wxPyPreviewControlBar);
1162 public:
1163 wxPyPreviewControlBar(wxPrintPreview *preview,
1164 long buttons,
1165 wxWindow *parent,
1166 const wxPoint& pos = wxDefaultPosition,
1167 const wxSize& size = wxDefaultSize,
1168 long style = 0,
1169 const wxString& name = wxPyPanelNameStr)
1170 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1171 {}
1172
1173 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1174
1175 DEC_PYCALLBACK_VOID_(CreateButtons);
1176 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1177
1178 PYPRIVATE;
1179 };
1180
1181 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1182 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1183 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1184
1185 #ifdef __cplusplus
1186 extern "C" {
1187 #endif
1188 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject *resultobj;
1190 wxWindow *arg1 = (wxWindow *) 0 ;
1191 int arg2 = (int) (int)-1 ;
1192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1194 wxSize const &arg4_defvalue = wxDefaultSize ;
1195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1196 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1197 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1198 wxString *arg6 = (wxString *) &arg6_defvalue ;
1199 wxPanel *result;
1200 wxPoint temp3 ;
1201 wxSize temp4 ;
1202 bool temp6 = False ;
1203 PyObject * obj0 = 0 ;
1204 PyObject * obj1 = 0 ;
1205 PyObject * obj2 = 0 ;
1206 PyObject * obj3 = 0 ;
1207 PyObject * obj4 = 0 ;
1208 PyObject * obj5 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1211 };
1212
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1216 if (obj1) {
1217 arg2 = (int const) SWIG_AsInt(obj1);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 if (obj2) {
1221 {
1222 arg3 = &temp3;
1223 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1224 }
1225 }
1226 if (obj3) {
1227 {
1228 arg4 = &temp4;
1229 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1230 }
1231 }
1232 if (obj4) {
1233 arg5 = (long) SWIG_AsLong(obj4);
1234 if (PyErr_Occurred()) SWIG_fail;
1235 }
1236 if (obj5) {
1237 {
1238 arg6 = wxString_in_helper(obj5);
1239 if (arg6 == NULL) SWIG_fail;
1240 temp6 = True;
1241 }
1242 }
1243 {
1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
1245 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1246
1247 wxPyEndAllowThreads(__tstate);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 }
1250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1251 {
1252 if (temp6)
1253 delete arg6;
1254 }
1255 return resultobj;
1256 fail:
1257 {
1258 if (temp6)
1259 delete arg6;
1260 }
1261 return NULL;
1262 }
1263
1264
1265 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1266 PyObject *resultobj;
1267 wxPanel *result;
1268 char *kwnames[] = {
1269 NULL
1270 };
1271
1272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1273 {
1274 PyThreadState* __tstate = wxPyBeginAllowThreads();
1275 result = (wxPanel *)new wxPanel();
1276
1277 wxPyEndAllowThreads(__tstate);
1278 if (PyErr_Occurred()) SWIG_fail;
1279 }
1280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1281 return resultobj;
1282 fail:
1283 return NULL;
1284 }
1285
1286
1287 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1288 PyObject *resultobj;
1289 wxPanel *arg1 = (wxPanel *) 0 ;
1290 wxWindow *arg2 = (wxWindow *) 0 ;
1291 int arg3 ;
1292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1294 wxSize const &arg5_defvalue = wxDefaultSize ;
1295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1296 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1297 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1298 wxString *arg7 = (wxString *) &arg7_defvalue ;
1299 bool result;
1300 wxPoint temp4 ;
1301 wxSize temp5 ;
1302 bool temp7 = False ;
1303 PyObject * obj0 = 0 ;
1304 PyObject * obj1 = 0 ;
1305 PyObject * obj2 = 0 ;
1306 PyObject * obj3 = 0 ;
1307 PyObject * obj4 = 0 ;
1308 PyObject * obj5 = 0 ;
1309 PyObject * obj6 = 0 ;
1310 char *kwnames[] = {
1311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1312 };
1313
1314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1319 arg3 = (int const) SWIG_AsInt(obj2);
1320 if (PyErr_Occurred()) SWIG_fail;
1321 if (obj3) {
1322 {
1323 arg4 = &temp4;
1324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1325 }
1326 }
1327 if (obj4) {
1328 {
1329 arg5 = &temp5;
1330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1331 }
1332 }
1333 if (obj5) {
1334 arg6 = (long) SWIG_AsLong(obj5);
1335 if (PyErr_Occurred()) SWIG_fail;
1336 }
1337 if (obj6) {
1338 {
1339 arg7 = wxString_in_helper(obj6);
1340 if (arg7 == NULL) SWIG_fail;
1341 temp7 = True;
1342 }
1343 }
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 {
1352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1353 }
1354 {
1355 if (temp7)
1356 delete arg7;
1357 }
1358 return resultobj;
1359 fail:
1360 {
1361 if (temp7)
1362 delete arg7;
1363 }
1364 return NULL;
1365 }
1366
1367
1368 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject *resultobj;
1370 wxPanel *arg1 = (wxPanel *) 0 ;
1371 PyObject * obj0 = 0 ;
1372 char *kwnames[] = {
1373 (char *) "self", NULL
1374 };
1375
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 (arg1)->InitDialog();
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
1386 Py_INCREF(Py_None); resultobj = Py_None;
1387 return resultobj;
1388 fail:
1389 return NULL;
1390 }
1391
1392
1393 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1394 PyObject *obj;
1395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1396 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1397 Py_INCREF(obj);
1398 return Py_BuildValue((char *)"");
1399 }
1400 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject *resultobj;
1402 wxWindow *arg1 = (wxWindow *) 0 ;
1403 int arg2 = (int) (int)-1 ;
1404 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1405 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1406 wxSize const &arg4_defvalue = wxDefaultSize ;
1407 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1408 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1409 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1410 wxString *arg6 = (wxString *) &arg6_defvalue ;
1411 wxScrolledWindow *result;
1412 wxPoint temp3 ;
1413 wxSize temp4 ;
1414 bool temp6 = False ;
1415 PyObject * obj0 = 0 ;
1416 PyObject * obj1 = 0 ;
1417 PyObject * obj2 = 0 ;
1418 PyObject * obj3 = 0 ;
1419 PyObject * obj4 = 0 ;
1420 PyObject * obj5 = 0 ;
1421 char *kwnames[] = {
1422 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1423 };
1424
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1428 if (obj1) {
1429 arg2 = (int const) SWIG_AsInt(obj1);
1430 if (PyErr_Occurred()) SWIG_fail;
1431 }
1432 if (obj2) {
1433 {
1434 arg3 = &temp3;
1435 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1436 }
1437 }
1438 if (obj3) {
1439 {
1440 arg4 = &temp4;
1441 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1442 }
1443 }
1444 if (obj4) {
1445 arg5 = (long) SWIG_AsLong(obj4);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 if (obj5) {
1449 {
1450 arg6 = wxString_in_helper(obj5);
1451 if (arg6 == NULL) SWIG_fail;
1452 temp6 = True;
1453 }
1454 }
1455 {
1456 PyThreadState* __tstate = wxPyBeginAllowThreads();
1457 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1458
1459 wxPyEndAllowThreads(__tstate);
1460 if (PyErr_Occurred()) SWIG_fail;
1461 }
1462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1463 {
1464 if (temp6)
1465 delete arg6;
1466 }
1467 return resultobj;
1468 fail:
1469 {
1470 if (temp6)
1471 delete arg6;
1472 }
1473 return NULL;
1474 }
1475
1476
1477 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject *resultobj;
1479 wxScrolledWindow *result;
1480 char *kwnames[] = {
1481 NULL
1482 };
1483
1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 result = (wxScrolledWindow *)new wxScrolledWindow();
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1493 return resultobj;
1494 fail:
1495 return NULL;
1496 }
1497
1498
1499 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1502 wxWindow *arg2 = (wxWindow *) 0 ;
1503 int arg3 = (int) (int)-1 ;
1504 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1505 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1506 wxSize const &arg5_defvalue = wxDefaultSize ;
1507 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1508 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1509 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1510 wxString *arg7 = (wxString *) &arg7_defvalue ;
1511 bool result;
1512 wxPoint temp4 ;
1513 wxSize temp5 ;
1514 bool temp7 = False ;
1515 PyObject * obj0 = 0 ;
1516 PyObject * obj1 = 0 ;
1517 PyObject * obj2 = 0 ;
1518 PyObject * obj3 = 0 ;
1519 PyObject * obj4 = 0 ;
1520 PyObject * obj5 = 0 ;
1521 PyObject * obj6 = 0 ;
1522 char *kwnames[] = {
1523 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1524 };
1525
1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1531 if (obj2) {
1532 arg3 = (int const) SWIG_AsInt(obj2);
1533 if (PyErr_Occurred()) SWIG_fail;
1534 }
1535 if (obj3) {
1536 {
1537 arg4 = &temp4;
1538 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1539 }
1540 }
1541 if (obj4) {
1542 {
1543 arg5 = &temp5;
1544 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1545 }
1546 }
1547 if (obj5) {
1548 arg6 = (long) SWIG_AsLong(obj5);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 if (obj6) {
1552 {
1553 arg7 = wxString_in_helper(obj6);
1554 if (arg7 == NULL) SWIG_fail;
1555 temp7 = True;
1556 }
1557 }
1558 {
1559 PyThreadState* __tstate = wxPyBeginAllowThreads();
1560 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1561
1562 wxPyEndAllowThreads(__tstate);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 }
1565 {
1566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1567 }
1568 {
1569 if (temp7)
1570 delete arg7;
1571 }
1572 return resultobj;
1573 fail:
1574 {
1575 if (temp7)
1576 delete arg7;
1577 }
1578 return NULL;
1579 }
1580
1581
1582 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1585 int arg2 ;
1586 int arg3 ;
1587 int arg4 ;
1588 int arg5 ;
1589 int arg6 = (int) 0 ;
1590 int arg7 = (int) 0 ;
1591 bool arg8 = (bool) False ;
1592 PyObject * obj0 = 0 ;
1593 PyObject * obj1 = 0 ;
1594 PyObject * obj2 = 0 ;
1595 PyObject * obj3 = 0 ;
1596 PyObject * obj4 = 0 ;
1597 PyObject * obj5 = 0 ;
1598 PyObject * obj6 = 0 ;
1599 PyObject * obj7 = 0 ;
1600 char *kwnames[] = {
1601 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1602 };
1603
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1607 arg2 = (int) SWIG_AsInt(obj1);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 arg3 = (int) SWIG_AsInt(obj2);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 arg4 = (int) SWIG_AsInt(obj3);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 arg5 = (int) SWIG_AsInt(obj4);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 if (obj5) {
1616 arg6 = (int) SWIG_AsInt(obj5);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 if (obj6) {
1620 arg7 = (int) SWIG_AsInt(obj6);
1621 if (PyErr_Occurred()) SWIG_fail;
1622 }
1623 if (obj7) {
1624 arg8 = (bool) SWIG_AsBool(obj7);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
1634 Py_INCREF(Py_None); resultobj = Py_None;
1635 return resultobj;
1636 fail:
1637 return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1644 int arg2 ;
1645 int arg3 ;
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 PyObject * obj2 = 0 ;
1649 char *kwnames[] = {
1650 (char *) "self",(char *) "x",(char *) "y", NULL
1651 };
1652
1653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1656 arg2 = (int) SWIG_AsInt(obj1);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 arg3 = (int) SWIG_AsInt(obj2);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 {
1661 PyThreadState* __tstate = wxPyBeginAllowThreads();
1662 (arg1)->Scroll(arg2,arg3);
1663
1664 wxPyEndAllowThreads(__tstate);
1665 if (PyErr_Occurred()) SWIG_fail;
1666 }
1667 Py_INCREF(Py_None); resultobj = Py_None;
1668 return resultobj;
1669 fail:
1670 return NULL;
1671 }
1672
1673
1674 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1675 PyObject *resultobj;
1676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1677 int arg2 ;
1678 int result;
1679 PyObject * obj0 = 0 ;
1680 PyObject * obj1 = 0 ;
1681 char *kwnames[] = {
1682 (char *) "self",(char *) "orient", NULL
1683 };
1684
1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1688 arg2 = (int) SWIG_AsInt(obj1);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 {
1691 PyThreadState* __tstate = wxPyBeginAllowThreads();
1692 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1693
1694 wxPyEndAllowThreads(__tstate);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 }
1697 resultobj = SWIG_FromInt((int)result);
1698 return resultobj;
1699 fail:
1700 return NULL;
1701 }
1702
1703
1704 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1705 PyObject *resultobj;
1706 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1707 int arg2 ;
1708 int arg3 ;
1709 PyObject * obj0 = 0 ;
1710 PyObject * obj1 = 0 ;
1711 PyObject * obj2 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 arg2 = (int) SWIG_AsInt(obj1);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 arg3 = (int) SWIG_AsInt(obj2);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 {
1724 PyThreadState* __tstate = wxPyBeginAllowThreads();
1725 (arg1)->SetScrollPageSize(arg2,arg3);
1726
1727 wxPyEndAllowThreads(__tstate);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 }
1730 Py_INCREF(Py_None); resultobj = Py_None;
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1740 int arg2 ;
1741 int arg3 ;
1742 PyObject * obj0 = 0 ;
1743 PyObject * obj1 = 0 ;
1744 PyObject * obj2 = 0 ;
1745 char *kwnames[] = {
1746 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1747 };
1748
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1752 arg2 = (int) SWIG_AsInt(obj1);
1753 if (PyErr_Occurred()) SWIG_fail;
1754 arg3 = (int) SWIG_AsInt(obj2);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 (arg1)->SetScrollRate(arg2,arg3);
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 Py_INCREF(Py_None); resultobj = Py_None;
1764 return resultobj;
1765 fail:
1766 return NULL;
1767 }
1768
1769
1770 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1771 PyObject *resultobj;
1772 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1773 int *arg2 = (int *) 0 ;
1774 int *arg3 = (int *) 0 ;
1775 int temp2 ;
1776 int temp3 ;
1777 PyObject * obj0 = 0 ;
1778 char *kwnames[] = {
1779 (char *) "self", NULL
1780 };
1781
1782 arg2 = &temp2;
1783 arg3 = &temp3;
1784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1787 {
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
1794 Py_INCREF(Py_None); resultobj = Py_None;
1795 {
1796 PyObject *o = PyInt_FromLong((long) (*arg2));
1797 resultobj = t_output_helper(resultobj,o);
1798 }
1799 {
1800 PyObject *o = PyInt_FromLong((long) (*arg3));
1801 resultobj = t_output_helper(resultobj,o);
1802 }
1803 return resultobj;
1804 fail:
1805 return NULL;
1806 }
1807
1808
1809 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject *resultobj;
1811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1812 bool arg2 ;
1813 bool arg3 ;
1814 PyObject * obj0 = 0 ;
1815 PyObject * obj1 = 0 ;
1816 PyObject * obj2 = 0 ;
1817 char *kwnames[] = {
1818 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1819 };
1820
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1824 arg2 = (bool) SWIG_AsBool(obj1);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 arg3 = (bool) SWIG_AsBool(obj2);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 (arg1)->EnableScrolling(arg2,arg3);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 Py_INCREF(Py_None); resultobj = Py_None;
1836 return resultobj;
1837 fail:
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1845 int *arg2 = (int *) 0 ;
1846 int *arg3 = (int *) 0 ;
1847 int temp2 ;
1848 int temp3 ;
1849 PyObject * obj0 = 0 ;
1850 char *kwnames[] = {
1851 (char *) "self", NULL
1852 };
1853
1854 arg2 = &temp2;
1855 arg3 = &temp3;
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 Py_INCREF(Py_None); resultobj = Py_None;
1867 {
1868 PyObject *o = PyInt_FromLong((long) (*arg2));
1869 resultobj = t_output_helper(resultobj,o);
1870 }
1871 {
1872 PyObject *o = PyInt_FromLong((long) (*arg3));
1873 resultobj = t_output_helper(resultobj,o);
1874 }
1875 return resultobj;
1876 fail:
1877 return NULL;
1878 }
1879
1880
1881 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1884 double arg2 ;
1885 double arg3 ;
1886 PyObject * obj0 = 0 ;
1887 PyObject * obj1 = 0 ;
1888 PyObject * obj2 = 0 ;
1889 char *kwnames[] = {
1890 (char *) "self",(char *) "xs",(char *) "ys", NULL
1891 };
1892
1893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1896 arg2 = (double) SWIG_AsDouble(obj1);
1897 if (PyErr_Occurred()) SWIG_fail;
1898 arg3 = (double) SWIG_AsDouble(obj2);
1899 if (PyErr_Occurred()) SWIG_fail;
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 (arg1)->SetScale(arg2,arg3);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 Py_INCREF(Py_None); resultobj = Py_None;
1908 return resultobj;
1909 fail:
1910 return NULL;
1911 }
1912
1913
1914 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject *resultobj;
1916 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1917 double result;
1918 PyObject * obj0 = 0 ;
1919 char *kwnames[] = {
1920 (char *) "self", NULL
1921 };
1922
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 resultobj = SWIG_FromDouble((double)result);
1934 return resultobj;
1935 fail:
1936 return NULL;
1937 }
1938
1939
1940 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1943 double result;
1944 PyObject * obj0 = 0 ;
1945 char *kwnames[] = {
1946 (char *) "self", NULL
1947 };
1948
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1952 {
1953 PyThreadState* __tstate = wxPyBeginAllowThreads();
1954 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1955
1956 wxPyEndAllowThreads(__tstate);
1957 if (PyErr_Occurred()) SWIG_fail;
1958 }
1959 resultobj = SWIG_FromDouble((double)result);
1960 return resultobj;
1961 fail:
1962 return NULL;
1963 }
1964
1965
1966 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1967 PyObject *resultobj;
1968 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1969 wxPoint *arg2 = 0 ;
1970 wxPoint result;
1971 wxPoint temp2 ;
1972 PyObject * obj0 = 0 ;
1973 PyObject * obj1 = 0 ;
1974
1975 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1978 {
1979 arg2 = &temp2;
1980 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1981 }
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 {
1990 wxPoint * resultptr;
1991 resultptr = new wxPoint((wxPoint &) result);
1992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
1993 }
1994 return resultobj;
1995 fail:
1996 return NULL;
1997 }
1998
1999
2000 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2001 PyObject *resultobj;
2002 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2003 int arg2 ;
2004 int arg3 ;
2005 int *arg4 = (int *) 0 ;
2006 int *arg5 = (int *) 0 ;
2007 int temp4 ;
2008 int temp5 ;
2009 PyObject * obj0 = 0 ;
2010 PyObject * obj1 = 0 ;
2011 PyObject * obj2 = 0 ;
2012
2013 arg4 = &temp4;
2014 arg5 = &temp5;
2015 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2018 arg2 = (int) SWIG_AsInt(obj1);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 arg3 = (int) SWIG_AsInt(obj2);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 {
2031 PyObject *o = PyInt_FromLong((long) (*arg4));
2032 resultobj = t_output_helper(resultobj,o);
2033 }
2034 {
2035 PyObject *o = PyInt_FromLong((long) (*arg5));
2036 resultobj = t_output_helper(resultobj,o);
2037 }
2038 return resultobj;
2039 fail:
2040 return NULL;
2041 }
2042
2043
2044 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2045 int argc;
2046 PyObject *argv[4];
2047 int ii;
2048
2049 argc = PyObject_Length(args);
2050 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2051 argv[ii] = PyTuple_GetItem(args,ii);
2052 }
2053 if (argc == 2) {
2054 int _v;
2055 {
2056 void *ptr;
2057 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2058 _v = 0;
2059 PyErr_Clear();
2060 } else {
2061 _v = 1;
2062 }
2063 }
2064 if (_v) {
2065 {
2066 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2067 }
2068 if (_v) {
2069 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2070 }
2071 }
2072 }
2073 if (argc == 3) {
2074 int _v;
2075 {
2076 void *ptr;
2077 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2078 _v = 0;
2079 PyErr_Clear();
2080 } else {
2081 _v = 1;
2082 }
2083 }
2084 if (_v) {
2085 _v = SWIG_CheckInt(argv[1]);
2086 if (_v) {
2087 _v = SWIG_CheckInt(argv[2]);
2088 if (_v) {
2089 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2090 }
2091 }
2092 }
2093 }
2094
2095 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2096 return NULL;
2097 }
2098
2099
2100 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2101 PyObject *resultobj;
2102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2103 wxPoint *arg2 = 0 ;
2104 wxPoint result;
2105 wxPoint temp2 ;
2106 PyObject * obj0 = 0 ;
2107 PyObject * obj1 = 0 ;
2108
2109 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2112 {
2113 arg2 = &temp2;
2114 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 {
2124 wxPoint * resultptr;
2125 resultptr = new wxPoint((wxPoint &) result);
2126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2127 }
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2135 PyObject *resultobj;
2136 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2137 int arg2 ;
2138 int arg3 ;
2139 int *arg4 = (int *) 0 ;
2140 int *arg5 = (int *) 0 ;
2141 int temp4 ;
2142 int temp5 ;
2143 PyObject * obj0 = 0 ;
2144 PyObject * obj1 = 0 ;
2145 PyObject * obj2 = 0 ;
2146
2147 arg4 = &temp4;
2148 arg5 = &temp5;
2149 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2152 arg2 = (int) SWIG_AsInt(obj1);
2153 if (PyErr_Occurred()) SWIG_fail;
2154 arg3 = (int) SWIG_AsInt(obj2);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 Py_INCREF(Py_None); resultobj = Py_None;
2164 {
2165 PyObject *o = PyInt_FromLong((long) (*arg4));
2166 resultobj = t_output_helper(resultobj,o);
2167 }
2168 {
2169 PyObject *o = PyInt_FromLong((long) (*arg5));
2170 resultobj = t_output_helper(resultobj,o);
2171 }
2172 return resultobj;
2173 fail:
2174 return NULL;
2175 }
2176
2177
2178 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2179 int argc;
2180 PyObject *argv[4];
2181 int ii;
2182
2183 argc = PyObject_Length(args);
2184 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2185 argv[ii] = PyTuple_GetItem(args,ii);
2186 }
2187 if (argc == 2) {
2188 int _v;
2189 {
2190 void *ptr;
2191 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2192 _v = 0;
2193 PyErr_Clear();
2194 } else {
2195 _v = 1;
2196 }
2197 }
2198 if (_v) {
2199 {
2200 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2201 }
2202 if (_v) {
2203 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2204 }
2205 }
2206 }
2207 if (argc == 3) {
2208 int _v;
2209 {
2210 void *ptr;
2211 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2212 _v = 0;
2213 PyErr_Clear();
2214 } else {
2215 _v = 1;
2216 }
2217 }
2218 if (_v) {
2219 _v = SWIG_CheckInt(argv[1]);
2220 if (_v) {
2221 _v = SWIG_CheckInt(argv[2]);
2222 if (_v) {
2223 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2224 }
2225 }
2226 }
2227 }
2228
2229 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2237 PyObject * obj0 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->AdjustScrollbars();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2262 wxScrollWinEvent *arg2 = 0 ;
2263 int result;
2264 PyObject * obj0 = 0 ;
2265 PyObject * obj1 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self",(char *) "event", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2274 SWIG_POINTER_EXCEPTION | 0)) == -1)
2275 SWIG_fail;
2276 if (arg2 == NULL) {
2277 PyErr_SetString(PyExc_TypeError,"null reference");
2278 SWIG_fail;
2279 }
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = (int)(arg1)->CalcScrollInc(*arg2);
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 resultobj = SWIG_FromInt((int)result);
2288 return resultobj;
2289 fail:
2290 return NULL;
2291 }
2292
2293
2294 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2297 wxWindow *arg2 = (wxWindow *) 0 ;
2298 PyObject * obj0 = 0 ;
2299 PyObject * obj1 = 0 ;
2300 char *kwnames[] = {
2301 (char *) "self",(char *) "target", NULL
2302 };
2303
2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 (arg1)->SetTargetWindow(arg2);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 Py_INCREF(Py_None); resultobj = Py_None;
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2326 wxWindow *result;
2327 PyObject * obj0 = 0 ;
2328 char *kwnames[] = {
2329 (char *) "self", NULL
2330 };
2331
2332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 {
2343 resultobj = wxPyMake_wxObject(result);
2344 }
2345 return resultobj;
2346 fail:
2347 return NULL;
2348 }
2349
2350
2351 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2352 PyObject *obj;
2353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2354 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2355 Py_INCREF(obj);
2356 return Py_BuildValue((char *)"");
2357 }
2358 static int _wrap_FrameNameStr_set(PyObject *_val) {
2359 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2360 return 1;
2361 }
2362
2363
2364 static PyObject *_wrap_FrameNameStr_get() {
2365 PyObject *pyobj;
2366
2367 {
2368 #if wxUSE_UNICODE
2369 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2370 #else
2371 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2372 #endif
2373 }
2374 return pyobj;
2375 }
2376
2377
2378 static int _wrap_DialogNameStr_set(PyObject *_val) {
2379 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2380 return 1;
2381 }
2382
2383
2384 static PyObject *_wrap_DialogNameStr_get() {
2385 PyObject *pyobj;
2386
2387 {
2388 #if wxUSE_UNICODE
2389 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2390 #else
2391 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2392 #endif
2393 }
2394 return pyobj;
2395 }
2396
2397
2398 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2399 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2400 return 1;
2401 }
2402
2403
2404 static PyObject *_wrap_StatusLineNameStr_get() {
2405 PyObject *pyobj;
2406
2407 {
2408 #if wxUSE_UNICODE
2409 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2410 #else
2411 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2412 #endif
2413 }
2414 return pyobj;
2415 }
2416
2417
2418 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2419 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2420 return 1;
2421 }
2422
2423
2424 static PyObject *_wrap_ToolBarNameStr_get() {
2425 PyObject *pyobj;
2426
2427 {
2428 #if wxUSE_UNICODE
2429 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2430 #else
2431 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2432 #endif
2433 }
2434 return pyobj;
2435 }
2436
2437
2438 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2441 bool arg2 = (bool) True ;
2442 PyObject * obj0 = 0 ;
2443 PyObject * obj1 = 0 ;
2444 char *kwnames[] = {
2445 (char *) "self",(char *) "maximize", NULL
2446 };
2447
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2451 if (obj1) {
2452 arg2 = (bool) SWIG_AsBool(obj1);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 {
2456 PyThreadState* __tstate = wxPyBeginAllowThreads();
2457 (arg1)->Maximize(arg2);
2458
2459 wxPyEndAllowThreads(__tstate);
2460 if (PyErr_Occurred()) SWIG_fail;
2461 }
2462 Py_INCREF(Py_None); resultobj = Py_None;
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2472 PyObject * obj0 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "self", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 (arg1)->Restore();
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_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2497 bool arg2 = (bool) True ;
2498 PyObject * obj0 = 0 ;
2499 PyObject * obj1 = 0 ;
2500 char *kwnames[] = {
2501 (char *) "self",(char *) "iconize", NULL
2502 };
2503
2504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2507 if (obj1) {
2508 arg2 = (bool) SWIG_AsBool(obj1);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 {
2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
2513 (arg1)->Iconize(arg2);
2514
2515 wxPyEndAllowThreads(__tstate);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 Py_INCREF(Py_None); resultobj = Py_None;
2519 return resultobj;
2520 fail:
2521 return NULL;
2522 }
2523
2524
2525 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2526 PyObject *resultobj;
2527 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2528 bool result;
2529 PyObject * obj0 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self", NULL
2532 };
2533
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 {
2545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2546 }
2547 return resultobj;
2548 fail:
2549 return NULL;
2550 }
2551
2552
2553 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2554 PyObject *resultobj;
2555 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2556 bool result;
2557 PyObject * obj0 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "self", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 {
2573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2574 }
2575 return resultobj;
2576 fail:
2577 return NULL;
2578 }
2579
2580
2581 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2584 wxIcon result;
2585 PyObject * obj0 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "self", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 {
2601 wxIcon * resultptr;
2602 resultptr = new wxIcon((wxIcon &) result);
2603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2604 }
2605 return resultobj;
2606 fail:
2607 return NULL;
2608 }
2609
2610
2611 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject *resultobj;
2613 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2614 wxIcon *arg2 = 0 ;
2615 PyObject * obj0 = 0 ;
2616 PyObject * obj1 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "icon", NULL
2619 };
2620
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2625 SWIG_POINTER_EXCEPTION | 0)) == -1)
2626 SWIG_fail;
2627 if (arg2 == NULL) {
2628 PyErr_SetString(PyExc_TypeError,"null reference");
2629 SWIG_fail;
2630 }
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 (arg1)->SetIcon((wxIcon const &)*arg2);
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 Py_INCREF(Py_None); resultobj = Py_None;
2639 return resultobj;
2640 fail:
2641 return NULL;
2642 }
2643
2644
2645 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2646 PyObject *resultobj;
2647 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2648 wxIconBundle *arg2 = 0 ;
2649 PyObject * obj0 = 0 ;
2650 PyObject * obj1 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "self",(char *) "icons", NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2659 SWIG_POINTER_EXCEPTION | 0)) == -1)
2660 SWIG_fail;
2661 if (arg2 == NULL) {
2662 PyErr_SetString(PyExc_TypeError,"null reference");
2663 SWIG_fail;
2664 }
2665 {
2666 PyThreadState* __tstate = wxPyBeginAllowThreads();
2667 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2668
2669 wxPyEndAllowThreads(__tstate);
2670 if (PyErr_Occurred()) SWIG_fail;
2671 }
2672 Py_INCREF(Py_None); resultobj = Py_None;
2673 return resultobj;
2674 fail:
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2680 PyObject *resultobj;
2681 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2682 bool arg2 ;
2683 long arg3 = (long) wxFULLSCREEN_ALL ;
2684 bool result;
2685 PyObject * obj0 = 0 ;
2686 PyObject * obj1 = 0 ;
2687 PyObject * obj2 = 0 ;
2688 char *kwnames[] = {
2689 (char *) "self",(char *) "show",(char *) "style", NULL
2690 };
2691
2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2695 arg2 = (bool) SWIG_AsBool(obj1);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 if (obj2) {
2698 arg3 = (long) SWIG_AsLong(obj2);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 {
2709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2710 }
2711 return resultobj;
2712 fail:
2713 return NULL;
2714 }
2715
2716
2717 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2720 bool result;
2721 PyObject * obj0 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self", NULL
2724 };
2725
2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 {
2737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2738 }
2739 return resultobj;
2740 fail:
2741 return NULL;
2742 }
2743
2744
2745 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2746 PyObject *resultobj;
2747 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2748 wxString *arg2 = 0 ;
2749 bool temp2 = False ;
2750 PyObject * obj0 = 0 ;
2751 PyObject * obj1 = 0 ;
2752 char *kwnames[] = {
2753 (char *) "self",(char *) "title", NULL
2754 };
2755
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2759 {
2760 arg2 = wxString_in_helper(obj1);
2761 if (arg2 == NULL) SWIG_fail;
2762 temp2 = True;
2763 }
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 (arg1)->SetTitle((wxString const &)*arg2);
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 Py_INCREF(Py_None); resultobj = Py_None;
2772 {
2773 if (temp2)
2774 delete arg2;
2775 }
2776 return resultobj;
2777 fail:
2778 {
2779 if (temp2)
2780 delete arg2;
2781 }
2782 return NULL;
2783 }
2784
2785
2786 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject *resultobj;
2788 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2789 wxString result;
2790 PyObject * obj0 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 {
2806 #if wxUSE_UNICODE
2807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2808 #else
2809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2810 #endif
2811 }
2812 return resultobj;
2813 fail:
2814 return NULL;
2815 }
2816
2817
2818 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj;
2820 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2821 wxRegion *arg2 = 0 ;
2822 bool result;
2823 PyObject * obj0 = 0 ;
2824 PyObject * obj1 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self",(char *) "region", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2833 SWIG_POINTER_EXCEPTION | 0)) == -1)
2834 SWIG_fail;
2835 if (arg2 == NULL) {
2836 PyErr_SetString(PyExc_TypeError,"null reference");
2837 SWIG_fail;
2838 }
2839 {
2840 PyThreadState* __tstate = wxPyBeginAllowThreads();
2841 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2842
2843 wxPyEndAllowThreads(__tstate);
2844 if (PyErr_Occurred()) SWIG_fail;
2845 }
2846 {
2847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2848 }
2849 return resultobj;
2850 fail:
2851 return NULL;
2852 }
2853
2854
2855 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2856 PyObject *obj;
2857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2858 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2859 Py_INCREF(obj);
2860 return Py_BuildValue((char *)"");
2861 }
2862 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj;
2864 wxWindow *arg1 = (wxWindow *) 0 ;
2865 int arg2 ;
2866 wxString *arg3 = 0 ;
2867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2869 wxSize const &arg5_defvalue = wxDefaultSize ;
2870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2871 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2872 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2873 wxString *arg7 = (wxString *) &arg7_defvalue ;
2874 wxFrame *result;
2875 bool temp3 = False ;
2876 wxPoint temp4 ;
2877 wxSize temp5 ;
2878 bool temp7 = False ;
2879 PyObject * obj0 = 0 ;
2880 PyObject * obj1 = 0 ;
2881 PyObject * obj2 = 0 ;
2882 PyObject * obj3 = 0 ;
2883 PyObject * obj4 = 0 ;
2884 PyObject * obj5 = 0 ;
2885 PyObject * obj6 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2893 arg2 = (int const) SWIG_AsInt(obj1);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 {
2896 arg3 = wxString_in_helper(obj2);
2897 if (arg3 == NULL) SWIG_fail;
2898 temp3 = True;
2899 }
2900 if (obj3) {
2901 {
2902 arg4 = &temp4;
2903 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2904 }
2905 }
2906 if (obj4) {
2907 {
2908 arg5 = &temp5;
2909 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2910 }
2911 }
2912 if (obj5) {
2913 arg6 = (long) SWIG_AsLong(obj5);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 if (obj6) {
2917 {
2918 arg7 = wxString_in_helper(obj6);
2919 if (arg7 == NULL) SWIG_fail;
2920 temp7 = True;
2921 }
2922 }
2923 {
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
2925 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 {
2931 resultobj = wxPyMake_wxObject(result);
2932 }
2933 {
2934 if (temp3)
2935 delete arg3;
2936 }
2937 {
2938 if (temp7)
2939 delete arg7;
2940 }
2941 return resultobj;
2942 fail:
2943 {
2944 if (temp3)
2945 delete arg3;
2946 }
2947 {
2948 if (temp7)
2949 delete arg7;
2950 }
2951 return NULL;
2952 }
2953
2954
2955 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2956 PyObject *resultobj;
2957 wxFrame *result;
2958 char *kwnames[] = {
2959 NULL
2960 };
2961
2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 result = (wxFrame *)new wxFrame();
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 }
2970 {
2971 resultobj = wxPyMake_wxObject(result);
2972 }
2973 return resultobj;
2974 fail:
2975 return NULL;
2976 }
2977
2978
2979 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2980 PyObject *resultobj;
2981 wxFrame *arg1 = (wxFrame *) 0 ;
2982 wxWindow *arg2 = (wxWindow *) 0 ;
2983 int arg3 ;
2984 wxString *arg4 = 0 ;
2985 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2986 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2987 wxSize const &arg6_defvalue = wxDefaultSize ;
2988 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2989 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2990 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2991 wxString *arg8 = (wxString *) &arg8_defvalue ;
2992 bool result;
2993 bool temp4 = False ;
2994 wxPoint temp5 ;
2995 wxSize temp6 ;
2996 bool temp8 = False ;
2997 PyObject * obj0 = 0 ;
2998 PyObject * obj1 = 0 ;
2999 PyObject * obj2 = 0 ;
3000 PyObject * obj3 = 0 ;
3001 PyObject * obj4 = 0 ;
3002 PyObject * obj5 = 0 ;
3003 PyObject * obj6 = 0 ;
3004 PyObject * obj7 = 0 ;
3005 char *kwnames[] = {
3006 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3007 };
3008
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3014 arg3 = (int const) SWIG_AsInt(obj2);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 {
3017 arg4 = wxString_in_helper(obj3);
3018 if (arg4 == NULL) SWIG_fail;
3019 temp4 = True;
3020 }
3021 if (obj4) {
3022 {
3023 arg5 = &temp5;
3024 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3025 }
3026 }
3027 if (obj5) {
3028 {
3029 arg6 = &temp6;
3030 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3031 }
3032 }
3033 if (obj6) {
3034 arg7 = (long) SWIG_AsLong(obj6);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 if (obj7) {
3038 {
3039 arg8 = wxString_in_helper(obj7);
3040 if (arg8 == NULL) SWIG_fail;
3041 temp8 = True;
3042 }
3043 }
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 {
3052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3053 }
3054 {
3055 if (temp4)
3056 delete arg4;
3057 }
3058 {
3059 if (temp8)
3060 delete arg8;
3061 }
3062 return resultobj;
3063 fail:
3064 {
3065 if (temp4)
3066 delete arg4;
3067 }
3068 {
3069 if (temp8)
3070 delete arg8;
3071 }
3072 return NULL;
3073 }
3074
3075
3076 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3077 PyObject *resultobj;
3078 wxFrame *arg1 = (wxFrame *) 0 ;
3079 wxPoint result;
3080 PyObject * obj0 = 0 ;
3081 char *kwnames[] = {
3082 (char *) "self", NULL
3083 };
3084
3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3088 {
3089 PyThreadState* __tstate = wxPyBeginAllowThreads();
3090 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3091
3092 wxPyEndAllowThreads(__tstate);
3093 if (PyErr_Occurred()) SWIG_fail;
3094 }
3095 {
3096 wxPoint * resultptr;
3097 resultptr = new wxPoint((wxPoint &) result);
3098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3099 }
3100 return resultobj;
3101 fail:
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3107 PyObject *resultobj;
3108 wxFrame *arg1 = (wxFrame *) 0 ;
3109 PyObject * obj0 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 (arg1)->SendSizeEvent();
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 Py_INCREF(Py_None); resultobj = Py_None;
3125 return resultobj;
3126 fail:
3127 return NULL;
3128 }
3129
3130
3131 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj;
3133 wxFrame *arg1 = (wxFrame *) 0 ;
3134 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3135 PyObject * obj0 = 0 ;
3136 PyObject * obj1 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self",(char *) "menubar", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3146 {
3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
3148 (arg1)->SetMenuBar(arg2);
3149
3150 wxPyEndAllowThreads(__tstate);
3151 if (PyErr_Occurred()) SWIG_fail;
3152 }
3153 Py_INCREF(Py_None); resultobj = Py_None;
3154 return resultobj;
3155 fail:
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj;
3162 wxFrame *arg1 = (wxFrame *) 0 ;
3163 wxMenuBar *result;
3164 PyObject * obj0 = 0 ;
3165 char *kwnames[] = {
3166 (char *) "self", NULL
3167 };
3168
3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 {
3180 resultobj = wxPyMake_wxObject(result);
3181 }
3182 return resultobj;
3183 fail:
3184 return NULL;
3185 }
3186
3187
3188 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3189 PyObject *resultobj;
3190 wxFrame *arg1 = (wxFrame *) 0 ;
3191 int arg2 ;
3192 bool result;
3193 PyObject * obj0 = 0 ;
3194 PyObject * obj1 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "winid", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3202 arg2 = (int) SWIG_AsInt(obj1);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 result = (bool)(arg1)->ProcessCommand(arg2);
3207
3208 wxPyEndAllowThreads(__tstate);
3209 if (PyErr_Occurred()) SWIG_fail;
3210 }
3211 {
3212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3213 }
3214 return resultobj;
3215 fail:
3216 return NULL;
3217 }
3218
3219
3220 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj;
3222 wxFrame *arg1 = (wxFrame *) 0 ;
3223 int arg2 = (int) 1 ;
3224 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3225 int arg4 = (int) 0 ;
3226 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3227 wxString *arg5 = (wxString *) &arg5_defvalue ;
3228 wxStatusBar *result;
3229 bool temp5 = False ;
3230 PyObject * obj0 = 0 ;
3231 PyObject * obj1 = 0 ;
3232 PyObject * obj2 = 0 ;
3233 PyObject * obj3 = 0 ;
3234 PyObject * obj4 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3242 if (obj1) {
3243 arg2 = (int) SWIG_AsInt(obj1);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 if (obj2) {
3247 arg3 = (long) SWIG_AsLong(obj2);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 if (obj3) {
3251 arg4 = (int) SWIG_AsInt(obj3);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 if (obj4) {
3255 {
3256 arg5 = wxString_in_helper(obj4);
3257 if (arg5 == NULL) SWIG_fail;
3258 temp5 = True;
3259 }
3260 }
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 {
3269 resultobj = wxPyMake_wxObject(result);
3270 }
3271 {
3272 if (temp5)
3273 delete arg5;
3274 }
3275 return resultobj;
3276 fail:
3277 {
3278 if (temp5)
3279 delete arg5;
3280 }
3281 return NULL;
3282 }
3283
3284
3285 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3286 PyObject *resultobj;
3287 wxFrame *arg1 = (wxFrame *) 0 ;
3288 wxStatusBar *result;
3289 PyObject * obj0 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 {
3305 resultobj = wxPyMake_wxObject(result);
3306 }
3307 return resultobj;
3308 fail:
3309 return NULL;
3310 }
3311
3312
3313 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxFrame *arg1 = (wxFrame *) 0 ;
3316 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3317 PyObject * obj0 = 0 ;
3318 PyObject * obj1 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self",(char *) "statBar", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3328 {
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 (arg1)->SetStatusBar(arg2);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 Py_INCREF(Py_None); resultobj = Py_None;
3336 return resultobj;
3337 fail:
3338 return NULL;
3339 }
3340
3341
3342 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3343 PyObject *resultobj;
3344 wxFrame *arg1 = (wxFrame *) 0 ;
3345 wxString *arg2 = 0 ;
3346 int arg3 = (int) 0 ;
3347 bool temp2 = False ;
3348 PyObject * obj0 = 0 ;
3349 PyObject * obj1 = 0 ;
3350 PyObject * obj2 = 0 ;
3351 char *kwnames[] = {
3352 (char *) "self",(char *) "text",(char *) "number", NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3358 {
3359 arg2 = wxString_in_helper(obj1);
3360 if (arg2 == NULL) SWIG_fail;
3361 temp2 = True;
3362 }
3363 if (obj2) {
3364 arg3 = (int) SWIG_AsInt(obj2);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 {
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 Py_INCREF(Py_None); resultobj = Py_None;
3375 {
3376 if (temp2)
3377 delete arg2;
3378 }
3379 return resultobj;
3380 fail:
3381 {
3382 if (temp2)
3383 delete arg2;
3384 }
3385 return NULL;
3386 }
3387
3388
3389 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3390 PyObject *resultobj;
3391 wxFrame *arg1 = (wxFrame *) 0 ;
3392 int arg2 ;
3393 int *arg3 = (int *) 0 ;
3394 PyObject * obj0 = 0 ;
3395 PyObject * obj1 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "self",(char *) "widths", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3403 {
3404 arg2 = PyList_Size(obj1);
3405 arg3 = int_LIST_helper(obj1);
3406 if (arg3 == NULL) SWIG_fail;
3407 }
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 Py_INCREF(Py_None); resultobj = Py_None;
3416 {
3417 if (arg3) delete [] arg3;
3418 }
3419 return resultobj;
3420 fail:
3421 {
3422 if (arg3) delete [] arg3;
3423 }
3424 return NULL;
3425 }
3426
3427
3428 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 wxFrame *arg1 = (wxFrame *) 0 ;
3431 wxString *arg2 = 0 ;
3432 int arg3 = (int) 0 ;
3433 bool temp2 = False ;
3434 PyObject * obj0 = 0 ;
3435 PyObject * obj1 = 0 ;
3436 PyObject * obj2 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self",(char *) "text",(char *) "number", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3444 {
3445 arg2 = wxString_in_helper(obj1);
3446 if (arg2 == NULL) SWIG_fail;
3447 temp2 = True;
3448 }
3449 if (obj2) {
3450 arg3 = (int) SWIG_AsInt(obj2);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 {
3454 PyThreadState* __tstate = wxPyBeginAllowThreads();
3455 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3456
3457 wxPyEndAllowThreads(__tstate);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 Py_INCREF(Py_None); resultobj = Py_None;
3461 {
3462 if (temp2)
3463 delete arg2;
3464 }
3465 return resultobj;
3466 fail:
3467 {
3468 if (temp2)
3469 delete arg2;
3470 }
3471 return NULL;
3472 }
3473
3474
3475 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxFrame *arg1 = (wxFrame *) 0 ;
3478 int arg2 = (int) 0 ;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "number", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3488 if (obj1) {
3489 arg2 = (int) SWIG_AsInt(obj1);
3490 if (PyErr_Occurred()) SWIG_fail;
3491 }
3492 {
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 (arg1)->PopStatusText(arg2);
3495
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 Py_INCREF(Py_None); resultobj = Py_None;
3500 return resultobj;
3501 fail:
3502 return NULL;
3503 }
3504
3505
3506 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj;
3508 wxFrame *arg1 = (wxFrame *) 0 ;
3509 int arg2 ;
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 char *kwnames[] = {
3513 (char *) "self",(char *) "n", NULL
3514 };
3515
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3519 arg2 = (int) SWIG_AsInt(obj1);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 (arg1)->SetStatusBarPane(arg2);
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 Py_INCREF(Py_None); resultobj = Py_None;
3529 return resultobj;
3530 fail:
3531 return NULL;
3532 }
3533
3534
3535 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3536 PyObject *resultobj;
3537 wxFrame *arg1 = (wxFrame *) 0 ;
3538 int result;
3539 PyObject * obj0 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 resultobj = SWIG_FromInt((int)result);
3555 return resultobj;
3556 fail:
3557 return NULL;
3558 }
3559
3560
3561 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 wxFrame *arg1 = (wxFrame *) 0 ;
3564 long arg2 = (long) -1 ;
3565 int arg3 = (int) -1 ;
3566 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3567 wxString *arg4 = (wxString *) &arg4_defvalue ;
3568 wxToolBar *result;
3569 bool temp4 = False ;
3570 PyObject * obj0 = 0 ;
3571 PyObject * obj1 = 0 ;
3572 PyObject * obj2 = 0 ;
3573 PyObject * obj3 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3581 if (obj1) {
3582 arg2 = (long) SWIG_AsLong(obj1);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 if (obj2) {
3586 arg3 = (int) SWIG_AsInt(obj2);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 if (obj3) {
3590 {
3591 arg4 = wxString_in_helper(obj3);
3592 if (arg4 == NULL) SWIG_fail;
3593 temp4 = True;
3594 }
3595 }
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 {
3604 resultobj = wxPyMake_wxObject(result);
3605 }
3606 {
3607 if (temp4)
3608 delete arg4;
3609 }
3610 return resultobj;
3611 fail:
3612 {
3613 if (temp4)
3614 delete arg4;
3615 }
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 wxFrame *arg1 = (wxFrame *) 0 ;
3623 wxToolBar *result;
3624 PyObject * obj0 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 resultobj = wxPyMake_wxObject(result);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxFrame *arg1 = (wxFrame *) 0 ;
3651 wxToolBar *arg2 = (wxToolBar *) 0 ;
3652 PyObject * obj0 = 0 ;
3653 PyObject * obj1 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "toolbar", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 (arg1)->SetToolBar(arg2);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 return resultobj;
3672 fail:
3673 return NULL;
3674 }
3675
3676
3677 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxFrame *arg1 = (wxFrame *) 0 ;
3680 wxString *arg2 = 0 ;
3681 bool arg3 ;
3682 bool temp2 = False ;
3683 PyObject * obj0 = 0 ;
3684 PyObject * obj1 = 0 ;
3685 PyObject * obj2 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "text",(char *) "show", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3693 {
3694 arg2 = wxString_in_helper(obj1);
3695 if (arg2 == NULL) SWIG_fail;
3696 temp2 = True;
3697 }
3698 arg3 = (bool) SWIG_AsBool(obj2);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 Py_INCREF(Py_None); resultobj = Py_None;
3708 {
3709 if (temp2)
3710 delete arg2;
3711 }
3712 return resultobj;
3713 fail:
3714 {
3715 if (temp2)
3716 delete arg2;
3717 }
3718 return NULL;
3719 }
3720
3721
3722 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3723 PyObject *resultobj;
3724 wxFrame *arg1 = (wxFrame *) 0 ;
3725 wxMenu *arg2 = (wxMenu *) NULL ;
3726 PyObject * obj0 = 0 ;
3727 PyObject * obj1 = 0 ;
3728 char *kwnames[] = {
3729 (char *) "self",(char *) "menu", NULL
3730 };
3731
3732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3735 if (obj1) {
3736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3738 }
3739 {
3740 PyThreadState* __tstate = wxPyBeginAllowThreads();
3741 (arg1)->DoMenuUpdates(arg2);
3742
3743 wxPyEndAllowThreads(__tstate);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 Py_INCREF(Py_None); resultobj = Py_None;
3747 return resultobj;
3748 fail:
3749 return NULL;
3750 }
3751
3752
3753 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3754 PyObject *obj;
3755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3756 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3757 Py_INCREF(obj);
3758 return Py_BuildValue((char *)"");
3759 }
3760 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3761 PyObject *resultobj;
3762 wxWindow *arg1 = (wxWindow *) 0 ;
3763 int arg2 ;
3764 wxString *arg3 = 0 ;
3765 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3766 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3767 wxSize const &arg5_defvalue = wxDefaultSize ;
3768 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3769 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3770 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3771 wxString *arg7 = (wxString *) &arg7_defvalue ;
3772 wxDialog *result;
3773 bool temp3 = False ;
3774 wxPoint temp4 ;
3775 wxSize temp5 ;
3776 bool temp7 = False ;
3777 PyObject * obj0 = 0 ;
3778 PyObject * obj1 = 0 ;
3779 PyObject * obj2 = 0 ;
3780 PyObject * obj3 = 0 ;
3781 PyObject * obj4 = 0 ;
3782 PyObject * obj5 = 0 ;
3783 PyObject * obj6 = 0 ;
3784 char *kwnames[] = {
3785 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3786 };
3787
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3791 arg2 = (int const) SWIG_AsInt(obj1);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 {
3794 arg3 = wxString_in_helper(obj2);
3795 if (arg3 == NULL) SWIG_fail;
3796 temp3 = True;
3797 }
3798 if (obj3) {
3799 {
3800 arg4 = &temp4;
3801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3802 }
3803 }
3804 if (obj4) {
3805 {
3806 arg5 = &temp5;
3807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3808 }
3809 }
3810 if (obj5) {
3811 arg6 = (long) SWIG_AsLong(obj5);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 if (obj6) {
3815 {
3816 arg7 = wxString_in_helper(obj6);
3817 if (arg7 == NULL) SWIG_fail;
3818 temp7 = True;
3819 }
3820 }
3821 {
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3824
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3829 {
3830 if (temp3)
3831 delete arg3;
3832 }
3833 {
3834 if (temp7)
3835 delete arg7;
3836 }
3837 return resultobj;
3838 fail:
3839 {
3840 if (temp3)
3841 delete arg3;
3842 }
3843 {
3844 if (temp7)
3845 delete arg7;
3846 }
3847 return NULL;
3848 }
3849
3850
3851 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj;
3853 wxDialog *result;
3854 char *kwnames[] = {
3855 NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 result = (wxDialog *)new wxDialog();
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3867 return resultobj;
3868 fail:
3869 return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxDialog *arg1 = (wxDialog *) 0 ;
3876 wxWindow *arg2 = (wxWindow *) 0 ;
3877 int arg3 ;
3878 wxString *arg4 = 0 ;
3879 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3880 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3881 wxSize const &arg6_defvalue = wxDefaultSize ;
3882 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3883 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3884 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3885 wxString *arg8 = (wxString *) &arg8_defvalue ;
3886 bool result;
3887 bool temp4 = False ;
3888 wxPoint temp5 ;
3889 wxSize temp6 ;
3890 bool temp8 = False ;
3891 PyObject * obj0 = 0 ;
3892 PyObject * obj1 = 0 ;
3893 PyObject * obj2 = 0 ;
3894 PyObject * obj3 = 0 ;
3895 PyObject * obj4 = 0 ;
3896 PyObject * obj5 = 0 ;
3897 PyObject * obj6 = 0 ;
3898 PyObject * obj7 = 0 ;
3899 char *kwnames[] = {
3900 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3901 };
3902
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3908 arg3 = (int const) SWIG_AsInt(obj2);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 {
3911 arg4 = wxString_in_helper(obj3);
3912 if (arg4 == NULL) SWIG_fail;
3913 temp4 = True;
3914 }
3915 if (obj4) {
3916 {
3917 arg5 = &temp5;
3918 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3919 }
3920 }
3921 if (obj5) {
3922 {
3923 arg6 = &temp6;
3924 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3925 }
3926 }
3927 if (obj6) {
3928 arg7 = (long) SWIG_AsLong(obj6);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 if (obj7) {
3932 {
3933 arg8 = wxString_in_helper(obj7);
3934 if (arg8 == NULL) SWIG_fail;
3935 temp8 = True;
3936 }
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3941
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 {
3946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3947 }
3948 {
3949 if (temp4)
3950 delete arg4;
3951 }
3952 {
3953 if (temp8)
3954 delete arg8;
3955 }
3956 return resultobj;
3957 fail:
3958 {
3959 if (temp4)
3960 delete arg4;
3961 }
3962 {
3963 if (temp8)
3964 delete arg8;
3965 }
3966 return NULL;
3967 }
3968
3969
3970 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3971 PyObject *resultobj;
3972 wxDialog *arg1 = (wxDialog *) 0 ;
3973 int arg2 ;
3974 PyObject * obj0 = 0 ;
3975 PyObject * obj1 = 0 ;
3976 char *kwnames[] = {
3977 (char *) "self",(char *) "returnCode", NULL
3978 };
3979
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
3981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3983 arg2 = (int) SWIG_AsInt(obj1);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 (arg1)->SetReturnCode(arg2);
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 Py_INCREF(Py_None); resultobj = Py_None;
3993 return resultobj;
3994 fail:
3995 return NULL;
3996 }
3997
3998
3999 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxDialog *arg1 = (wxDialog *) 0 ;
4002 int result;
4003 PyObject * obj0 = 0 ;
4004 char *kwnames[] = {
4005 (char *) "self", NULL
4006 };
4007
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = SWIG_FromInt((int)result);
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxDialog *arg1 = (wxDialog *) 0 ;
4028 wxString *arg2 = 0 ;
4029 wxSizer *result;
4030 bool temp2 = False ;
4031 PyObject * obj0 = 0 ;
4032 PyObject * obj1 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self",(char *) "message", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4040 {
4041 arg2 = wxString_in_helper(obj1);
4042 if (arg2 == NULL) SWIG_fail;
4043 temp2 = True;
4044 }
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4048
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 }
4052 {
4053 resultobj = wxPyMake_wxSizer(result);
4054 }
4055 {
4056 if (temp2)
4057 delete arg2;
4058 }
4059 return resultobj;
4060 fail:
4061 {
4062 if (temp2)
4063 delete arg2;
4064 }
4065 return NULL;
4066 }
4067
4068
4069 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4070 PyObject *resultobj;
4071 wxDialog *arg1 = (wxDialog *) 0 ;
4072 long arg2 ;
4073 wxSizer *result;
4074 PyObject * obj0 = 0 ;
4075 PyObject * obj1 = 0 ;
4076 char *kwnames[] = {
4077 (char *) "self",(char *) "flags", NULL
4078 };
4079
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4083 arg2 = (long) SWIG_AsLong(obj1);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 {
4093 resultobj = wxPyMake_wxSizer(result);
4094 }
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxDialog *arg1 = (wxDialog *) 0 ;
4104 bool result;
4105 PyObject * obj0 = 0 ;
4106 char *kwnames[] = {
4107 (char *) "self", NULL
4108 };
4109
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 result = (bool)((wxDialog const *)arg1)->IsModal();
4116
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 {
4121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4122 }
4123 return resultobj;
4124 fail:
4125 return NULL;
4126 }
4127
4128
4129 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject *resultobj;
4131 wxDialog *arg1 = (wxDialog *) 0 ;
4132 int result;
4133 PyObject * obj0 = 0 ;
4134 char *kwnames[] = {
4135 (char *) "self", NULL
4136 };
4137
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (int)(arg1)->ShowModal();
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 resultobj = SWIG_FromInt((int)result);
4149 return resultobj;
4150 fail:
4151 return NULL;
4152 }
4153
4154
4155 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj;
4157 wxDialog *arg1 = (wxDialog *) 0 ;
4158 int arg2 ;
4159 PyObject * obj0 = 0 ;
4160 PyObject * obj1 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "self",(char *) "retCode", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4168 arg2 = (int) SWIG_AsInt(obj1);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 (arg1)->EndModal(arg2);
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 Py_INCREF(Py_None); resultobj = Py_None;
4178 return resultobj;
4179 fail:
4180 return NULL;
4181 }
4182
4183
4184 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxDialog *arg1 = (wxDialog *) 0 ;
4187 bool result;
4188 PyObject * obj0 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4196 {
4197 PyThreadState* __tstate = wxPyBeginAllowThreads();
4198 result = (bool)wxDialog_IsModalShowing(arg1);
4199
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 {
4204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4205 }
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4213 PyObject *obj;
4214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4215 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4216 Py_INCREF(obj);
4217 return Py_BuildValue((char *)"");
4218 }
4219 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4220 PyObject *resultobj;
4221 wxWindow *arg1 = (wxWindow *) 0 ;
4222 int arg2 ;
4223 wxString *arg3 = 0 ;
4224 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4225 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4226 wxSize const &arg5_defvalue = wxDefaultSize ;
4227 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4228 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4229 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4230 wxString *arg7 = (wxString *) &arg7_defvalue ;
4231 wxMiniFrame *result;
4232 bool temp3 = False ;
4233 wxPoint temp4 ;
4234 wxSize temp5 ;
4235 bool temp7 = False ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 PyObject * obj2 = 0 ;
4239 PyObject * obj3 = 0 ;
4240 PyObject * obj4 = 0 ;
4241 PyObject * obj5 = 0 ;
4242 PyObject * obj6 = 0 ;
4243 char *kwnames[] = {
4244 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4245 };
4246
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4250 arg2 = (int const) SWIG_AsInt(obj1);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 {
4253 arg3 = wxString_in_helper(obj2);
4254 if (arg3 == NULL) SWIG_fail;
4255 temp3 = True;
4256 }
4257 if (obj3) {
4258 {
4259 arg4 = &temp4;
4260 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4261 }
4262 }
4263 if (obj4) {
4264 {
4265 arg5 = &temp5;
4266 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4267 }
4268 }
4269 if (obj5) {
4270 arg6 = (long) SWIG_AsLong(obj5);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 if (obj6) {
4274 {
4275 arg7 = wxString_in_helper(obj6);
4276 if (arg7 == NULL) SWIG_fail;
4277 temp7 = True;
4278 }
4279 }
4280 {
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4288 {
4289 if (temp3)
4290 delete arg3;
4291 }
4292 {
4293 if (temp7)
4294 delete arg7;
4295 }
4296 return resultobj;
4297 fail:
4298 {
4299 if (temp3)
4300 delete arg3;
4301 }
4302 {
4303 if (temp7)
4304 delete arg7;
4305 }
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxMiniFrame *result;
4313 char *kwnames[] = {
4314 NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4318 {
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 result = (wxMiniFrame *)new wxMiniFrame();
4321
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4326 return resultobj;
4327 fail:
4328 return NULL;
4329 }
4330
4331
4332 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4333 PyObject *resultobj;
4334 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4335 wxWindow *arg2 = (wxWindow *) 0 ;
4336 int arg3 ;
4337 wxString *arg4 = 0 ;
4338 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4339 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4340 wxSize const &arg6_defvalue = wxDefaultSize ;
4341 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4342 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4343 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4344 wxString *arg8 = (wxString *) &arg8_defvalue ;
4345 bool result;
4346 bool temp4 = False ;
4347 wxPoint temp5 ;
4348 wxSize temp6 ;
4349 bool temp8 = False ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 PyObject * obj2 = 0 ;
4353 PyObject * obj3 = 0 ;
4354 PyObject * obj4 = 0 ;
4355 PyObject * obj5 = 0 ;
4356 PyObject * obj6 = 0 ;
4357 PyObject * obj7 = 0 ;
4358 char *kwnames[] = {
4359 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4360 };
4361
4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4367 arg3 = (int const) SWIG_AsInt(obj2);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 {
4370 arg4 = wxString_in_helper(obj3);
4371 if (arg4 == NULL) SWIG_fail;
4372 temp4 = True;
4373 }
4374 if (obj4) {
4375 {
4376 arg5 = &temp5;
4377 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4378 }
4379 }
4380 if (obj5) {
4381 {
4382 arg6 = &temp6;
4383 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4384 }
4385 }
4386 if (obj6) {
4387 arg7 = (long) SWIG_AsLong(obj6);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 if (obj7) {
4391 {
4392 arg8 = wxString_in_helper(obj7);
4393 if (arg8 == NULL) SWIG_fail;
4394 temp8 = True;
4395 }
4396 }
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 {
4405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4406 }
4407 {
4408 if (temp4)
4409 delete arg4;
4410 }
4411 {
4412 if (temp8)
4413 delete arg8;
4414 }
4415 return resultobj;
4416 fail:
4417 {
4418 if (temp4)
4419 delete arg4;
4420 }
4421 {
4422 if (temp8)
4423 delete arg8;
4424 }
4425 return NULL;
4426 }
4427
4428
4429 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4430 PyObject *obj;
4431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4432 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4433 Py_INCREF(obj);
4434 return Py_BuildValue((char *)"");
4435 }
4436 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4437 PyObject *resultobj;
4438 wxBitmap *arg1 = 0 ;
4439 wxWindow *arg2 = (wxWindow *) 0 ;
4440 int arg3 ;
4441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4443 wxSize const &arg5_defvalue = wxDefaultSize ;
4444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4445 long arg6 = (long) wxNO_BORDER ;
4446 wxSplashScreenWindow *result;
4447 wxPoint temp4 ;
4448 wxSize temp5 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451 PyObject * obj2 = 0 ;
4452 PyObject * obj3 = 0 ;
4453 PyObject * obj4 = 0 ;
4454 PyObject * obj5 = 0 ;
4455 char *kwnames[] = {
4456 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4457 };
4458
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4461 SWIG_POINTER_EXCEPTION | 0)) == -1)
4462 SWIG_fail;
4463 if (arg1 == NULL) {
4464 PyErr_SetString(PyExc_TypeError,"null reference");
4465 SWIG_fail;
4466 }
4467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4469 arg3 = (int) SWIG_AsInt(obj2);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 if (obj3) {
4472 {
4473 arg4 = &temp4;
4474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4475 }
4476 }
4477 if (obj4) {
4478 {
4479 arg5 = &temp5;
4480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4481 }
4482 }
4483 if (obj5) {
4484 arg6 = (long) SWIG_AsLong(obj5);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4495 return resultobj;
4496 fail:
4497 return NULL;
4498 }
4499
4500
4501 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4504 wxBitmap *arg2 = 0 ;
4505 PyObject * obj0 = 0 ;
4506 PyObject * obj1 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self",(char *) "bitmap", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4515 SWIG_POINTER_EXCEPTION | 0)) == -1)
4516 SWIG_fail;
4517 if (arg2 == NULL) {
4518 PyErr_SetString(PyExc_TypeError,"null reference");
4519 SWIG_fail;
4520 }
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 Py_INCREF(Py_None); resultobj = Py_None;
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4536 PyObject *resultobj;
4537 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4538 wxBitmap *result;
4539 PyObject * obj0 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 {
4550 wxBitmap &_result_ref = (arg1)->GetBitmap();
4551 result = (wxBitmap *) &_result_ref;
4552 }
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 {
4558 wxBitmap* resultptr = new wxBitmap(*result);
4559 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4560 }
4561 return resultobj;
4562 fail:
4563 return NULL;
4564 }
4565
4566
4567 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4568 PyObject *obj;
4569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4570 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4571 Py_INCREF(obj);
4572 return Py_BuildValue((char *)"");
4573 }
4574 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj;
4576 wxBitmap *arg1 = 0 ;
4577 long arg2 ;
4578 int arg3 ;
4579 wxWindow *arg4 = (wxWindow *) 0 ;
4580 int arg5 ;
4581 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4582 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4583 wxSize const &arg7_defvalue = wxDefaultSize ;
4584 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4585 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4586 wxSplashScreen *result;
4587 wxPoint temp6 ;
4588 wxSize temp7 ;
4589 PyObject * obj0 = 0 ;
4590 PyObject * obj1 = 0 ;
4591 PyObject * obj2 = 0 ;
4592 PyObject * obj3 = 0 ;
4593 PyObject * obj4 = 0 ;
4594 PyObject * obj5 = 0 ;
4595 PyObject * obj6 = 0 ;
4596 PyObject * obj7 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1)
4604 SWIG_fail;
4605 if (arg1 == NULL) {
4606 PyErr_SetString(PyExc_TypeError,"null reference");
4607 SWIG_fail;
4608 }
4609 arg2 = (long) SWIG_AsLong(obj1);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 arg3 = (int) SWIG_AsInt(obj2);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4615 arg5 = (int) SWIG_AsInt(obj4);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 if (obj5) {
4618 {
4619 arg6 = &temp6;
4620 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4621 }
4622 }
4623 if (obj6) {
4624 {
4625 arg7 = &temp7;
4626 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4627 }
4628 }
4629 if (obj7) {
4630 arg8 = (long) SWIG_AsLong(obj7);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4641 return resultobj;
4642 fail:
4643 return NULL;
4644 }
4645
4646
4647 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4648 PyObject *resultobj;
4649 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4650 long result;
4651 PyObject * obj0 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4659 {
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 resultobj = SWIG_FromLong((long)result);
4667 return resultobj;
4668 fail:
4669 return NULL;
4670 }
4671
4672
4673 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4676 wxSplashScreenWindow *result;
4677 PyObject * obj0 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4693 return resultobj;
4694 fail:
4695 return NULL;
4696 }
4697
4698
4699 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4702 int result;
4703 PyObject * obj0 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "self", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 resultobj = SWIG_FromInt((int)result);
4719 return resultobj;
4720 fail:
4721 return NULL;
4722 }
4723
4724
4725 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4726 PyObject *obj;
4727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4728 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4729 Py_INCREF(obj);
4730 return Py_BuildValue((char *)"");
4731 }
4732 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxWindow *arg1 = (wxWindow *) 0 ;
4735 int arg2 = (int) -1 ;
4736 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
4737 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4738 wxString *arg4 = (wxString *) &arg4_defvalue ;
4739 wxStatusBar *result;
4740 bool temp4 = False ;
4741 PyObject * obj0 = 0 ;
4742 PyObject * obj1 = 0 ;
4743 PyObject * obj2 = 0 ;
4744 PyObject * obj3 = 0 ;
4745 char *kwnames[] = {
4746 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4747 };
4748
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4752 if (obj1) {
4753 arg2 = (int) SWIG_AsInt(obj1);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 if (obj2) {
4757 arg3 = (long) SWIG_AsLong(obj2);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 if (obj3) {
4761 {
4762 arg4 = wxString_in_helper(obj3);
4763 if (arg4 == NULL) SWIG_fail;
4764 temp4 = True;
4765 }
4766 }
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 {
4775 resultobj = wxPyMake_wxObject(result);
4776 }
4777 {
4778 if (temp4)
4779 delete arg4;
4780 }
4781 return resultobj;
4782 fail:
4783 {
4784 if (temp4)
4785 delete arg4;
4786 }
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxStatusBar *result;
4794 char *kwnames[] = {
4795 NULL
4796 };
4797
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 result = (wxStatusBar *)new wxStatusBar();
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 {
4807 resultobj = wxPyMake_wxObject(result);
4808 }
4809 return resultobj;
4810 fail:
4811 return NULL;
4812 }
4813
4814
4815 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4816 PyObject *resultobj;
4817 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4818 wxWindow *arg2 = (wxWindow *) 0 ;
4819 int arg3 ;
4820 long arg4 = (long) wxST_SIZEGRIP ;
4821 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4822 wxString *arg5 = (wxString *) &arg5_defvalue ;
4823 bool result;
4824 bool temp5 = False ;
4825 PyObject * obj0 = 0 ;
4826 PyObject * obj1 = 0 ;
4827 PyObject * obj2 = 0 ;
4828 PyObject * obj3 = 0 ;
4829 PyObject * obj4 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4839 arg3 = (int) SWIG_AsInt(obj2);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 if (obj3) {
4842 arg4 = (long) SWIG_AsLong(obj3);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 if (obj4) {
4846 {
4847 arg5 = wxString_in_helper(obj4);
4848 if (arg5 == NULL) SWIG_fail;
4849 temp5 = True;
4850 }
4851 }
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 {
4860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4861 }
4862 {
4863 if (temp5)
4864 delete arg5;
4865 }
4866 return resultobj;
4867 fail:
4868 {
4869 if (temp5)
4870 delete arg5;
4871 }
4872 return NULL;
4873 }
4874
4875
4876 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4877 PyObject *resultobj;
4878 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4879 int arg2 = (int) 1 ;
4880 PyObject * obj0 = 0 ;
4881 PyObject * obj1 = 0 ;
4882 char *kwnames[] = {
4883 (char *) "self",(char *) "number", NULL
4884 };
4885
4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4889 if (obj1) {
4890 arg2 = (int) SWIG_AsInt(obj1);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 {
4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
4895 (arg1)->SetFieldsCount(arg2);
4896
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 Py_INCREF(Py_None); resultobj = Py_None;
4901 return resultobj;
4902 fail:
4903 return NULL;
4904 }
4905
4906
4907 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject *resultobj;
4909 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4910 int result;
4911 PyObject * obj0 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 resultobj = SWIG_FromInt((int)result);
4927 return resultobj;
4928 fail:
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4936 wxString *arg2 = 0 ;
4937 int arg3 = (int) 0 ;
4938 bool temp2 = False ;
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
4941 PyObject * obj2 = 0 ;
4942 char *kwnames[] = {
4943 (char *) "self",(char *) "text",(char *) "number", NULL
4944 };
4945
4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4949 {
4950 arg2 = wxString_in_helper(obj1);
4951 if (arg2 == NULL) SWIG_fail;
4952 temp2 = True;
4953 }
4954 if (obj2) {
4955 arg3 = (int) SWIG_AsInt(obj2);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4961
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 Py_INCREF(Py_None); resultobj = Py_None;
4966 {
4967 if (temp2)
4968 delete arg2;
4969 }
4970 return resultobj;
4971 fail:
4972 {
4973 if (temp2)
4974 delete arg2;
4975 }
4976 return NULL;
4977 }
4978
4979
4980 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject *resultobj;
4982 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4983 int arg2 = (int) 0 ;
4984 wxString result;
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj1 = 0 ;
4987 char *kwnames[] = {
4988 (char *) "self",(char *) "number", NULL
4989 };
4990
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
4992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4994 if (obj1) {
4995 arg2 = (int) SWIG_AsInt(obj1);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 {
5006 #if wxUSE_UNICODE
5007 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5008 #else
5009 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5010 #endif
5011 }
5012 return resultobj;
5013 fail:
5014 return NULL;
5015 }
5016
5017
5018 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5021 wxString *arg2 = 0 ;
5022 int arg3 = (int) 0 ;
5023 bool temp2 = False ;
5024 PyObject * obj0 = 0 ;
5025 PyObject * obj1 = 0 ;
5026 PyObject * obj2 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self",(char *) "text",(char *) "number", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5034 {
5035 arg2 = wxString_in_helper(obj1);
5036 if (arg2 == NULL) SWIG_fail;
5037 temp2 = True;
5038 }
5039 if (obj2) {
5040 arg3 = (int) SWIG_AsInt(obj2);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 Py_INCREF(Py_None); resultobj = Py_None;
5051 {
5052 if (temp2)
5053 delete arg2;
5054 }
5055 return resultobj;
5056 fail:
5057 {
5058 if (temp2)
5059 delete arg2;
5060 }
5061 return NULL;
5062 }
5063
5064
5065 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5066 PyObject *resultobj;
5067 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5068 int arg2 = (int) 0 ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "self",(char *) "number", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5078 if (obj1) {
5079 arg2 = (int) SWIG_AsInt(obj1);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 (arg1)->PopStatusText(arg2);
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 Py_INCREF(Py_None); resultobj = Py_None;
5090 return resultobj;
5091 fail:
5092 return NULL;
5093 }
5094
5095
5096 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj;
5098 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5099 int arg2 ;
5100 int *arg3 = (int *) 0 ;
5101 PyObject * obj0 = 0 ;
5102 PyObject * obj1 = 0 ;
5103 char *kwnames[] = {
5104 (char *) "self",(char *) "widths", NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5110 {
5111 arg2 = PyList_Size(obj1);
5112 arg3 = int_LIST_helper(obj1);
5113 if (arg3 == NULL) SWIG_fail;
5114 }
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 Py_INCREF(Py_None); resultobj = Py_None;
5123 {
5124 if (arg3) delete [] arg3;
5125 }
5126 return resultobj;
5127 fail:
5128 {
5129 if (arg3) delete [] arg3;
5130 }
5131 return NULL;
5132 }
5133
5134
5135 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5138 int arg2 ;
5139 wxRect result;
5140 PyObject * obj0 = 0 ;
5141 PyObject * obj1 = 0 ;
5142 char *kwnames[] = {
5143 (char *) "self",(char *) "i", NULL
5144 };
5145
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5149 arg2 = (int) SWIG_AsInt(obj1);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 result = wxStatusBar_GetFieldRect(arg1,arg2);
5154
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 {
5159 wxRect * resultptr;
5160 resultptr = new wxRect((wxRect &) result);
5161 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5162 }
5163 return resultobj;
5164 fail:
5165 return NULL;
5166 }
5167
5168
5169 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5170 PyObject *resultobj;
5171 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5172 int arg2 ;
5173 PyObject * obj0 = 0 ;
5174 PyObject * obj1 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self",(char *) "height", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5182 arg2 = (int) SWIG_AsInt(obj1);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 (arg1)->SetMinHeight(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_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxStatusBar *arg1 = (wxStatusBar *) 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:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = SWIG_FromInt((int)result);
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5227 int result;
5228 PyObject * obj0 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_FromInt((int)result);
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5251 PyObject *obj;
5252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5253 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5254 Py_INCREF(obj);
5255 return Py_BuildValue((char *)"");
5256 }
5257 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5258 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5259 return 1;
5260 }
5261
5262
5263 static PyObject *_wrap_SplitterNameStr_get() {
5264 PyObject *pyobj;
5265
5266 {
5267 #if wxUSE_UNICODE
5268 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5269 #else
5270 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5271 #endif
5272 }
5273 return pyobj;
5274 }
5275
5276
5277 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5278 PyObject *resultobj;
5279 wxWindow *arg1 = (wxWindow *) 0 ;
5280 int arg2 ;
5281 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5282 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5283 wxSize const &arg4_defvalue = wxDefaultSize ;
5284 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5285 long arg5 = (long) wxSP_3D ;
5286 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5287 wxString *arg6 = (wxString *) &arg6_defvalue ;
5288 wxSplitterWindow *result;
5289 wxPoint temp3 ;
5290 wxSize temp4 ;
5291 bool temp6 = False ;
5292 PyObject * obj0 = 0 ;
5293 PyObject * obj1 = 0 ;
5294 PyObject * obj2 = 0 ;
5295 PyObject * obj3 = 0 ;
5296 PyObject * obj4 = 0 ;
5297 PyObject * obj5 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5300 };
5301
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5305 arg2 = (int) SWIG_AsInt(obj1);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 if (obj2) {
5308 {
5309 arg3 = &temp3;
5310 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5311 }
5312 }
5313 if (obj3) {
5314 {
5315 arg4 = &temp4;
5316 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5317 }
5318 }
5319 if (obj4) {
5320 arg5 = (long) SWIG_AsLong(obj4);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 if (obj5) {
5324 {
5325 arg6 = wxString_in_helper(obj5);
5326 if (arg6 == NULL) SWIG_fail;
5327 temp6 = True;
5328 }
5329 }
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5338 {
5339 if (temp6)
5340 delete arg6;
5341 }
5342 return resultobj;
5343 fail:
5344 {
5345 if (temp6)
5346 delete arg6;
5347 }
5348 return NULL;
5349 }
5350
5351
5352 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj;
5354 wxSplitterWindow *result;
5355 char *kwnames[] = {
5356 NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (wxSplitterWindow *)new wxSplitterWindow();
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5368 return resultobj;
5369 fail:
5370 return NULL;
5371 }
5372
5373
5374 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj;
5376 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5377 wxWindow *arg2 = (wxWindow *) 0 ;
5378 int arg3 ;
5379 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5380 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5381 wxSize const &arg5_defvalue = wxDefaultSize ;
5382 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5383 long arg6 = (long) wxSP_3D ;
5384 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5385 wxString *arg7 = (wxString *) &arg7_defvalue ;
5386 bool result;
5387 wxPoint temp4 ;
5388 wxSize temp5 ;
5389 bool temp7 = False ;
5390 PyObject * obj0 = 0 ;
5391 PyObject * obj1 = 0 ;
5392 PyObject * obj2 = 0 ;
5393 PyObject * obj3 = 0 ;
5394 PyObject * obj4 = 0 ;
5395 PyObject * obj5 = 0 ;
5396 PyObject * obj6 = 0 ;
5397 char *kwnames[] = {
5398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5399 };
5400
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5406 arg3 = (int) SWIG_AsInt(obj2);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 if (obj3) {
5409 {
5410 arg4 = &temp4;
5411 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5412 }
5413 }
5414 if (obj4) {
5415 {
5416 arg5 = &temp5;
5417 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5418 }
5419 }
5420 if (obj5) {
5421 arg6 = (long) SWIG_AsLong(obj5);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 if (obj6) {
5425 {
5426 arg7 = wxString_in_helper(obj6);
5427 if (arg7 == NULL) SWIG_fail;
5428 temp7 = True;
5429 }
5430 }
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 {
5439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5440 }
5441 {
5442 if (temp7)
5443 delete arg7;
5444 }
5445 return resultobj;
5446 fail:
5447 {
5448 if (temp7)
5449 delete arg7;
5450 }
5451 return NULL;
5452 }
5453
5454
5455 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5456 PyObject *resultobj;
5457 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5458 wxWindow *result;
5459 PyObject * obj0 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 {
5475 resultobj = wxPyMake_wxObject(result);
5476 }
5477 return resultobj;
5478 fail:
5479 return NULL;
5480 }
5481
5482
5483 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5484 PyObject *resultobj;
5485 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5486 wxWindow *result;
5487 PyObject * obj0 = 0 ;
5488 char *kwnames[] = {
5489 (char *) "self", NULL
5490 };
5491
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5495 {
5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
5497 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5498
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
5502 {
5503 resultobj = wxPyMake_wxObject(result);
5504 }
5505 return resultobj;
5506 fail:
5507 return NULL;
5508 }
5509
5510
5511 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj;
5513 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5514 int arg2 ;
5515 PyObject * obj0 = 0 ;
5516 PyObject * obj1 = 0 ;
5517 char *kwnames[] = {
5518 (char *) "self",(char *) "mode", NULL
5519 };
5520
5521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5524 arg2 = (int) SWIG_AsInt(obj1);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 (arg1)->SetSplitMode(arg2);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 Py_INCREF(Py_None); resultobj = Py_None;
5534 return resultobj;
5535 fail:
5536 return NULL;
5537 }
5538
5539
5540 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5543 int result;
5544 PyObject * obj0 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5555
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 }
5559 resultobj = SWIG_FromInt((int)result);
5560 return resultobj;
5561 fail:
5562 return NULL;
5563 }
5564
5565
5566 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj;
5568 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5569 wxWindow *arg2 = (wxWindow *) 0 ;
5570 PyObject * obj0 = 0 ;
5571 PyObject * obj1 = 0 ;
5572 char *kwnames[] = {
5573 (char *) "self",(char *) "window", NULL
5574 };
5575
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5581 {
5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
5583 (arg1)->Initialize(arg2);
5584
5585 wxPyEndAllowThreads(__tstate);
5586 if (PyErr_Occurred()) SWIG_fail;
5587 }
5588 Py_INCREF(Py_None); resultobj = Py_None;
5589 return resultobj;
5590 fail:
5591 return NULL;
5592 }
5593
5594
5595 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5596 PyObject *resultobj;
5597 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5598 wxWindow *arg2 = (wxWindow *) 0 ;
5599 wxWindow *arg3 = (wxWindow *) 0 ;
5600 int arg4 = (int) 0 ;
5601 bool result;
5602 PyObject * obj0 = 0 ;
5603 PyObject * obj1 = 0 ;
5604 PyObject * obj2 = 0 ;
5605 PyObject * obj3 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5615 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5617 if (obj3) {
5618 arg4 = (int) SWIG_AsInt(obj3);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 {
5629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5630 }
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5640 wxWindow *arg2 = (wxWindow *) 0 ;
5641 wxWindow *arg3 = (wxWindow *) 0 ;
5642 int arg4 = (int) 0 ;
5643 bool result;
5644 PyObject * obj0 = 0 ;
5645 PyObject * obj1 = 0 ;
5646 PyObject * obj2 = 0 ;
5647 PyObject * obj3 = 0 ;
5648 char *kwnames[] = {
5649 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5650 };
5651
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5657 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5659 if (obj3) {
5660 arg4 = (int) SWIG_AsInt(obj3);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 {
5671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5672 }
5673 return resultobj;
5674 fail:
5675 return NULL;
5676 }
5677
5678
5679 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5680 PyObject *resultobj;
5681 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5682 wxWindow *arg2 = (wxWindow *) NULL ;
5683 bool result;
5684 PyObject * obj0 = 0 ;
5685 PyObject * obj1 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "self",(char *) "toRemove", NULL
5688 };
5689
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5693 if (obj1) {
5694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5696 }
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (bool)(arg1)->Unsplit(arg2);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 {
5705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5706 }
5707 return resultobj;
5708 fail:
5709 return NULL;
5710 }
5711
5712
5713 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj;
5715 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5716 wxWindow *arg2 = (wxWindow *) 0 ;
5717 wxWindow *arg3 = (wxWindow *) 0 ;
5718 bool result;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 PyObject * obj2 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5731 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 {
5741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5742 }
5743 return resultobj;
5744 fail:
5745 return NULL;
5746 }
5747
5748
5749 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5750 PyObject *resultobj;
5751 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5752 PyObject * obj0 = 0 ;
5753 char *kwnames[] = {
5754 (char *) "self", NULL
5755 };
5756
5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 (arg1)->UpdateSize();
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 Py_INCREF(Py_None); resultobj = Py_None;
5768 return resultobj;
5769 fail:
5770 return NULL;
5771 }
5772
5773
5774 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5777 bool result;
5778 PyObject * obj0 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 {
5794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5795 }
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5805 int arg2 ;
5806 PyObject * obj0 = 0 ;
5807 PyObject * obj1 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self",(char *) "width", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5815 arg2 = (int) SWIG_AsInt(obj1);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 (arg1)->SetSashSize(arg2);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 Py_INCREF(Py_None); resultobj = Py_None;
5825 return resultobj;
5826 fail:
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject *resultobj;
5833 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5834 int arg2 ;
5835 PyObject * obj0 = 0 ;
5836 PyObject * obj1 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "self",(char *) "width", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5844 arg2 = (int) SWIG_AsInt(obj1);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 (arg1)->SetBorderSize(arg2);
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5863 int result;
5864 PyObject * obj0 = 0 ;
5865 char *kwnames[] = {
5866 (char *) "self", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5872 {
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5875
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 resultobj = SWIG_FromInt((int)result);
5880 return resultobj;
5881 fail:
5882 return NULL;
5883 }
5884
5885
5886 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj;
5888 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5889 int result;
5890 PyObject * obj0 = 0 ;
5891 char *kwnames[] = {
5892 (char *) "self", NULL
5893 };
5894
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 resultobj = SWIG_FromInt((int)result);
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5915 int arg2 ;
5916 bool arg3 = (bool) True ;
5917 PyObject * obj0 = 0 ;
5918 PyObject * obj1 = 0 ;
5919 PyObject * obj2 = 0 ;
5920 char *kwnames[] = {
5921 (char *) "self",(char *) "position",(char *) "redraw", NULL
5922 };
5923
5924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5927 arg2 = (int) SWIG_AsInt(obj1);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 if (obj2) {
5930 arg3 = (bool) SWIG_AsBool(obj2);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 (arg1)->SetSashPosition(arg2,arg3);
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 Py_INCREF(Py_None); resultobj = Py_None;
5941 return resultobj;
5942 fail:
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5950 int result;
5951 PyObject * obj0 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 resultobj = SWIG_FromInt((int)result);
5967 return resultobj;
5968 fail:
5969 return NULL;
5970 }
5971
5972
5973 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5976 int arg2 ;
5977 PyObject * obj0 = 0 ;
5978 PyObject * obj1 = 0 ;
5979 char *kwnames[] = {
5980 (char *) "self",(char *) "min", NULL
5981 };
5982
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5986 arg2 = (int) SWIG_AsInt(obj1);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 (arg1)->SetMinimumPaneSize(arg2);
5991
5992 wxPyEndAllowThreads(__tstate);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 Py_INCREF(Py_None); resultobj = Py_None;
5996 return resultobj;
5997 fail:
5998 return NULL;
5999 }
6000
6001
6002 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6003 PyObject *resultobj;
6004 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6005 int result;
6006 PyObject * obj0 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_FromInt((int)result);
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6031 int arg2 ;
6032 int arg3 ;
6033 int arg4 = (int) 5 ;
6034 bool result;
6035 PyObject * obj0 = 0 ;
6036 PyObject * obj1 = 0 ;
6037 PyObject * obj2 = 0 ;
6038 PyObject * obj3 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6046 arg2 = (int) SWIG_AsInt(obj1);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 arg3 = (int) SWIG_AsInt(obj2);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 if (obj3) {
6051 arg4 = (int) SWIG_AsInt(obj3);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 {
6062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6063 }
6064 return resultobj;
6065 fail:
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 (arg1)->SizeWindows();
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 Py_INCREF(Py_None); resultobj = Py_None;
6089 return resultobj;
6090 fail:
6091 return NULL;
6092 }
6093
6094
6095 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6098 bool arg2 ;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj1 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "needUpdating", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6108 arg2 = (bool) SWIG_AsBool(obj1);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 (arg1)->SetNeedUpdating(arg2);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 Py_INCREF(Py_None); resultobj = Py_None;
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6127 bool result;
6128 PyObject * obj0 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 {
6144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6145 }
6146 return resultobj;
6147 fail:
6148 return NULL;
6149 }
6150
6151
6152 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6153 PyObject *obj;
6154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6155 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6156 Py_INCREF(obj);
6157 return Py_BuildValue((char *)"");
6158 }
6159 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj;
6161 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6162 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6163 wxSplitterEvent *result;
6164 PyObject * obj0 = 0 ;
6165 PyObject * obj1 = 0 ;
6166 char *kwnames[] = {
6167 (char *) "type",(char *) "splitter", NULL
6168 };
6169
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6171 if (obj0) {
6172 arg1 = (wxEventType) SWIG_AsInt(obj0);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 if (obj1) {
6176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6178 }
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6187 return resultobj;
6188 fail:
6189 return NULL;
6190 }
6191
6192
6193 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj;
6195 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6196 int arg2 ;
6197 PyObject * obj0 = 0 ;
6198 PyObject * obj1 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self",(char *) "pos", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6206 arg2 = (int) SWIG_AsInt(obj1);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 (arg1)->SetSashPosition(arg2);
6211
6212 wxPyEndAllowThreads(__tstate);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 }
6215 Py_INCREF(Py_None); resultobj = Py_None;
6216 return resultobj;
6217 fail:
6218 return NULL;
6219 }
6220
6221
6222 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6223 PyObject *resultobj;
6224 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6225 int result;
6226 PyObject * obj0 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = SWIG_FromInt((int)result);
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6251 wxWindow *result;
6252 PyObject * obj0 = 0 ;
6253 char *kwnames[] = {
6254 (char *) "self", NULL
6255 };
6256
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 {
6268 resultobj = wxPyMake_wxObject(result);
6269 }
6270 return resultobj;
6271 fail:
6272 return NULL;
6273 }
6274
6275
6276 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6277 PyObject *resultobj;
6278 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6279 int result;
6280 PyObject * obj0 = 0 ;
6281 char *kwnames[] = {
6282 (char *) "self", NULL
6283 };
6284
6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6288 {
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6291
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
6295 resultobj = SWIG_FromInt((int)result);
6296 return resultobj;
6297 fail:
6298 return NULL;
6299 }
6300
6301
6302 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6303 PyObject *resultobj;
6304 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6305 int result;
6306 PyObject * obj0 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "self", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6317
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 resultobj = SWIG_FromInt((int)result);
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6329 PyObject *obj;
6330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6331 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6332 Py_INCREF(obj);
6333 return Py_BuildValue((char *)"");
6334 }
6335 static int _wrap_SashNameStr_set(PyObject *_val) {
6336 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6337 return 1;
6338 }
6339
6340
6341 static PyObject *_wrap_SashNameStr_get() {
6342 PyObject *pyobj;
6343
6344 {
6345 #if wxUSE_UNICODE
6346 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6347 #else
6348 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6349 #endif
6350 }
6351 return pyobj;
6352 }
6353
6354
6355 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6356 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6357 return 1;
6358 }
6359
6360
6361 static PyObject *_wrap_SashLayoutNameStr_get() {
6362 PyObject *pyobj;
6363
6364 {
6365 #if wxUSE_UNICODE
6366 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6367 #else
6368 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6369 #endif
6370 }
6371 return pyobj;
6372 }
6373
6374
6375 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj;
6377 wxWindow *arg1 = (wxWindow *) 0 ;
6378 int arg2 ;
6379 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6380 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6381 wxSize const &arg4_defvalue = wxDefaultSize ;
6382 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6383 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6384 wxString const &arg6_defvalue = wxPySashNameStr ;
6385 wxString *arg6 = (wxString *) &arg6_defvalue ;
6386 wxSashWindow *result;
6387 wxPoint temp3 ;
6388 wxSize temp4 ;
6389 bool temp6 = False ;
6390 PyObject * obj0 = 0 ;
6391 PyObject * obj1 = 0 ;
6392 PyObject * obj2 = 0 ;
6393 PyObject * obj3 = 0 ;
6394 PyObject * obj4 = 0 ;
6395 PyObject * obj5 = 0 ;
6396 char *kwnames[] = {
6397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6398 };
6399
6400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6403 arg2 = (int) SWIG_AsInt(obj1);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 if (obj2) {
6406 {
6407 arg3 = &temp3;
6408 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6409 }
6410 }
6411 if (obj3) {
6412 {
6413 arg4 = &temp4;
6414 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6415 }
6416 }
6417 if (obj4) {
6418 arg5 = (long) SWIG_AsLong(obj4);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 if (obj5) {
6422 {
6423 arg6 = wxString_in_helper(obj5);
6424 if (arg6 == NULL) SWIG_fail;
6425 temp6 = True;
6426 }
6427 }
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6436 {
6437 if (temp6)
6438 delete arg6;
6439 }
6440 return resultobj;
6441 fail:
6442 {
6443 if (temp6)
6444 delete arg6;
6445 }
6446 return NULL;
6447 }
6448
6449
6450 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6451 PyObject *resultobj;
6452 wxSashWindow *result;
6453 char *kwnames[] = {
6454 NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 result = (wxSashWindow *)new wxSashWindow();
6461
6462 wxPyEndAllowThreads(__tstate);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 }
6465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6466 return resultobj;
6467 fail:
6468 return NULL;
6469 }
6470
6471
6472 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6473 PyObject *resultobj;
6474 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6475 wxWindow *arg2 = (wxWindow *) 0 ;
6476 int arg3 ;
6477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6479 wxSize const &arg5_defvalue = wxDefaultSize ;
6480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6481 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6482 wxString const &arg7_defvalue = wxPySashNameStr ;
6483 wxString *arg7 = (wxString *) &arg7_defvalue ;
6484 bool result;
6485 wxPoint temp4 ;
6486 wxSize temp5 ;
6487 bool temp7 = False ;
6488 PyObject * obj0 = 0 ;
6489 PyObject * obj1 = 0 ;
6490 PyObject * obj2 = 0 ;
6491 PyObject * obj3 = 0 ;
6492 PyObject * obj4 = 0 ;
6493 PyObject * obj5 = 0 ;
6494 PyObject * obj6 = 0 ;
6495 char *kwnames[] = {
6496 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6504 arg3 = (int) SWIG_AsInt(obj2);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 if (obj3) {
6507 {
6508 arg4 = &temp4;
6509 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6510 }
6511 }
6512 if (obj4) {
6513 {
6514 arg5 = &temp5;
6515 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6516 }
6517 }
6518 if (obj5) {
6519 arg6 = (long) SWIG_AsLong(obj5);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 if (obj6) {
6523 {
6524 arg7 = wxString_in_helper(obj6);
6525 if (arg7 == NULL) SWIG_fail;
6526 temp7 = True;
6527 }
6528 }
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 {
6537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6538 }
6539 {
6540 if (temp7)
6541 delete arg7;
6542 }
6543 return resultobj;
6544 fail:
6545 {
6546 if (temp7)
6547 delete arg7;
6548 }
6549 return NULL;
6550 }
6551
6552
6553 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6554 PyObject *resultobj;
6555 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6556 int arg2 ;
6557 bool arg3 ;
6558 PyObject * obj0 = 0 ;
6559 PyObject * obj1 = 0 ;
6560 PyObject * obj2 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "edge",(char *) "sash", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6568 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 arg3 = (bool) SWIG_AsBool(obj2);
6571 if (PyErr_Occurred()) SWIG_fail;
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 Py_INCREF(Py_None); resultobj = Py_None;
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj;
6588 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6589 int arg2 ;
6590 bool result;
6591 PyObject * obj0 = 0 ;
6592 PyObject * obj1 = 0 ;
6593 char *kwnames[] = {
6594 (char *) "self",(char *) "edge", NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6600 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 {
6610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6611 }
6612 return resultobj;
6613 fail:
6614 return NULL;
6615 }
6616
6617
6618 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6619 PyObject *resultobj;
6620 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6621 int arg2 ;
6622 bool arg3 ;
6623 PyObject * obj0 = 0 ;
6624 PyObject * obj1 = 0 ;
6625 PyObject * obj2 = 0 ;
6626 char *kwnames[] = {
6627 (char *) "self",(char *) "edge",(char *) "border", NULL
6628 };
6629
6630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6633 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 arg3 = (bool) SWIG_AsBool(obj2);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 Py_INCREF(Py_None); resultobj = Py_None;
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6654 int arg2 ;
6655 bool result;
6656 PyObject * obj0 = 0 ;
6657 PyObject * obj1 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self",(char *) "edge", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6665 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 {
6675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6676 }
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6686 int arg2 ;
6687 int result;
6688 PyObject * obj0 = 0 ;
6689 PyObject * obj1 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "self",(char *) "edge", NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6697 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 resultobj = SWIG_FromInt((int)result);
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6716 int arg2 ;
6717 PyObject * obj0 = 0 ;
6718 PyObject * obj1 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "width", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6726 arg2 = (int) SWIG_AsInt(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 (arg1)->SetDefaultBorderSize(arg2);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 Py_INCREF(Py_None); resultobj = Py_None;
6736 return resultobj;
6737 fail:
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6745 int result;
6746 PyObject * obj0 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_FromInt((int)result);
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6771 int arg2 ;
6772 PyObject * obj0 = 0 ;
6773 PyObject * obj1 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "self",(char *) "width", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6781 arg2 = (int) SWIG_AsInt(obj1);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 (arg1)->SetExtraBorderSize(arg2);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 Py_INCREF(Py_None); resultobj = Py_None;
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6800 int result;
6801 PyObject * obj0 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_FromInt((int)result);
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj;
6825 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6826 int arg2 ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self",(char *) "min", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6836 arg2 = (int) SWIG_AsInt(obj1);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 (arg1)->SetMinimumSizeX(arg2);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 Py_INCREF(Py_None); resultobj = Py_None;
6846 return resultobj;
6847 fail:
6848 return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6855 int arg2 ;
6856 PyObject * obj0 = 0 ;
6857 PyObject * obj1 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "min", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6865 arg2 = (int) SWIG_AsInt(obj1);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 (arg1)->SetMinimumSizeY(arg2);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 Py_INCREF(Py_None); resultobj = Py_None;
6875 return resultobj;
6876 fail:
6877 return NULL;
6878 }
6879
6880
6881 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6884 int result;
6885 PyObject * obj0 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = SWIG_FromInt((int)result);
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6910 int result;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 resultobj = SWIG_FromInt((int)result);
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6936 int arg2 ;
6937 PyObject * obj0 = 0 ;
6938 PyObject * obj1 = 0 ;
6939 char *kwnames[] = {
6940 (char *) "self",(char *) "max", NULL
6941 };
6942
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6946 arg2 = (int) SWIG_AsInt(obj1);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 (arg1)->SetMaximumSizeX(arg2);
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 Py_INCREF(Py_None); resultobj = Py_None;
6956 return resultobj;
6957 fail:
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6965 int arg2 ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self",(char *) "max", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6975 arg2 = (int) SWIG_AsInt(obj1);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 {
6978 PyThreadState* __tstate = wxPyBeginAllowThreads();
6979 (arg1)->SetMaximumSizeY(arg2);
6980
6981 wxPyEndAllowThreads(__tstate);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 Py_INCREF(Py_None); resultobj = Py_None;
6985 return resultobj;
6986 fail:
6987 return NULL;
6988 }
6989
6990
6991 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj;
6993 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6994 int result;
6995 PyObject * obj0 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = SWIG_FromInt((int)result);
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7020 int result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 resultobj = SWIG_FromInt((int)result);
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7046 int arg2 ;
7047 int arg3 ;
7048 int arg4 = (int) 2 ;
7049 int result;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 PyObject * obj2 = 0 ;
7053 PyObject * obj3 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7061 arg2 = (int) SWIG_AsInt(obj1);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 arg3 = (int) SWIG_AsInt(obj2);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 if (obj3) {
7066 arg4 = (int) SWIG_AsInt(obj3);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_FromInt((int)result);
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7086 PyObject * obj0 = 0 ;
7087 char *kwnames[] = {
7088 (char *) "self", NULL
7089 };
7090
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 (arg1)->SizeWindows();
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 Py_INCREF(Py_None); resultobj = Py_None;
7102 return resultobj;
7103 fail:
7104 return NULL;
7105 }
7106
7107
7108 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7109 PyObject *obj;
7110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7111 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7112 Py_INCREF(obj);
7113 return Py_BuildValue((char *)"");
7114 }
7115 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 int arg1 = (int) 0 ;
7118 int arg2 = (int) wxSASH_NONE ;
7119 wxSashEvent *result;
7120 PyObject * obj0 = 0 ;
7121 PyObject * obj1 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "id",(char *) "edge", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7127 if (obj0) {
7128 arg1 = (int) SWIG_AsInt(obj0);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 if (obj1) {
7132 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 {
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7138
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7143 return resultobj;
7144 fail:
7145 return NULL;
7146 }
7147
7148
7149 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj;
7151 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7152 int arg2 ;
7153 PyObject * obj0 = 0 ;
7154 PyObject * obj1 = 0 ;
7155 char *kwnames[] = {
7156 (char *) "self",(char *) "edge", NULL
7157 };
7158
7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7162 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7167
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 Py_INCREF(Py_None); resultobj = Py_None;
7172 return resultobj;
7173 fail:
7174 return NULL;
7175 }
7176
7177
7178 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7181 int result;
7182 PyObject * obj0 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 resultobj = SWIG_FromInt((int)result);
7198 return resultobj;
7199 fail:
7200 return NULL;
7201 }
7202
7203
7204 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7207 wxRect *arg2 = 0 ;
7208 wxRect temp2 ;
7209 PyObject * obj0 = 0 ;
7210 PyObject * obj1 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "self",(char *) "rect", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7218 {
7219 arg2 = &temp2;
7220 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7221 }
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 (arg1)->SetDragRect((wxRect const &)*arg2);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 Py_INCREF(Py_None); resultobj = Py_None;
7230 return resultobj;
7231 fail:
7232 return NULL;
7233 }
7234
7235
7236 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj;
7238 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7239 wxRect result;
7240 PyObject * obj0 = 0 ;
7241 char *kwnames[] = {
7242 (char *) "self", NULL
7243 };
7244
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7248 {
7249 PyThreadState* __tstate = wxPyBeginAllowThreads();
7250 result = ((wxSashEvent const *)arg1)->GetDragRect();
7251
7252 wxPyEndAllowThreads(__tstate);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 }
7255 {
7256 wxRect * resultptr;
7257 resultptr = new wxRect((wxRect &) result);
7258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7259 }
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7269 int arg2 ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 char *kwnames[] = {
7273 (char *) "self",(char *) "status", NULL
7274 };
7275
7276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7279 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 Py_INCREF(Py_None); resultobj = Py_None;
7289 return resultobj;
7290 fail:
7291 return NULL;
7292 }
7293
7294
7295 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj;
7297 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7298 int result;
7299 PyObject * obj0 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 }
7314 resultobj = SWIG_FromInt((int)result);
7315 return resultobj;
7316 fail:
7317 return NULL;
7318 }
7319
7320
7321 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7322 PyObject *obj;
7323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7324 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7325 Py_INCREF(obj);
7326 return Py_BuildValue((char *)"");
7327 }
7328 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 int arg1 = (int) 0 ;
7331 wxQueryLayoutInfoEvent *result;
7332 PyObject * obj0 = 0 ;
7333 char *kwnames[] = {
7334 (char *) "id", NULL
7335 };
7336
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7338 if (obj0) {
7339 arg1 = (int) SWIG_AsInt(obj0);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7350 return resultobj;
7351 fail:
7352 return NULL;
7353 }
7354
7355
7356 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7359 int arg2 ;
7360 PyObject * obj0 = 0 ;
7361 PyObject * obj1 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self",(char *) "length", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7369 arg2 = (int) SWIG_AsInt(obj1);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 (arg1)->SetRequestedLength(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_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj;
7387 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7388 int result;
7389 PyObject * obj0 = 0 ;
7390 char *kwnames[] = {
7391 (char *) "self", NULL
7392 };
7393
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 resultobj = SWIG_FromInt((int)result);
7405 return resultobj;
7406 fail:
7407 return NULL;
7408 }
7409
7410
7411 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7414 int arg2 ;
7415 PyObject * obj0 = 0 ;
7416 PyObject * obj1 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "self",(char *) "flags", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7424 arg2 = (int) SWIG_AsInt(obj1);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 (arg1)->SetFlags(arg2);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 Py_INCREF(Py_None); resultobj = Py_None;
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7443 int result;
7444 PyObject * obj0 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 resultobj = SWIG_FromInt((int)result);
7460 return resultobj;
7461 fail:
7462 return NULL;
7463 }
7464
7465
7466 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7467 PyObject *resultobj;
7468 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7469 wxSize *arg2 = 0 ;
7470 wxSize temp2 ;
7471 PyObject * obj0 = 0 ;
7472 PyObject * obj1 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self",(char *) "size", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7480 {
7481 arg2 = &temp2;
7482 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7483 }
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 (arg1)->SetSize((wxSize const &)*arg2);
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 Py_INCREF(Py_None); resultobj = Py_None;
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7499 PyObject *resultobj;
7500 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7501 wxSize result;
7502 PyObject * obj0 = 0 ;
7503 char *kwnames[] = {
7504 (char *) "self", NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 {
7518 wxSize * resultptr;
7519 resultptr = new wxSize((wxSize &) result);
7520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7521 }
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7531 int arg2 ;
7532 PyObject * obj0 = 0 ;
7533 PyObject * obj1 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self",(char *) "orient", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7541 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 Py_INCREF(Py_None); resultobj = Py_None;
7551 return resultobj;
7552 fail:
7553 return NULL;
7554 }
7555
7556
7557 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj;
7559 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7560 int result;
7561 PyObject * obj0 = 0 ;
7562 char *kwnames[] = {
7563 (char *) "self", NULL
7564 };
7565
7566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7569 {
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7572
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 resultobj = SWIG_FromInt((int)result);
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj;
7585 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7586 int arg2 ;
7587 PyObject * obj0 = 0 ;
7588 PyObject * obj1 = 0 ;
7589 char *kwnames[] = {
7590 (char *) "self",(char *) "align", NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7596 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 Py_INCREF(Py_None); resultobj = Py_None;
7606 return resultobj;
7607 fail:
7608 return NULL;
7609 }
7610
7611
7612 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7615 int result;
7616 PyObject * obj0 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 resultobj = SWIG_FromInt((int)result);
7632 return resultobj;
7633 fail:
7634 return NULL;
7635 }
7636
7637
7638 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7639 PyObject *obj;
7640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7641 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7642 Py_INCREF(obj);
7643 return Py_BuildValue((char *)"");
7644 }
7645 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 int arg1 = (int) 0 ;
7648 wxCalculateLayoutEvent *result;
7649 PyObject * obj0 = 0 ;
7650 char *kwnames[] = {
7651 (char *) "id", NULL
7652 };
7653
7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7655 if (obj0) {
7656 arg1 = (int) SWIG_AsInt(obj0);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7667 return resultobj;
7668 fail:
7669 return NULL;
7670 }
7671
7672
7673 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj;
7675 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7676 int arg2 ;
7677 PyObject * obj0 = 0 ;
7678 PyObject * obj1 = 0 ;
7679 char *kwnames[] = {
7680 (char *) "self",(char *) "flags", NULL
7681 };
7682
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7686 arg2 = (int) SWIG_AsInt(obj1);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 (arg1)->SetFlags(arg2);
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 Py_INCREF(Py_None); resultobj = Py_None;
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj;
7704 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7705 int result;
7706 PyObject * obj0 = 0 ;
7707 char *kwnames[] = {
7708 (char *) "self", NULL
7709 };
7710
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 resultobj = SWIG_FromInt((int)result);
7722 return resultobj;
7723 fail:
7724 return NULL;
7725 }
7726
7727
7728 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7729 PyObject *resultobj;
7730 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7731 wxRect *arg2 = 0 ;
7732 wxRect temp2 ;
7733 PyObject * obj0 = 0 ;
7734 PyObject * obj1 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "self",(char *) "rect", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7742 {
7743 arg2 = &temp2;
7744 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7745 }
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 (arg1)->SetRect((wxRect const &)*arg2);
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 Py_INCREF(Py_None); resultobj = Py_None;
7754 return resultobj;
7755 fail:
7756 return NULL;
7757 }
7758
7759
7760 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7761 PyObject *resultobj;
7762 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7763 wxRect result;
7764 PyObject * obj0 = 0 ;
7765 char *kwnames[] = {
7766 (char *) "self", NULL
7767 };
7768
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7772 {
7773 PyThreadState* __tstate = wxPyBeginAllowThreads();
7774 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7775
7776 wxPyEndAllowThreads(__tstate);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
7779 {
7780 wxRect * resultptr;
7781 resultptr = new wxRect((wxRect &) result);
7782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7783 }
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7791 PyObject *obj;
7792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7793 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7794 Py_INCREF(obj);
7795 return Py_BuildValue((char *)"");
7796 }
7797 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxWindow *arg1 = (wxWindow *) 0 ;
7800 int arg2 ;
7801 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7802 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7803 wxSize const &arg4_defvalue = wxDefaultSize ;
7804 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7805 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7806 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7807 wxString *arg6 = (wxString *) &arg6_defvalue ;
7808 wxSashLayoutWindow *result;
7809 wxPoint temp3 ;
7810 wxSize temp4 ;
7811 bool temp6 = False ;
7812 PyObject * obj0 = 0 ;
7813 PyObject * obj1 = 0 ;
7814 PyObject * obj2 = 0 ;
7815 PyObject * obj3 = 0 ;
7816 PyObject * obj4 = 0 ;
7817 PyObject * obj5 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7825 arg2 = (int) SWIG_AsInt(obj1);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 if (obj2) {
7828 {
7829 arg3 = &temp3;
7830 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7831 }
7832 }
7833 if (obj3) {
7834 {
7835 arg4 = &temp4;
7836 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7837 }
7838 }
7839 if (obj4) {
7840 arg5 = (long) SWIG_AsLong(obj4);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 if (obj5) {
7844 {
7845 arg6 = wxString_in_helper(obj5);
7846 if (arg6 == NULL) SWIG_fail;
7847 temp6 = True;
7848 }
7849 }
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7858 {
7859 if (temp6)
7860 delete arg6;
7861 }
7862 return resultobj;
7863 fail:
7864 {
7865 if (temp6)
7866 delete arg6;
7867 }
7868 return NULL;
7869 }
7870
7871
7872 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxSashLayoutWindow *result;
7875 char *kwnames[] = {
7876 NULL
7877 };
7878
7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7897 wxWindow *arg2 = (wxWindow *) 0 ;
7898 int arg3 ;
7899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7901 wxSize const &arg5_defvalue = wxDefaultSize ;
7902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7903 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7904 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7905 wxString *arg7 = (wxString *) &arg7_defvalue ;
7906 bool result;
7907 wxPoint temp4 ;
7908 wxSize temp5 ;
7909 bool temp7 = False ;
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
7912 PyObject * obj2 = 0 ;
7913 PyObject * obj3 = 0 ;
7914 PyObject * obj4 = 0 ;
7915 PyObject * obj5 = 0 ;
7916 PyObject * obj6 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7926 arg3 = (int) SWIG_AsInt(obj2);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 if (obj3) {
7929 {
7930 arg4 = &temp4;
7931 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7932 }
7933 }
7934 if (obj4) {
7935 {
7936 arg5 = &temp5;
7937 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7938 }
7939 }
7940 if (obj5) {
7941 arg6 = (long) SWIG_AsLong(obj5);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 if (obj6) {
7945 {
7946 arg7 = wxString_in_helper(obj6);
7947 if (arg7 == NULL) SWIG_fail;
7948 temp7 = True;
7949 }
7950 }
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 {
7959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7960 }
7961 {
7962 if (temp7)
7963 delete arg7;
7964 }
7965 return resultobj;
7966 fail:
7967 {
7968 if (temp7)
7969 delete arg7;
7970 }
7971 return NULL;
7972 }
7973
7974
7975 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj;
7977 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7978 int result;
7979 PyObject * obj0 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = (int)(arg1)->GetAlignment();
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 resultobj = SWIG_FromInt((int)result);
7995 return resultobj;
7996 fail:
7997 return NULL;
7998 }
7999
8000
8001 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj;
8003 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8004 int result;
8005 PyObject * obj0 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = (int)(arg1)->GetOrientation();
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 resultobj = SWIG_FromInt((int)result);
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8030 int arg2 ;
8031 PyObject * obj0 = 0 ;
8032 PyObject * obj1 = 0 ;
8033 char *kwnames[] = {
8034 (char *) "self",(char *) "alignment", NULL
8035 };
8036
8037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8040 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 Py_INCREF(Py_None); resultobj = Py_None;
8050 return resultobj;
8051 fail:
8052 return NULL;
8053 }
8054
8055
8056 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj;
8058 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8059 wxSize *arg2 = 0 ;
8060 wxSize temp2 ;
8061 PyObject * obj0 = 0 ;
8062 PyObject * obj1 = 0 ;
8063 char *kwnames[] = {
8064 (char *) "self",(char *) "size", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8070 {
8071 arg2 = &temp2;
8072 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8073 }
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 Py_INCREF(Py_None); resultobj = Py_None;
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8091 int arg2 ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "self",(char *) "orientation", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8101 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 Py_INCREF(Py_None); resultobj = Py_None;
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8118 PyObject *obj;
8119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8120 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8121 Py_INCREF(obj);
8122 return Py_BuildValue((char *)"");
8123 }
8124 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxLayoutAlgorithm *result;
8127 char *kwnames[] = {
8128 NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8140 return resultobj;
8141 fail:
8142 return NULL;
8143 }
8144
8145
8146 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8149 PyObject * obj0 = 0 ;
8150 char *kwnames[] = {
8151 (char *) "self", NULL
8152 };
8153
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 delete arg1;
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_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8174 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8175 wxRect *arg3 = (wxRect *) NULL ;
8176 bool result;
8177 PyObject * obj0 = 0 ;
8178 PyObject * obj1 = 0 ;
8179 PyObject * obj2 = 0 ;
8180 char *kwnames[] = {
8181 (char *) "self",(char *) "frame",(char *) "rect", NULL
8182 };
8183
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8189 if (obj2) {
8190 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8192 }
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 {
8201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8202 }
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8212 wxFrame *arg2 = (wxFrame *) 0 ;
8213 wxWindow *arg3 = (wxWindow *) NULL ;
8214 bool result;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 PyObject * obj2 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8227 if (obj2) {
8228 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 {
8239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8240 }
8241 return resultobj;
8242 fail:
8243 return NULL;
8244 }
8245
8246
8247 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject *resultobj;
8249 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8250 wxWindow *arg2 = (wxWindow *) 0 ;
8251 wxWindow *arg3 = (wxWindow *) NULL ;
8252 bool result;
8253 PyObject * obj0 = 0 ;
8254 PyObject * obj1 = 0 ;
8255 PyObject * obj2 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8265 if (obj2) {
8266 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8268 }
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 {
8277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8278 }
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8286 PyObject *obj;
8287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8288 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8289 Py_INCREF(obj);
8290 return Py_BuildValue((char *)"");
8291 }
8292 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxWindow *arg1 = (wxWindow *) 0 ;
8295 int arg2 = (int) wxBORDER_NONE ;
8296 wxPopupWindow *result;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "parent",(char *) "flags", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8306 if (obj1) {
8307 arg2 = (int) SWIG_AsInt(obj1);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxPopupWindow *result;
8327 char *kwnames[] = {
8328 NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (wxPopupWindow *)new wxPopupWindow();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8349 wxWindow *arg2 = (wxWindow *) 0 ;
8350 int arg3 = (int) wxBORDER_NONE ;
8351 bool result;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 PyObject * obj2 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self",(char *) "parent",(char *) "flags", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8364 if (obj2) {
8365 arg3 = (int) SWIG_AsInt(obj2);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 result = (bool)(arg1)->Create(arg2,arg3);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 {
8376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8377 }
8378 return resultobj;
8379 fail:
8380 return NULL;
8381 }
8382
8383
8384 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8385 PyObject *resultobj;
8386 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8387 wxPoint *arg2 = 0 ;
8388 wxSize *arg3 = 0 ;
8389 wxPoint temp2 ;
8390 wxSize temp3 ;
8391 PyObject * obj0 = 0 ;
8392 PyObject * obj1 = 0 ;
8393 PyObject * obj2 = 0 ;
8394 char *kwnames[] = {
8395 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8396 };
8397
8398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8401 {
8402 arg2 = &temp2;
8403 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8404 }
8405 {
8406 arg3 = &temp3;
8407 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 Py_INCREF(Py_None); resultobj = Py_None;
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8424 PyObject *obj;
8425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8426 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8427 Py_INCREF(obj);
8428 return Py_BuildValue((char *)"");
8429 }
8430 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8431 PyObject *resultobj;
8432 wxWindow *arg1 = (wxWindow *) 0 ;
8433 int arg2 = (int) wxBORDER_NONE ;
8434 wxPyPopupTransientWindow *result;
8435 PyObject * obj0 = 0 ;
8436 PyObject * obj1 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "parent",(char *) "style", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8444 if (obj1) {
8445 arg2 = (int) SWIG_AsInt(obj1);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8456 return resultobj;
8457 fail:
8458 return NULL;
8459 }
8460
8461
8462 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8463 PyObject *resultobj;
8464 wxPyPopupTransientWindow *result;
8465 char *kwnames[] = {
8466 NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8487 PyObject *arg2 = (PyObject *) 0 ;
8488 PyObject *arg3 = (PyObject *) 0 ;
8489 PyObject * obj0 = 0 ;
8490 PyObject * obj1 = 0 ;
8491 PyObject * obj2 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self",(char *) "self",(char *) "_class", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8499 arg2 = obj1;
8500 arg3 = obj2;
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 (arg1)->_setCallbackInfo(arg2,arg3);
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 Py_INCREF(Py_None); resultobj = Py_None;
8509 return resultobj;
8510 fail:
8511 return NULL;
8512 }
8513
8514
8515 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8516 PyObject *resultobj;
8517 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8518 wxWindow *arg2 = (wxWindow *) NULL ;
8519 PyObject * obj0 = 0 ;
8520 PyObject * obj1 = 0 ;
8521 char *kwnames[] = {
8522 (char *) "self",(char *) "focus", NULL
8523 };
8524
8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8528 if (obj1) {
8529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8531 }
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 (arg1)->Popup(arg2);
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 Py_INCREF(Py_None); resultobj = Py_None;
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8547 PyObject *resultobj;
8548 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8549 PyObject * obj0 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 (arg1)->Dismiss();
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 Py_INCREF(Py_None); resultobj = Py_None;
8565 return resultobj;
8566 fail:
8567 return NULL;
8568 }
8569
8570
8571 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8572 PyObject *obj;
8573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8574 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8575 Py_INCREF(obj);
8576 return Py_BuildValue((char *)"");
8577 }
8578 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8579 PyObject *resultobj;
8580 wxWindow *arg1 = (wxWindow *) 0 ;
8581 wxString *arg2 = 0 ;
8582 int arg3 = (int) 100 ;
8583 wxRect *arg4 = (wxRect *) NULL ;
8584 wxTipWindow *result;
8585 bool temp2 = False ;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 PyObject * obj2 = 0 ;
8589 PyObject * obj3 = 0 ;
8590 char *kwnames[] = {
8591 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8592 };
8593
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8597 {
8598 arg2 = wxString_in_helper(obj1);
8599 if (arg2 == NULL) SWIG_fail;
8600 temp2 = True;
8601 }
8602 if (obj2) {
8603 arg3 = (int) SWIG_AsInt(obj2);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 if (obj3) {
8607 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8609 }
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8613
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8618 {
8619 if (temp2)
8620 delete arg2;
8621 }
8622 return resultobj;
8623 fail:
8624 {
8625 if (temp2)
8626 delete arg2;
8627 }
8628 return NULL;
8629 }
8630
8631
8632 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj;
8634 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8635 wxRect *arg2 = 0 ;
8636 wxRect temp2 ;
8637 PyObject * obj0 = 0 ;
8638 PyObject * obj1 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "self",(char *) "rectBound", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8646 {
8647 arg2 = &temp2;
8648 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8649 }
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8653
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 Py_INCREF(Py_None); resultobj = Py_None;
8658 return resultobj;
8659 fail:
8660 return NULL;
8661 }
8662
8663
8664 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8665 PyObject *resultobj;
8666 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8667 PyObject * obj0 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self", NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8675 {
8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
8677 (arg1)->Close();
8678
8679 wxPyEndAllowThreads(__tstate);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 }
8682 Py_INCREF(Py_None); resultobj = Py_None;
8683 return resultobj;
8684 fail:
8685 return NULL;
8686 }
8687
8688
8689 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8690 PyObject *obj;
8691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8692 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8693 Py_INCREF(obj);
8694 return Py_BuildValue((char *)"");
8695 }
8696 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8697 PyObject *resultobj;
8698 wxWindow *arg1 = (wxWindow *) 0 ;
8699 int arg2 = (int) wxID_ANY ;
8700 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8701 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8702 wxSize const &arg4_defvalue = wxDefaultSize ;
8703 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8704 long arg5 = (long) 0 ;
8705 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8706 wxString *arg6 = (wxString *) &arg6_defvalue ;
8707 wxPyVScrolledWindow *result;
8708 wxPoint temp3 ;
8709 wxSize temp4 ;
8710 bool temp6 = False ;
8711 PyObject * obj0 = 0 ;
8712 PyObject * obj1 = 0 ;
8713 PyObject * obj2 = 0 ;
8714 PyObject * obj3 = 0 ;
8715 PyObject * obj4 = 0 ;
8716 PyObject * obj5 = 0 ;
8717 char *kwnames[] = {
8718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8719 };
8720
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8724 if (obj1) {
8725 arg2 = (int) SWIG_AsInt(obj1);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 if (obj2) {
8729 {
8730 arg3 = &temp3;
8731 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8732 }
8733 }
8734 if (obj3) {
8735 {
8736 arg4 = &temp4;
8737 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8738 }
8739 }
8740 if (obj4) {
8741 arg5 = (long) SWIG_AsLong(obj4);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 if (obj5) {
8745 {
8746 arg6 = wxString_in_helper(obj5);
8747 if (arg6 == NULL) SWIG_fail;
8748 temp6 = True;
8749 }
8750 }
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8759 {
8760 if (temp6)
8761 delete arg6;
8762 }
8763 return resultobj;
8764 fail:
8765 {
8766 if (temp6)
8767 delete arg6;
8768 }
8769 return NULL;
8770 }
8771
8772
8773 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj;
8775 wxPyVScrolledWindow *result;
8776 char *kwnames[] = {
8777 NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8789 return resultobj;
8790 fail:
8791 return NULL;
8792 }
8793
8794
8795 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8798 PyObject *arg2 = (PyObject *) 0 ;
8799 PyObject *arg3 = (PyObject *) 0 ;
8800 PyObject * obj0 = 0 ;
8801 PyObject * obj1 = 0 ;
8802 PyObject * obj2 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self",(char *) "self",(char *) "_class", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8810 arg2 = obj1;
8811 arg3 = obj2;
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 (arg1)->_setCallbackInfo(arg2,arg3);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 Py_INCREF(Py_None); resultobj = Py_None;
8820 return resultobj;
8821 fail:
8822 return NULL;
8823 }
8824
8825
8826 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8827 PyObject *resultobj;
8828 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8829 wxWindow *arg2 = (wxWindow *) 0 ;
8830 int arg3 = (int) wxID_ANY ;
8831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8833 wxSize const &arg5_defvalue = wxDefaultSize ;
8834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8835 long arg6 = (long) 0 ;
8836 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8837 wxString *arg7 = (wxString *) &arg7_defvalue ;
8838 bool result;
8839 wxPoint temp4 ;
8840 wxSize temp5 ;
8841 bool temp7 = False ;
8842 PyObject * obj0 = 0 ;
8843 PyObject * obj1 = 0 ;
8844 PyObject * obj2 = 0 ;
8845 PyObject * obj3 = 0 ;
8846 PyObject * obj4 = 0 ;
8847 PyObject * obj5 = 0 ;
8848 PyObject * obj6 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8858 if (obj2) {
8859 arg3 = (int) SWIG_AsInt(obj2);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 if (obj3) {
8863 {
8864 arg4 = &temp4;
8865 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8866 }
8867 }
8868 if (obj4) {
8869 {
8870 arg5 = &temp5;
8871 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8872 }
8873 }
8874 if (obj5) {
8875 arg6 = (long) SWIG_AsLong(obj5);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 if (obj6) {
8879 {
8880 arg7 = wxString_in_helper(obj6);
8881 if (arg7 == NULL) SWIG_fail;
8882 temp7 = True;
8883 }
8884 }
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 {
8893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8894 }
8895 {
8896 if (temp7)
8897 delete arg7;
8898 }
8899 return resultobj;
8900 fail:
8901 {
8902 if (temp7)
8903 delete arg7;
8904 }
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8912 size_t arg2 ;
8913 PyObject * obj0 = 0 ;
8914 PyObject * obj1 = 0 ;
8915 char *kwnames[] = {
8916 (char *) "self",(char *) "count", NULL
8917 };
8918
8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8922 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 (arg1)->SetLineCount(arg2);
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 Py_INCREF(Py_None); resultobj = Py_None;
8932 return resultobj;
8933 fail:
8934 return NULL;
8935 }
8936
8937
8938 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8941 size_t arg2 ;
8942 bool result;
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8945 char *kwnames[] = {
8946 (char *) "self",(char *) "line", NULL
8947 };
8948
8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8952 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (bool)(arg1)->ScrollToLine(arg2);
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 {
8962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8963 }
8964 return resultobj;
8965 fail:
8966 return NULL;
8967 }
8968
8969
8970 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8973 int arg2 ;
8974 bool result;
8975 PyObject * obj0 = 0 ;
8976 PyObject * obj1 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self",(char *) "lines", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8984 arg2 = (int) SWIG_AsInt(obj1);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 result = (bool)(arg1)->ScrollLines(arg2);
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 {
8994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8995 }
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9005 int arg2 ;
9006 bool result;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self",(char *) "pages", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9016 arg2 = (int) SWIG_AsInt(obj1);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 result = (bool)(arg1)->ScrollPages(arg2);
9021
9022 wxPyEndAllowThreads(__tstate);
9023 if (PyErr_Occurred()) SWIG_fail;
9024 }
9025 {
9026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9027 }
9028 return resultobj;
9029 fail:
9030 return NULL;
9031 }
9032
9033
9034 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9037 size_t arg2 ;
9038 PyObject * obj0 = 0 ;
9039 PyObject * obj1 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self",(char *) "line", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9047 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 (arg1)->RefreshLine(arg2);
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 Py_INCREF(Py_None); resultobj = Py_None;
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9066 size_t arg2 ;
9067 size_t arg3 ;
9068 PyObject * obj0 = 0 ;
9069 PyObject * obj1 = 0 ;
9070 PyObject * obj2 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self",(char *) "from",(char *) "to", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9078 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 (arg1)->RefreshLines(arg2,arg3);
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 Py_INCREF(Py_None); resultobj = Py_None;
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9099 int arg2 ;
9100 int arg3 ;
9101 int result;
9102 PyObject * obj0 = 0 ;
9103 PyObject * obj1 = 0 ;
9104 PyObject * obj2 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self",(char *) "x",(char *) "y", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9112 arg2 = (int) SWIG_AsInt(obj1);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 arg3 = (int) SWIG_AsInt(obj2);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9119
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 resultobj = SWIG_FromInt((int)result);
9124 return resultobj;
9125 fail:
9126 return NULL;
9127 }
9128
9129
9130 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9133 wxPoint *arg2 = 0 ;
9134 int result;
9135 wxPoint temp2 ;
9136 PyObject * obj0 = 0 ;
9137 PyObject * obj1 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self",(char *) "pt", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9145 {
9146 arg2 = &temp2;
9147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 resultobj = SWIG_FromInt((int)result);
9157 return resultobj;
9158 fail:
9159 return NULL;
9160 }
9161
9162
9163 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9164 PyObject *resultobj;
9165 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9166 PyObject * obj0 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 (arg1)->RefreshAll();
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 Py_INCREF(Py_None); resultobj = Py_None;
9182 return resultobj;
9183 fail:
9184 return NULL;
9185 }
9186
9187
9188 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9191 size_t result;
9192 PyObject * obj0 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "self", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9200 {
9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
9202 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9203
9204 wxPyEndAllowThreads(__tstate);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 }
9207 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9208 return resultobj;
9209 fail:
9210 return NULL;
9211 }
9212
9213
9214 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9215 PyObject *resultobj;
9216 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9217 size_t result;
9218 PyObject * obj0 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9243 size_t result;
9244 PyObject * obj0 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9260 return resultobj;
9261 fail:
9262 return NULL;
9263 }
9264
9265
9266 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9267 PyObject *resultobj;
9268 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9269 size_t arg2 ;
9270 bool result;
9271 PyObject * obj0 = 0 ;
9272 PyObject * obj1 = 0 ;
9273 char *kwnames[] = {
9274 (char *) "self",(char *) "line", NULL
9275 };
9276
9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9280 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 {
9290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9291 }
9292 return resultobj;
9293 fail:
9294 return NULL;
9295 }
9296
9297
9298 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9299 PyObject *obj;
9300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9301 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9302 Py_INCREF(obj);
9303 return Py_BuildValue((char *)"");
9304 }
9305 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9306 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9307 return 1;
9308 }
9309
9310
9311 static PyObject *_wrap_VListBoxNameStr_get() {
9312 PyObject *pyobj;
9313
9314 {
9315 #if wxUSE_UNICODE
9316 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9317 #else
9318 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9319 #endif
9320 }
9321 return pyobj;
9322 }
9323
9324
9325 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxWindow *arg1 = (wxWindow *) 0 ;
9328 int arg2 = (int) wxID_ANY ;
9329 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9330 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9331 wxSize const &arg4_defvalue = wxDefaultSize ;
9332 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9333 long arg5 = (long) 0 ;
9334 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9335 wxString *arg6 = (wxString *) &arg6_defvalue ;
9336 wxPyVListBox *result;
9337 wxPoint temp3 ;
9338 wxSize temp4 ;
9339 bool temp6 = False ;
9340 PyObject * obj0 = 0 ;
9341 PyObject * obj1 = 0 ;
9342 PyObject * obj2 = 0 ;
9343 PyObject * obj3 = 0 ;
9344 PyObject * obj4 = 0 ;
9345 PyObject * obj5 = 0 ;
9346 char *kwnames[] = {
9347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9348 };
9349
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9353 if (obj1) {
9354 arg2 = (int) SWIG_AsInt(obj1);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 if (obj2) {
9358 {
9359 arg3 = &temp3;
9360 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9361 }
9362 }
9363 if (obj3) {
9364 {
9365 arg4 = &temp4;
9366 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9367 }
9368 }
9369 if (obj4) {
9370 arg5 = (long) SWIG_AsLong(obj4);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 if (obj5) {
9374 {
9375 arg6 = wxString_in_helper(obj5);
9376 if (arg6 == NULL) SWIG_fail;
9377 temp6 = True;
9378 }
9379 }
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9383
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9388 {
9389 if (temp6)
9390 delete arg6;
9391 }
9392 return resultobj;
9393 fail:
9394 {
9395 if (temp6)
9396 delete arg6;
9397 }
9398 return NULL;
9399 }
9400
9401
9402 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9403 PyObject *resultobj;
9404 wxPyVListBox *result;
9405 char *kwnames[] = {
9406 NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 result = (wxPyVListBox *)new wxPyVListBox();
9413
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj;
9426 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9427 PyObject *arg2 = (PyObject *) 0 ;
9428 PyObject *arg3 = (PyObject *) 0 ;
9429 PyObject * obj0 = 0 ;
9430 PyObject * obj1 = 0 ;
9431 PyObject * obj2 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self",(char *) "self",(char *) "_class", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9439 arg2 = obj1;
9440 arg3 = obj2;
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 (arg1)->_setCallbackInfo(arg2,arg3);
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 Py_INCREF(Py_None); resultobj = Py_None;
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9458 wxWindow *arg2 = (wxWindow *) 0 ;
9459 int arg3 = (int) wxID_ANY ;
9460 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9461 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9462 wxSize const &arg5_defvalue = wxDefaultSize ;
9463 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9464 long arg6 = (long) 0 ;
9465 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9466 wxString *arg7 = (wxString *) &arg7_defvalue ;
9467 bool result;
9468 wxPoint temp4 ;
9469 wxSize temp5 ;
9470 bool temp7 = False ;
9471 PyObject * obj0 = 0 ;
9472 PyObject * obj1 = 0 ;
9473 PyObject * obj2 = 0 ;
9474 PyObject * obj3 = 0 ;
9475 PyObject * obj4 = 0 ;
9476 PyObject * obj5 = 0 ;
9477 PyObject * obj6 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9487 if (obj2) {
9488 arg3 = (int) SWIG_AsInt(obj2);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 if (obj3) {
9492 {
9493 arg4 = &temp4;
9494 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9495 }
9496 }
9497 if (obj4) {
9498 {
9499 arg5 = &temp5;
9500 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9501 }
9502 }
9503 if (obj5) {
9504 arg6 = (long) SWIG_AsLong(obj5);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 }
9507 if (obj6) {
9508 {
9509 arg7 = wxString_in_helper(obj6);
9510 if (arg7 == NULL) SWIG_fail;
9511 temp7 = True;
9512 }
9513 }
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 {
9522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9523 }
9524 {
9525 if (temp7)
9526 delete arg7;
9527 }
9528 return resultobj;
9529 fail:
9530 {
9531 if (temp7)
9532 delete arg7;
9533 }
9534 return NULL;
9535 }
9536
9537
9538 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9541 size_t result;
9542 PyObject * obj0 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9567 bool result;
9568 PyObject * obj0 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 {
9584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9585 }
9586 return resultobj;
9587 fail:
9588 return NULL;
9589 }
9590
9591
9592 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9593 PyObject *resultobj;
9594 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9595 int result;
9596 PyObject * obj0 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 resultobj = SWIG_FromInt((int)result);
9612 return resultobj;
9613 fail:
9614 return NULL;
9615 }
9616
9617
9618 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9619 PyObject *resultobj;
9620 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9621 size_t arg2 ;
9622 bool result;
9623 PyObject * obj0 = 0 ;
9624 PyObject * obj1 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self",(char *) "item", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9632 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 {
9642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9643 }
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9653 size_t arg2 ;
9654 bool result;
9655 PyObject * obj0 = 0 ;
9656 PyObject * obj1 = 0 ;
9657 char *kwnames[] = {
9658 (char *) "self",(char *) "item", NULL
9659 };
9660
9661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9664 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 {
9674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9675 }
9676 return resultobj;
9677 fail:
9678 return NULL;
9679 }
9680
9681
9682 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9683 PyObject *resultobj;
9684 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9685 size_t result;
9686 PyObject * obj0 = 0 ;
9687 char *kwnames[] = {
9688 (char *) "self", NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9711 unsigned long *arg2 = 0 ;
9712 int result;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self",(char *) "cookie", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9723 SWIG_POINTER_EXCEPTION | 0)) == -1)
9724 SWIG_fail;
9725 if (arg2 == NULL) {
9726 PyErr_SetString(PyExc_TypeError,"null reference");
9727 SWIG_fail;
9728 }
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 resultobj = SWIG_FromInt((int)result);
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9746 unsigned long *arg2 = 0 ;
9747 int result;
9748 PyObject * obj0 = 0 ;
9749 PyObject * obj1 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "self",(char *) "cookie", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9758 SWIG_POINTER_EXCEPTION | 0)) == -1)
9759 SWIG_fail;
9760 if (arg2 == NULL) {
9761 PyErr_SetString(PyExc_TypeError,"null reference");
9762 SWIG_fail;
9763 }
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 resultobj = SWIG_FromInt((int)result);
9772 return resultobj;
9773 fail:
9774 return NULL;
9775 }
9776
9777
9778 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj;
9780 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9781 wxPoint result;
9782 PyObject * obj0 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = ((wxPyVListBox const *)arg1)->GetMargins();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 {
9798 wxPoint * resultptr;
9799 resultptr = new wxPoint((wxPoint &) result);
9800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9801 }
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj;
9810 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9811 wxColour *result;
9812 PyObject * obj0 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 {
9823 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9824 result = (wxColour *) &_result_ref;
9825 }
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
9830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9831 return resultobj;
9832 fail:
9833 return NULL;
9834 }
9835
9836
9837 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9840 size_t arg2 ;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self",(char *) "count", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9850 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 (arg1)->SetItemCount(arg2);
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 Py_INCREF(Py_None); resultobj = Py_None;
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9869 PyObject * obj0 = 0 ;
9870 char *kwnames[] = {
9871 (char *) "self", NULL
9872 };
9873
9874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 (arg1)->Clear();
9880
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 Py_INCREF(Py_None); resultobj = Py_None;
9885 return resultobj;
9886 fail:
9887 return NULL;
9888 }
9889
9890
9891 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9892 PyObject *resultobj;
9893 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9894 int arg2 ;
9895 PyObject * obj0 = 0 ;
9896 PyObject * obj1 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self",(char *) "selection", NULL
9899 };
9900
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9904 arg2 = (int) SWIG_AsInt(obj1);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 (arg1)->SetSelection(arg2);
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 Py_INCREF(Py_None); resultobj = Py_None;
9914 return resultobj;
9915 fail:
9916 return NULL;
9917 }
9918
9919
9920 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj;
9922 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9923 size_t arg2 ;
9924 bool arg3 = (bool) True ;
9925 bool result;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 PyObject * obj2 = 0 ;
9929 char *kwnames[] = {
9930 (char *) "self",(char *) "item",(char *) "select", NULL
9931 };
9932
9933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9936 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 if (obj2) {
9939 arg3 = (bool) SWIG_AsBool(obj2);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 result = (bool)(arg1)->Select(arg2,arg3);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 {
9950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9951 }
9952 return resultobj;
9953 fail:
9954 return NULL;
9955 }
9956
9957
9958 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9961 size_t arg2 ;
9962 size_t arg3 ;
9963 bool result;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 PyObject * obj2 = 0 ;
9967 char *kwnames[] = {
9968 (char *) "self",(char *) "from",(char *) "to", NULL
9969 };
9970
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9974 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = (bool)(arg1)->SelectRange(arg2,arg3);
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 {
9986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9987 }
9988 return resultobj;
9989 fail:
9990 return NULL;
9991 }
9992
9993
9994 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj;
9996 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9997 size_t arg2 ;
9998 PyObject * obj0 = 0 ;
9999 PyObject * obj1 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "self",(char *) "item", NULL
10002 };
10003
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10007 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 (arg1)->Toggle(arg2);
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 Py_INCREF(Py_None); resultobj = Py_None;
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10026 bool result;
10027 PyObject * obj0 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 result = (bool)(arg1)->SelectAll();
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 {
10043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10044 }
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10054 bool result;
10055 PyObject * obj0 = 0 ;
10056 char *kwnames[] = {
10057 (char *) "self", NULL
10058 };
10059
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (bool)(arg1)->DeselectAll();
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 {
10071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10072 }
10073 return resultobj;
10074 fail:
10075 return NULL;
10076 }
10077
10078
10079 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10082 wxPoint *arg2 = 0 ;
10083 wxPoint temp2 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 char *kwnames[] = {
10087 (char *) "self",(char *) "pt", NULL
10088 };
10089
10090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10093 {
10094 arg2 = &temp2;
10095 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10096 }
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 (arg1)->SetMargins((wxPoint const &)*arg2);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 Py_INCREF(Py_None); resultobj = Py_None;
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10112 PyObject *resultobj;
10113 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10114 int arg2 ;
10115 int arg3 ;
10116 PyObject * obj0 = 0 ;
10117 PyObject * obj1 = 0 ;
10118 PyObject * obj2 = 0 ;
10119 char *kwnames[] = {
10120 (char *) "self",(char *) "x",(char *) "y", NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10126 arg2 = (int) SWIG_AsInt(obj1);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 arg3 = (int) SWIG_AsInt(obj2);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 (arg1)->SetMargins(arg2,arg3);
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 Py_INCREF(Py_None); resultobj = Py_None;
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10147 wxColour *arg2 = 0 ;
10148 wxColour temp2 ;
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "self",(char *) "col", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10158 {
10159 arg2 = &temp2;
10160 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10161 }
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 Py_INCREF(Py_None); resultobj = Py_None;
10170 return resultobj;
10171 fail:
10172 return NULL;
10173 }
10174
10175
10176 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10177 PyObject *obj;
10178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10179 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10180 Py_INCREF(obj);
10181 return Py_BuildValue((char *)"");
10182 }
10183 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj;
10185 wxWindow *arg1 = (wxWindow *) 0 ;
10186 int arg2 = (int) wxID_ANY ;
10187 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10188 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10189 wxSize const &arg4_defvalue = wxDefaultSize ;
10190 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10191 long arg5 = (long) 0 ;
10192 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10193 wxString *arg6 = (wxString *) &arg6_defvalue ;
10194 wxPyHtmlListBox *result;
10195 wxPoint temp3 ;
10196 wxSize temp4 ;
10197 bool temp6 = False ;
10198 PyObject * obj0 = 0 ;
10199 PyObject * obj1 = 0 ;
10200 PyObject * obj2 = 0 ;
10201 PyObject * obj3 = 0 ;
10202 PyObject * obj4 = 0 ;
10203 PyObject * obj5 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10211 if (obj1) {
10212 arg2 = (int) SWIG_AsInt(obj1);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 if (obj2) {
10216 {
10217 arg3 = &temp3;
10218 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10219 }
10220 }
10221 if (obj3) {
10222 {
10223 arg4 = &temp4;
10224 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10225 }
10226 }
10227 if (obj4) {
10228 arg5 = (long) SWIG_AsLong(obj4);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 if (obj5) {
10232 {
10233 arg6 = wxString_in_helper(obj5);
10234 if (arg6 == NULL) SWIG_fail;
10235 temp6 = True;
10236 }
10237 }
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10246 {
10247 if (temp6)
10248 delete arg6;
10249 }
10250 return resultobj;
10251 fail:
10252 {
10253 if (temp6)
10254 delete arg6;
10255 }
10256 return NULL;
10257 }
10258
10259
10260 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxPyHtmlListBox *result;
10263 char *kwnames[] = {
10264 NULL
10265 };
10266
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10276 return resultobj;
10277 fail:
10278 return NULL;
10279 }
10280
10281
10282 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj;
10284 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10285 PyObject *arg2 = (PyObject *) 0 ;
10286 PyObject *arg3 = (PyObject *) 0 ;
10287 PyObject * obj0 = 0 ;
10288 PyObject * obj1 = 0 ;
10289 PyObject * obj2 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self",(char *) "self",(char *) "_class", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10297 arg2 = obj1;
10298 arg3 = obj2;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 (arg1)->_setCallbackInfo(arg2,arg3);
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 Py_INCREF(Py_None); resultobj = Py_None;
10307 return resultobj;
10308 fail:
10309 return NULL;
10310 }
10311
10312
10313 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10314 PyObject *resultobj;
10315 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10316 wxWindow *arg2 = (wxWindow *) 0 ;
10317 int arg3 = (int) wxID_ANY ;
10318 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10319 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10320 wxSize const &arg5_defvalue = wxDefaultSize ;
10321 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10322 long arg6 = (long) 0 ;
10323 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10324 wxString *arg7 = (wxString *) &arg7_defvalue ;
10325 bool result;
10326 wxPoint temp4 ;
10327 wxSize temp5 ;
10328 bool temp7 = False ;
10329 PyObject * obj0 = 0 ;
10330 PyObject * obj1 = 0 ;
10331 PyObject * obj2 = 0 ;
10332 PyObject * obj3 = 0 ;
10333 PyObject * obj4 = 0 ;
10334 PyObject * obj5 = 0 ;
10335 PyObject * obj6 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10345 if (obj2) {
10346 arg3 = (int) SWIG_AsInt(obj2);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 if (obj3) {
10350 {
10351 arg4 = &temp4;
10352 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10353 }
10354 }
10355 if (obj4) {
10356 {
10357 arg5 = &temp5;
10358 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10359 }
10360 }
10361 if (obj5) {
10362 arg6 = (long) SWIG_AsLong(obj5);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 if (obj6) {
10366 {
10367 arg7 = wxString_in_helper(obj6);
10368 if (arg7 == NULL) SWIG_fail;
10369 temp7 = True;
10370 }
10371 }
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 {
10380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10381 }
10382 {
10383 if (temp7)
10384 delete arg7;
10385 }
10386 return resultobj;
10387 fail:
10388 {
10389 if (temp7)
10390 delete arg7;
10391 }
10392 return NULL;
10393 }
10394
10395
10396 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj;
10398 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10399 PyObject * obj0 = 0 ;
10400 char *kwnames[] = {
10401 (char *) "self", NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 (arg1)->RefreshAll();
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 Py_INCREF(Py_None); resultobj = Py_None;
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10424 size_t arg2 ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj1 = 0 ;
10427 char *kwnames[] = {
10428 (char *) "self",(char *) "count", NULL
10429 };
10430
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10434 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 (arg1)->SetItemCount(arg2);
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 Py_INCREF(Py_None); resultobj = Py_None;
10444 return resultobj;
10445 fail:
10446 return NULL;
10447 }
10448
10449
10450 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10451 PyObject *obj;
10452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10453 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10454 Py_INCREF(obj);
10455 return Py_BuildValue((char *)"");
10456 }
10457 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxTaskBarIcon *result;
10460 char *kwnames[] = {
10461 NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10473 return resultobj;
10474 fail:
10475 return NULL;
10476 }
10477
10478
10479 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10480 PyObject *resultobj;
10481 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10482 PyObject * obj0 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 delete arg1;
10493
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 Py_INCREF(Py_None); resultobj = Py_None;
10498 return resultobj;
10499 fail:
10500 return NULL;
10501 }
10502
10503
10504 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj;
10506 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10507 bool result;
10508 PyObject * obj0 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 {
10524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10525 }
10526 return resultobj;
10527 fail:
10528 return NULL;
10529 }
10530
10531
10532 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10533 PyObject *resultobj;
10534 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10535 bool result;
10536 PyObject * obj0 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 {
10552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10553 }
10554 return resultobj;
10555 fail:
10556 return NULL;
10557 }
10558
10559
10560 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject *resultobj;
10562 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10563 wxIcon *arg2 = 0 ;
10564 wxString const &arg3_defvalue = wxPyEmptyString ;
10565 wxString *arg3 = (wxString *) &arg3_defvalue ;
10566 bool result;
10567 bool temp3 = False ;
10568 PyObject * obj0 = 0 ;
10569 PyObject * obj1 = 0 ;
10570 PyObject * obj2 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10579 SWIG_POINTER_EXCEPTION | 0)) == -1)
10580 SWIG_fail;
10581 if (arg2 == NULL) {
10582 PyErr_SetString(PyExc_TypeError,"null reference");
10583 SWIG_fail;
10584 }
10585 if (obj2) {
10586 {
10587 arg3 = wxString_in_helper(obj2);
10588 if (arg3 == NULL) SWIG_fail;
10589 temp3 = True;
10590 }
10591 }
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 {
10600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10601 }
10602 {
10603 if (temp3)
10604 delete arg3;
10605 }
10606 return resultobj;
10607 fail:
10608 {
10609 if (temp3)
10610 delete arg3;
10611 }
10612 return NULL;
10613 }
10614
10615
10616 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10617 PyObject *resultobj;
10618 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10619 bool result;
10620 PyObject * obj0 = 0 ;
10621 char *kwnames[] = {
10622 (char *) "self", NULL
10623 };
10624
10625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 result = (bool)(arg1)->RemoveIcon();
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 {
10636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10637 }
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10645 PyObject *resultobj;
10646 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10647 wxMenu *arg2 = (wxMenu *) 0 ;
10648 bool result;
10649 PyObject * obj0 = 0 ;
10650 PyObject * obj1 = 0 ;
10651 char *kwnames[] = {
10652 (char *) "self",(char *) "menu", NULL
10653 };
10654
10655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (bool)(arg1)->PopupMenu(arg2);
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 {
10668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10669 }
10670 return resultobj;
10671 fail:
10672 return NULL;
10673 }
10674
10675
10676 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10677 PyObject *obj;
10678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10679 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10680 Py_INCREF(obj);
10681 return Py_BuildValue((char *)"");
10682 }
10683 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10684 PyObject *resultobj;
10685 wxEventType arg1 ;
10686 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10687 wxTaskBarIconEvent *result;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "evtType",(char *) "tbIcon", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10695 arg1 = (wxEventType) SWIG_AsInt(obj0);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10714 PyObject *obj;
10715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10716 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10717 Py_INCREF(obj);
10718 return Py_BuildValue((char *)"");
10719 }
10720 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10721 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10722 return 1;
10723 }
10724
10725
10726 static PyObject *_wrap_FileSelectorPromptStr_get() {
10727 PyObject *pyobj;
10728
10729 {
10730 #if wxUSE_UNICODE
10731 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10732 #else
10733 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10734 #endif
10735 }
10736 return pyobj;
10737 }
10738
10739
10740 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10741 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10742 return 1;
10743 }
10744
10745
10746 static PyObject *_wrap_DirSelectorPromptStr_get() {
10747 PyObject *pyobj;
10748
10749 {
10750 #if wxUSE_UNICODE
10751 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10752 #else
10753 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10754 #endif
10755 }
10756 return pyobj;
10757 }
10758
10759
10760 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10761 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10762 return 1;
10763 }
10764
10765
10766 static PyObject *_wrap_DirDialogNameStr_get() {
10767 PyObject *pyobj;
10768
10769 {
10770 #if wxUSE_UNICODE
10771 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10772 #else
10773 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10774 #endif
10775 }
10776 return pyobj;
10777 }
10778
10779
10780 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10781 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10782 return 1;
10783 }
10784
10785
10786 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10787 PyObject *pyobj;
10788
10789 {
10790 #if wxUSE_UNICODE
10791 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10792 #else
10793 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10794 #endif
10795 }
10796 return pyobj;
10797 }
10798
10799
10800 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10801 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10802 return 1;
10803 }
10804
10805
10806 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10807 PyObject *pyobj;
10808
10809 {
10810 #if wxUSE_UNICODE
10811 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10812 #else
10813 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10814 #endif
10815 }
10816 return pyobj;
10817 }
10818
10819
10820 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10821 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10822 return 1;
10823 }
10824
10825
10826 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10827 PyObject *pyobj;
10828
10829 {
10830 #if wxUSE_UNICODE
10831 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10832 #else
10833 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10834 #endif
10835 }
10836 return pyobj;
10837 }
10838
10839
10840 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxColourData *result;
10843 char *kwnames[] = {
10844 NULL
10845 };
10846
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 result = (wxColourData *)new wxColourData();
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10856 return resultobj;
10857 fail:
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxColourData *arg1 = (wxColourData *) 0 ;
10865 PyObject * obj0 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "self", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 delete arg1;
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj;
10889 wxColourData *arg1 = (wxColourData *) 0 ;
10890 bool result;
10891 PyObject * obj0 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 result = (bool)(arg1)->GetChooseFull();
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 {
10907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10908 }
10909 return resultobj;
10910 fail:
10911 return NULL;
10912 }
10913
10914
10915 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10916 PyObject *resultobj;
10917 wxColourData *arg1 = (wxColourData *) 0 ;
10918 wxColour result;
10919 PyObject * obj0 = 0 ;
10920 char *kwnames[] = {
10921 (char *) "self", NULL
10922 };
10923
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 result = (arg1)->GetColour();
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 {
10935 wxColour * resultptr;
10936 resultptr = new wxColour((wxColour &) result);
10937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10938 }
10939 return resultobj;
10940 fail:
10941 return NULL;
10942 }
10943
10944
10945 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10946 PyObject *resultobj;
10947 wxColourData *arg1 = (wxColourData *) 0 ;
10948 int arg2 ;
10949 wxColour result;
10950 PyObject * obj0 = 0 ;
10951 PyObject * obj1 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self",(char *) "i", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10959 arg2 = (int) SWIG_AsInt(obj1);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 result = (arg1)->GetCustomColour(arg2);
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 {
10969 wxColour * resultptr;
10970 resultptr = new wxColour((wxColour &) result);
10971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10972 }
10973 return resultobj;
10974 fail:
10975 return NULL;
10976 }
10977
10978
10979 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10980 PyObject *resultobj;
10981 wxColourData *arg1 = (wxColourData *) 0 ;
10982 int arg2 ;
10983 PyObject * obj0 = 0 ;
10984 PyObject * obj1 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "flag", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10992 arg2 = (int) SWIG_AsInt(obj1);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 (arg1)->SetChooseFull(arg2);
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 Py_INCREF(Py_None); resultobj = Py_None;
11002 return resultobj;
11003 fail:
11004 return NULL;
11005 }
11006
11007
11008 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11009 PyObject *resultobj;
11010 wxColourData *arg1 = (wxColourData *) 0 ;
11011 wxColour *arg2 = 0 ;
11012 wxColour temp2 ;
11013 PyObject * obj0 = 0 ;
11014 PyObject * obj1 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self",(char *) "colour", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11022 {
11023 arg2 = &temp2;
11024 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11025 }
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 (arg1)->SetColour((wxColour const &)*arg2);
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 Py_INCREF(Py_None); resultobj = Py_None;
11034 return resultobj;
11035 fail:
11036 return NULL;
11037 }
11038
11039
11040 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj;
11042 wxColourData *arg1 = (wxColourData *) 0 ;
11043 int arg2 ;
11044 wxColour *arg3 = 0 ;
11045 wxColour temp3 ;
11046 PyObject * obj0 = 0 ;
11047 PyObject * obj1 = 0 ;
11048 PyObject * obj2 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self",(char *) "i",(char *) "colour", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11056 arg2 = (int) SWIG_AsInt(obj1);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 {
11059 arg3 = &temp3;
11060 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11061 }
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 Py_INCREF(Py_None); resultobj = Py_None;
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11077 PyObject *obj;
11078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11079 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11080 Py_INCREF(obj);
11081 return Py_BuildValue((char *)"");
11082 }
11083 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj;
11085 wxWindow *arg1 = (wxWindow *) 0 ;
11086 wxColourData *arg2 = (wxColourData *) NULL ;
11087 wxColourDialog *result;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 char *kwnames[] = {
11091 (char *) "parent",(char *) "data", NULL
11092 };
11093
11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11097 if (obj1) {
11098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11100 }
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11109 return resultobj;
11110 fail:
11111 return NULL;
11112 }
11113
11114
11115 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11118 wxColourData *result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11127 {
11128 PyThreadState* __tstate = wxPyBeginAllowThreads();
11129 {
11130 wxColourData &_result_ref = (arg1)->GetColourData();
11131 result = (wxColourData *) &_result_ref;
11132 }
11133
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11138 return resultobj;
11139 fail:
11140 return NULL;
11141 }
11142
11143
11144 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11145 PyObject *obj;
11146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11147 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11148 Py_INCREF(obj);
11149 return Py_BuildValue((char *)"");
11150 }
11151 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11152 PyObject *resultobj;
11153 wxWindow *arg1 = (wxWindow *) 0 ;
11154 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11155 wxString *arg2 = (wxString *) &arg2_defvalue ;
11156 wxString const &arg3_defvalue = wxPyEmptyString ;
11157 wxString *arg3 = (wxString *) &arg3_defvalue ;
11158 long arg4 = (long) 0 ;
11159 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11160 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11161 wxSize const &arg6_defvalue = wxDefaultSize ;
11162 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11163 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11164 wxString *arg7 = (wxString *) &arg7_defvalue ;
11165 wxDirDialog *result;
11166 bool temp2 = False ;
11167 bool temp3 = False ;
11168 wxPoint temp5 ;
11169 wxSize temp6 ;
11170 bool temp7 = False ;
11171 PyObject * obj0 = 0 ;
11172 PyObject * obj1 = 0 ;
11173 PyObject * obj2 = 0 ;
11174 PyObject * obj3 = 0 ;
11175 PyObject * obj4 = 0 ;
11176 PyObject * obj5 = 0 ;
11177 PyObject * obj6 = 0 ;
11178 char *kwnames[] = {
11179 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11180 };
11181
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11185 if (obj1) {
11186 {
11187 arg2 = wxString_in_helper(obj1);
11188 if (arg2 == NULL) SWIG_fail;
11189 temp2 = True;
11190 }
11191 }
11192 if (obj2) {
11193 {
11194 arg3 = wxString_in_helper(obj2);
11195 if (arg3 == NULL) SWIG_fail;
11196 temp3 = True;
11197 }
11198 }
11199 if (obj3) {
11200 arg4 = (long) SWIG_AsLong(obj3);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 if (obj4) {
11204 {
11205 arg5 = &temp5;
11206 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11207 }
11208 }
11209 if (obj5) {
11210 {
11211 arg6 = &temp6;
11212 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11213 }
11214 }
11215 if (obj6) {
11216 {
11217 arg7 = wxString_in_helper(obj6);
11218 if (arg7 == NULL) SWIG_fail;
11219 temp7 = True;
11220 }
11221 }
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11230 {
11231 if (temp2)
11232 delete arg2;
11233 }
11234 {
11235 if (temp3)
11236 delete arg3;
11237 }
11238 {
11239 if (temp7)
11240 delete arg7;
11241 }
11242 return resultobj;
11243 fail:
11244 {
11245 if (temp2)
11246 delete arg2;
11247 }
11248 {
11249 if (temp3)
11250 delete arg3;
11251 }
11252 {
11253 if (temp7)
11254 delete arg7;
11255 }
11256 return NULL;
11257 }
11258
11259
11260 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj;
11262 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11263 wxString result;
11264 PyObject * obj0 = 0 ;
11265 char *kwnames[] = {
11266 (char *) "self", NULL
11267 };
11268
11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 result = (arg1)->GetPath();
11275
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 {
11280 #if wxUSE_UNICODE
11281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11282 #else
11283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11284 #endif
11285 }
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11295 wxString result;
11296 PyObject * obj0 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "self", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 result = (arg1)->GetMessage();
11307
11308 wxPyEndAllowThreads(__tstate);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 {
11312 #if wxUSE_UNICODE
11313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11314 #else
11315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11316 #endif
11317 }
11318 return resultobj;
11319 fail:
11320 return NULL;
11321 }
11322
11323
11324 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj;
11326 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11327 long result;
11328 PyObject * obj0 = 0 ;
11329 char *kwnames[] = {
11330 (char *) "self", NULL
11331 };
11332
11333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (long)(arg1)->GetStyle();
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
11343 resultobj = SWIG_FromLong((long)result);
11344 return resultobj;
11345 fail:
11346 return NULL;
11347 }
11348
11349
11350 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11353 wxString *arg2 = 0 ;
11354 bool temp2 = False ;
11355 PyObject * obj0 = 0 ;
11356 PyObject * obj1 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "self",(char *) "message", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11364 {
11365 arg2 = wxString_in_helper(obj1);
11366 if (arg2 == NULL) SWIG_fail;
11367 temp2 = True;
11368 }
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 (arg1)->SetMessage((wxString const &)*arg2);
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 Py_INCREF(Py_None); resultobj = Py_None;
11377 {
11378 if (temp2)
11379 delete arg2;
11380 }
11381 return resultobj;
11382 fail:
11383 {
11384 if (temp2)
11385 delete arg2;
11386 }
11387 return NULL;
11388 }
11389
11390
11391 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj;
11393 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11394 wxString *arg2 = 0 ;
11395 bool temp2 = False ;
11396 PyObject * obj0 = 0 ;
11397 PyObject * obj1 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self",(char *) "path", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11405 {
11406 arg2 = wxString_in_helper(obj1);
11407 if (arg2 == NULL) SWIG_fail;
11408 temp2 = True;
11409 }
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 (arg1)->SetPath((wxString const &)*arg2);
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 Py_INCREF(Py_None); resultobj = Py_None;
11418 {
11419 if (temp2)
11420 delete arg2;
11421 }
11422 return resultobj;
11423 fail:
11424 {
11425 if (temp2)
11426 delete arg2;
11427 }
11428 return NULL;
11429 }
11430
11431
11432 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11433 PyObject *obj;
11434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11435 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11436 Py_INCREF(obj);
11437 return Py_BuildValue((char *)"");
11438 }
11439 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxWindow *arg1 = (wxWindow *) 0 ;
11442 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11443 wxString *arg2 = (wxString *) &arg2_defvalue ;
11444 wxString const &arg3_defvalue = wxPyEmptyString ;
11445 wxString *arg3 = (wxString *) &arg3_defvalue ;
11446 wxString const &arg4_defvalue = wxPyEmptyString ;
11447 wxString *arg4 = (wxString *) &arg4_defvalue ;
11448 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11449 wxString *arg5 = (wxString *) &arg5_defvalue ;
11450 long arg6 = (long) 0 ;
11451 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11452 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11453 wxFileDialog *result;
11454 bool temp2 = False ;
11455 bool temp3 = False ;
11456 bool temp4 = False ;
11457 bool temp5 = False ;
11458 wxPoint temp7 ;
11459 PyObject * obj0 = 0 ;
11460 PyObject * obj1 = 0 ;
11461 PyObject * obj2 = 0 ;
11462 PyObject * obj3 = 0 ;
11463 PyObject * obj4 = 0 ;
11464 PyObject * obj5 = 0 ;
11465 PyObject * obj6 = 0 ;
11466 char *kwnames[] = {
11467 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11468 };
11469
11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11473 if (obj1) {
11474 {
11475 arg2 = wxString_in_helper(obj1);
11476 if (arg2 == NULL) SWIG_fail;
11477 temp2 = True;
11478 }
11479 }
11480 if (obj2) {
11481 {
11482 arg3 = wxString_in_helper(obj2);
11483 if (arg3 == NULL) SWIG_fail;
11484 temp3 = True;
11485 }
11486 }
11487 if (obj3) {
11488 {
11489 arg4 = wxString_in_helper(obj3);
11490 if (arg4 == NULL) SWIG_fail;
11491 temp4 = True;
11492 }
11493 }
11494 if (obj4) {
11495 {
11496 arg5 = wxString_in_helper(obj4);
11497 if (arg5 == NULL) SWIG_fail;
11498 temp5 = True;
11499 }
11500 }
11501 if (obj5) {
11502 arg6 = (long) SWIG_AsLong(obj5);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 if (obj6) {
11506 {
11507 arg7 = &temp7;
11508 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11509 }
11510 }
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11514
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11519 {
11520 if (temp2)
11521 delete arg2;
11522 }
11523 {
11524 if (temp3)
11525 delete arg3;
11526 }
11527 {
11528 if (temp4)
11529 delete arg4;
11530 }
11531 {
11532 if (temp5)
11533 delete arg5;
11534 }
11535 return resultobj;
11536 fail:
11537 {
11538 if (temp2)
11539 delete arg2;
11540 }
11541 {
11542 if (temp3)
11543 delete arg3;
11544 }
11545 {
11546 if (temp4)
11547 delete arg4;
11548 }
11549 {
11550 if (temp5)
11551 delete arg5;
11552 }
11553 return NULL;
11554 }
11555
11556
11557 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11558 PyObject *resultobj;
11559 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11560 wxString *arg2 = 0 ;
11561 bool temp2 = False ;
11562 PyObject * obj0 = 0 ;
11563 PyObject * obj1 = 0 ;
11564 char *kwnames[] = {
11565 (char *) "self",(char *) "message", NULL
11566 };
11567
11568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11571 {
11572 arg2 = wxString_in_helper(obj1);
11573 if (arg2 == NULL) SWIG_fail;
11574 temp2 = True;
11575 }
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 (arg1)->SetMessage((wxString const &)*arg2);
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 Py_INCREF(Py_None); resultobj = Py_None;
11584 {
11585 if (temp2)
11586 delete arg2;
11587 }
11588 return resultobj;
11589 fail:
11590 {
11591 if (temp2)
11592 delete arg2;
11593 }
11594 return NULL;
11595 }
11596
11597
11598 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj;
11600 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11601 wxString *arg2 = 0 ;
11602 bool temp2 = False ;
11603 PyObject * obj0 = 0 ;
11604 PyObject * obj1 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self",(char *) "path", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11612 {
11613 arg2 = wxString_in_helper(obj1);
11614 if (arg2 == NULL) SWIG_fail;
11615 temp2 = True;
11616 }
11617 {
11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
11619 (arg1)->SetPath((wxString const &)*arg2);
11620
11621 wxPyEndAllowThreads(__tstate);
11622 if (PyErr_Occurred()) SWIG_fail;
11623 }
11624 Py_INCREF(Py_None); resultobj = Py_None;
11625 {
11626 if (temp2)
11627 delete arg2;
11628 }
11629 return resultobj;
11630 fail:
11631 {
11632 if (temp2)
11633 delete arg2;
11634 }
11635 return NULL;
11636 }
11637
11638
11639 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11642 wxString *arg2 = 0 ;
11643 bool temp2 = False ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self",(char *) "dir", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11653 {
11654 arg2 = wxString_in_helper(obj1);
11655 if (arg2 == NULL) SWIG_fail;
11656 temp2 = True;
11657 }
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 (arg1)->SetDirectory((wxString const &)*arg2);
11661
11662 wxPyEndAllowThreads(__tstate);
11663 if (PyErr_Occurred()) SWIG_fail;
11664 }
11665 Py_INCREF(Py_None); resultobj = Py_None;
11666 {
11667 if (temp2)
11668 delete arg2;
11669 }
11670 return resultobj;
11671 fail:
11672 {
11673 if (temp2)
11674 delete arg2;
11675 }
11676 return NULL;
11677 }
11678
11679
11680 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11681 PyObject *resultobj;
11682 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11683 wxString *arg2 = 0 ;
11684 bool temp2 = False ;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self",(char *) "name", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11694 {
11695 arg2 = wxString_in_helper(obj1);
11696 if (arg2 == NULL) SWIG_fail;
11697 temp2 = True;
11698 }
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 (arg1)->SetFilename((wxString const &)*arg2);
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 Py_INCREF(Py_None); resultobj = Py_None;
11707 {
11708 if (temp2)
11709 delete arg2;
11710 }
11711 return resultobj;
11712 fail:
11713 {
11714 if (temp2)
11715 delete arg2;
11716 }
11717 return NULL;
11718 }
11719
11720
11721 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj;
11723 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11724 wxString *arg2 = 0 ;
11725 bool temp2 = False ;
11726 PyObject * obj0 = 0 ;
11727 PyObject * obj1 = 0 ;
11728 char *kwnames[] = {
11729 (char *) "self",(char *) "wildCard", NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11735 {
11736 arg2 = wxString_in_helper(obj1);
11737 if (arg2 == NULL) SWIG_fail;
11738 temp2 = True;
11739 }
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 (arg1)->SetWildcard((wxString const &)*arg2);
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 Py_INCREF(Py_None); resultobj = Py_None;
11748 {
11749 if (temp2)
11750 delete arg2;
11751 }
11752 return resultobj;
11753 fail:
11754 {
11755 if (temp2)
11756 delete arg2;
11757 }
11758 return NULL;
11759 }
11760
11761
11762 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11765 long arg2 ;
11766 PyObject * obj0 = 0 ;
11767 PyObject * obj1 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self",(char *) "style", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11775 arg2 = (long) SWIG_AsLong(obj1);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 (arg1)->SetStyle(arg2);
11780
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 Py_INCREF(Py_None); resultobj = Py_None;
11785 return resultobj;
11786 fail:
11787 return NULL;
11788 }
11789
11790
11791 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj;
11793 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11794 int arg2 ;
11795 PyObject * obj0 = 0 ;
11796 PyObject * obj1 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self",(char *) "filterIndex", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11804 arg2 = (int) SWIG_AsInt(obj1);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 (arg1)->SetFilterIndex(arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 Py_INCREF(Py_None); resultobj = Py_None;
11814 return resultobj;
11815 fail:
11816 return NULL;
11817 }
11818
11819
11820 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11821 PyObject *resultobj;
11822 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11823 wxString result;
11824 PyObject * obj0 = 0 ;
11825 char *kwnames[] = {
11826 (char *) "self", NULL
11827 };
11828
11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 result = ((wxFileDialog const *)arg1)->GetMessage();
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 {
11840 #if wxUSE_UNICODE
11841 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11842 #else
11843 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11844 #endif
11845 }
11846 return resultobj;
11847 fail:
11848 return NULL;
11849 }
11850
11851
11852 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11853 PyObject *resultobj;
11854 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11855 wxString result;
11856 PyObject * obj0 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "self", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
11866 result = ((wxFileDialog const *)arg1)->GetPath();
11867
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 {
11872 #if wxUSE_UNICODE
11873 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11874 #else
11875 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11876 #endif
11877 }
11878 return resultobj;
11879 fail:
11880 return NULL;
11881 }
11882
11883
11884 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj;
11886 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11887 wxString result;
11888 PyObject * obj0 = 0 ;
11889 char *kwnames[] = {
11890 (char *) "self", NULL
11891 };
11892
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 result = ((wxFileDialog const *)arg1)->GetDirectory();
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 {
11904 #if wxUSE_UNICODE
11905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11906 #else
11907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11908 #endif
11909 }
11910 return resultobj;
11911 fail:
11912 return NULL;
11913 }
11914
11915
11916 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj;
11918 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11919 wxString result;
11920 PyObject * obj0 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "self", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11928 {
11929 PyThreadState* __tstate = wxPyBeginAllowThreads();
11930 result = ((wxFileDialog const *)arg1)->GetFilename();
11931
11932 wxPyEndAllowThreads(__tstate);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 {
11936 #if wxUSE_UNICODE
11937 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11938 #else
11939 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11940 #endif
11941 }
11942 return resultobj;
11943 fail:
11944 return NULL;
11945 }
11946
11947
11948 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11949 PyObject *resultobj;
11950 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11951 wxString result;
11952 PyObject * obj0 = 0 ;
11953 char *kwnames[] = {
11954 (char *) "self", NULL
11955 };
11956
11957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 result = ((wxFileDialog const *)arg1)->GetWildcard();
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 {
11968 #if wxUSE_UNICODE
11969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11970 #else
11971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11972 #endif
11973 }
11974 return resultobj;
11975 fail:
11976 return NULL;
11977 }
11978
11979
11980 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11981 PyObject *resultobj;
11982 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11983 long result;
11984 PyObject * obj0 = 0 ;
11985 char *kwnames[] = {
11986 (char *) "self", NULL
11987 };
11988
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_FromLong((long)result);
12000 return resultobj;
12001 fail:
12002 return NULL;
12003 }
12004
12005
12006 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12009 int result;
12010 PyObject * obj0 = 0 ;
12011 char *kwnames[] = {
12012 (char *) "self", NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = SWIG_FromInt((int)result);
12026 return resultobj;
12027 fail:
12028 return NULL;
12029 }
12030
12031
12032 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj;
12034 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12035 PyObject *result;
12036 PyObject * obj0 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 resultobj = result;
12052 return resultobj;
12053 fail:
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12061 PyObject *result;
12062 PyObject * obj0 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 resultobj = result;
12078 return resultobj;
12079 fail:
12080 return NULL;
12081 }
12082
12083
12084 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12085 PyObject *obj;
12086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12087 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12088 Py_INCREF(obj);
12089 return Py_BuildValue((char *)"");
12090 }
12091 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj;
12093 wxWindow *arg1 = (wxWindow *) 0 ;
12094 wxString *arg2 = 0 ;
12095 wxString *arg3 = 0 ;
12096 int arg4 = (int) 0 ;
12097 wxString *arg5 = (wxString *) 0 ;
12098 long arg6 = (long) wxCHOICEDLG_STYLE ;
12099 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12100 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12101 wxMultiChoiceDialog *result;
12102 bool temp2 = False ;
12103 bool temp3 = False ;
12104 wxPoint temp6 ;
12105 PyObject * obj0 = 0 ;
12106 PyObject * obj1 = 0 ;
12107 PyObject * obj2 = 0 ;
12108 PyObject * obj3 = 0 ;
12109 PyObject * obj4 = 0 ;
12110 PyObject * obj5 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12118 {
12119 arg2 = wxString_in_helper(obj1);
12120 if (arg2 == NULL) SWIG_fail;
12121 temp2 = True;
12122 }
12123 {
12124 arg3 = wxString_in_helper(obj2);
12125 if (arg3 == NULL) SWIG_fail;
12126 temp3 = True;
12127 }
12128 if (obj3) {
12129 {
12130 arg4 = PyList_Size(obj3);
12131 arg5 = wxString_LIST_helper(obj3);
12132 if (arg5 == NULL) SWIG_fail;
12133 }
12134 }
12135 if (obj4) {
12136 arg6 = (long) SWIG_AsLong(obj4);
12137 if (PyErr_Occurred()) SWIG_fail;
12138 }
12139 if (obj5) {
12140 {
12141 arg7 = &temp6;
12142 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12143 }
12144 }
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12153 {
12154 if (temp2)
12155 delete arg2;
12156 }
12157 {
12158 if (temp3)
12159 delete arg3;
12160 }
12161 {
12162 if (arg5) delete [] arg5;
12163 }
12164 return resultobj;
12165 fail:
12166 {
12167 if (temp2)
12168 delete arg2;
12169 }
12170 {
12171 if (temp3)
12172 delete arg3;
12173 }
12174 {
12175 if (arg5) delete [] arg5;
12176 }
12177 return NULL;
12178 }
12179
12180
12181 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12184 wxArrayInt *arg2 = 0 ;
12185 bool temp2 = False ;
12186 PyObject * obj0 = 0 ;
12187 PyObject * obj1 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self",(char *) "selections", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12195 {
12196 if (! PySequence_Check(obj1)) {
12197 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12198 SWIG_fail;
12199 }
12200 arg2 = new wxArrayInt;
12201 temp2 = True;
12202 int i, len=PySequence_Length(obj1);
12203 for (i=0; i<len; i++) {
12204 PyObject* item = PySequence_GetItem(obj1, i);
12205 PyObject* number = PyNumber_Int(item);
12206 arg2->Add(PyInt_AS_LONG(number));
12207 Py_DECREF(item);
12208 Py_DECREF(number);
12209 }
12210 }
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 Py_INCREF(Py_None); resultobj = Py_None;
12219 {
12220 if (temp2) delete arg2;
12221 }
12222 return resultobj;
12223 fail:
12224 {
12225 if (temp2) delete arg2;
12226 }
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12234 PyObject *result;
12235 PyObject * obj0 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 resultobj = result;
12251 return resultobj;
12252 fail:
12253 return NULL;
12254 }
12255
12256
12257 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12258 PyObject *obj;
12259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12260 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12261 Py_INCREF(obj);
12262 return Py_BuildValue((char *)"");
12263 }
12264 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12265 PyObject *resultobj;
12266 wxWindow *arg1 = (wxWindow *) 0 ;
12267 wxString *arg2 = 0 ;
12268 wxString *arg3 = 0 ;
12269 int arg4 ;
12270 wxString *arg5 = (wxString *) 0 ;
12271 long arg6 = (long) wxCHOICEDLG_STYLE ;
12272 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12273 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12274 wxSingleChoiceDialog *result;
12275 bool temp2 = False ;
12276 bool temp3 = False ;
12277 wxPoint temp6 ;
12278 PyObject * obj0 = 0 ;
12279 PyObject * obj1 = 0 ;
12280 PyObject * obj2 = 0 ;
12281 PyObject * obj3 = 0 ;
12282 PyObject * obj4 = 0 ;
12283 PyObject * obj5 = 0 ;
12284 char *kwnames[] = {
12285 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12286 };
12287
12288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12291 {
12292 arg2 = wxString_in_helper(obj1);
12293 if (arg2 == NULL) SWIG_fail;
12294 temp2 = True;
12295 }
12296 {
12297 arg3 = wxString_in_helper(obj2);
12298 if (arg3 == NULL) SWIG_fail;
12299 temp3 = True;
12300 }
12301 {
12302 arg4 = PyList_Size(obj3);
12303 arg5 = wxString_LIST_helper(obj3);
12304 if (arg5 == NULL) SWIG_fail;
12305 }
12306 if (obj4) {
12307 arg6 = (long) SWIG_AsLong(obj4);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 if (obj5) {
12311 {
12312 arg7 = &temp6;
12313 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12314 }
12315 }
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12319
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12324 {
12325 if (temp2)
12326 delete arg2;
12327 }
12328 {
12329 if (temp3)
12330 delete arg3;
12331 }
12332 {
12333 if (arg5) delete [] arg5;
12334 }
12335 return resultobj;
12336 fail:
12337 {
12338 if (temp2)
12339 delete arg2;
12340 }
12341 {
12342 if (temp3)
12343 delete arg3;
12344 }
12345 {
12346 if (arg5) delete [] arg5;
12347 }
12348 return NULL;
12349 }
12350
12351
12352 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12355 int result;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (int)(arg1)->GetSelection();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = SWIG_FromInt((int)result);
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12381 wxString result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (arg1)->GetStringSelection();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 {
12398 #if wxUSE_UNICODE
12399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12400 #else
12401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12402 #endif
12403 }
12404 return resultobj;
12405 fail:
12406 return NULL;
12407 }
12408
12409
12410 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj;
12412 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12413 int arg2 ;
12414 PyObject * obj0 = 0 ;
12415 PyObject * obj1 = 0 ;
12416 char *kwnames[] = {
12417 (char *) "self",(char *) "sel", NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12423 arg2 = (int) SWIG_AsInt(obj1);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 (arg1)->SetSelection(arg2);
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 Py_INCREF(Py_None); resultobj = Py_None;
12433 return resultobj;
12434 fail:
12435 return NULL;
12436 }
12437
12438
12439 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12440 PyObject *obj;
12441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12442 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12443 Py_INCREF(obj);
12444 return Py_BuildValue((char *)"");
12445 }
12446 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj;
12448 wxWindow *arg1 = (wxWindow *) 0 ;
12449 wxString *arg2 = 0 ;
12450 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12451 wxString *arg3 = (wxString *) &arg3_defvalue ;
12452 wxString const &arg4_defvalue = wxPyEmptyString ;
12453 wxString *arg4 = (wxString *) &arg4_defvalue ;
12454 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12455 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12456 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12457 wxTextEntryDialog *result;
12458 bool temp2 = False ;
12459 bool temp3 = False ;
12460 bool temp4 = False ;
12461 wxPoint temp6 ;
12462 PyObject * obj0 = 0 ;
12463 PyObject * obj1 = 0 ;
12464 PyObject * obj2 = 0 ;
12465 PyObject * obj3 = 0 ;
12466 PyObject * obj4 = 0 ;
12467 PyObject * obj5 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12475 {
12476 arg2 = wxString_in_helper(obj1);
12477 if (arg2 == NULL) SWIG_fail;
12478 temp2 = True;
12479 }
12480 if (obj2) {
12481 {
12482 arg3 = wxString_in_helper(obj2);
12483 if (arg3 == NULL) SWIG_fail;
12484 temp3 = True;
12485 }
12486 }
12487 if (obj3) {
12488 {
12489 arg4 = wxString_in_helper(obj3);
12490 if (arg4 == NULL) SWIG_fail;
12491 temp4 = True;
12492 }
12493 }
12494 if (obj4) {
12495 arg5 = (long) SWIG_AsLong(obj4);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 if (obj5) {
12499 {
12500 arg6 = &temp6;
12501 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12502 }
12503 }
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
12511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12512 {
12513 if (temp2)
12514 delete arg2;
12515 }
12516 {
12517 if (temp3)
12518 delete arg3;
12519 }
12520 {
12521 if (temp4)
12522 delete arg4;
12523 }
12524 return resultobj;
12525 fail:
12526 {
12527 if (temp2)
12528 delete arg2;
12529 }
12530 {
12531 if (temp3)
12532 delete arg3;
12533 }
12534 {
12535 if (temp4)
12536 delete arg4;
12537 }
12538 return NULL;
12539 }
12540
12541
12542 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12543 PyObject *resultobj;
12544 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12545 wxString result;
12546 PyObject * obj0 = 0 ;
12547 char *kwnames[] = {
12548 (char *) "self", NULL
12549 };
12550
12551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 result = (arg1)->GetValue();
12557
12558 wxPyEndAllowThreads(__tstate);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 {
12562 #if wxUSE_UNICODE
12563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12564 #else
12565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12566 #endif
12567 }
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj;
12576 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12577 wxString *arg2 = 0 ;
12578 bool temp2 = False ;
12579 PyObject * obj0 = 0 ;
12580 PyObject * obj1 = 0 ;
12581 char *kwnames[] = {
12582 (char *) "self",(char *) "value", NULL
12583 };
12584
12585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12588 {
12589 arg2 = wxString_in_helper(obj1);
12590 if (arg2 == NULL) SWIG_fail;
12591 temp2 = True;
12592 }
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 (arg1)->SetValue((wxString const &)*arg2);
12596
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 Py_INCREF(Py_None); resultobj = Py_None;
12601 {
12602 if (temp2)
12603 delete arg2;
12604 }
12605 return resultobj;
12606 fail:
12607 {
12608 if (temp2)
12609 delete arg2;
12610 }
12611 return NULL;
12612 }
12613
12614
12615 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12616 PyObject *obj;
12617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12618 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12619 Py_INCREF(obj);
12620 return Py_BuildValue((char *)"");
12621 }
12622 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxFontData *result;
12625 char *kwnames[] = {
12626 NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
12632 result = (wxFontData *)new wxFontData();
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12638 return resultobj;
12639 fail:
12640 return NULL;
12641 }
12642
12643
12644 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxFontData *arg1 = (wxFontData *) 0 ;
12647 PyObject * obj0 = 0 ;
12648 char *kwnames[] = {
12649 (char *) "self", NULL
12650 };
12651
12652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 delete arg1;
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666 }
12667
12668
12669 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj;
12671 wxFontData *arg1 = (wxFontData *) 0 ;
12672 bool arg2 ;
12673 PyObject * obj0 = 0 ;
12674 PyObject * obj1 = 0 ;
12675 char *kwnames[] = {
12676 (char *) "self",(char *) "enable", NULL
12677 };
12678
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12682 arg2 = (bool) SWIG_AsBool(obj1);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 (arg1)->EnableEffects(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_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12699 PyObject *resultobj;
12700 wxFontData *arg1 = (wxFontData *) 0 ;
12701 bool result;
12702 PyObject * obj0 = 0 ;
12703 char *kwnames[] = {
12704 (char *) "self", NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 result = (bool)(arg1)->GetAllowSymbols();
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 {
12718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12719 }
12720 return resultobj;
12721 fail:
12722 return NULL;
12723 }
12724
12725
12726 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxFontData *arg1 = (wxFontData *) 0 ;
12729 wxColour result;
12730 PyObject * obj0 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "self", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12738 {
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 result = (arg1)->GetColour();
12741
12742 wxPyEndAllowThreads(__tstate);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 }
12745 {
12746 wxColour * resultptr;
12747 resultptr = new wxColour((wxColour &) result);
12748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12749 }
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj;
12758 wxFontData *arg1 = (wxFontData *) 0 ;
12759 wxFont result;
12760 PyObject * obj0 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 result = (arg1)->GetChosenFont();
12771
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 {
12776 wxFont * resultptr;
12777 resultptr = new wxFont((wxFont &) result);
12778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12779 }
12780 return resultobj;
12781 fail:
12782 return NULL;
12783 }
12784
12785
12786 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12787 PyObject *resultobj;
12788 wxFontData *arg1 = (wxFontData *) 0 ;
12789 bool result;
12790 PyObject * obj0 = 0 ;
12791 char *kwnames[] = {
12792 (char *) "self", NULL
12793 };
12794
12795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12798 {
12799 PyThreadState* __tstate = wxPyBeginAllowThreads();
12800 result = (bool)(arg1)->GetEnableEffects();
12801
12802 wxPyEndAllowThreads(__tstate);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 }
12805 {
12806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12807 }
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj;
12816 wxFontData *arg1 = (wxFontData *) 0 ;
12817 wxFont result;
12818 PyObject * obj0 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (arg1)->GetInitialFont();
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 {
12834 wxFont * resultptr;
12835 resultptr = new wxFont((wxFont &) result);
12836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12837 }
12838 return resultobj;
12839 fail:
12840 return NULL;
12841 }
12842
12843
12844 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj;
12846 wxFontData *arg1 = (wxFontData *) 0 ;
12847 bool result;
12848 PyObject * obj0 = 0 ;
12849 char *kwnames[] = {
12850 (char *) "self", NULL
12851 };
12852
12853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12856 {
12857 PyThreadState* __tstate = wxPyBeginAllowThreads();
12858 result = (bool)(arg1)->GetShowHelp();
12859
12860 wxPyEndAllowThreads(__tstate);
12861 if (PyErr_Occurred()) SWIG_fail;
12862 }
12863 {
12864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12865 }
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxFontData *arg1 = (wxFontData *) 0 ;
12875 bool arg2 ;
12876 PyObject * obj0 = 0 ;
12877 PyObject * obj1 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self",(char *) "allowSymbols", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12885 arg2 = (bool) SWIG_AsBool(obj1);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 (arg1)->SetAllowSymbols(arg2);
12890
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 Py_INCREF(Py_None); resultobj = Py_None;
12895 return resultobj;
12896 fail:
12897 return NULL;
12898 }
12899
12900
12901 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12902 PyObject *resultobj;
12903 wxFontData *arg1 = (wxFontData *) 0 ;
12904 wxFont *arg2 = 0 ;
12905 PyObject * obj0 = 0 ;
12906 PyObject * obj1 = 0 ;
12907 char *kwnames[] = {
12908 (char *) "self",(char *) "font", NULL
12909 };
12910
12911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12915 SWIG_POINTER_EXCEPTION | 0)) == -1)
12916 SWIG_fail;
12917 if (arg2 == NULL) {
12918 PyErr_SetString(PyExc_TypeError,"null reference");
12919 SWIG_fail;
12920 }
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 (arg1)->SetChosenFont((wxFont const &)*arg2);
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 Py_INCREF(Py_None); resultobj = Py_None;
12929 return resultobj;
12930 fail:
12931 return NULL;
12932 }
12933
12934
12935 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12936 PyObject *resultobj;
12937 wxFontData *arg1 = (wxFontData *) 0 ;
12938 wxColour *arg2 = 0 ;
12939 wxColour temp2 ;
12940 PyObject * obj0 = 0 ;
12941 PyObject * obj1 = 0 ;
12942 char *kwnames[] = {
12943 (char *) "self",(char *) "colour", NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12949 {
12950 arg2 = &temp2;
12951 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12952 }
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 (arg1)->SetColour((wxColour const &)*arg2);
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 Py_INCREF(Py_None); resultobj = Py_None;
12961 return resultobj;
12962 fail:
12963 return NULL;
12964 }
12965
12966
12967 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj;
12969 wxFontData *arg1 = (wxFontData *) 0 ;
12970 wxFont *arg2 = 0 ;
12971 PyObject * obj0 = 0 ;
12972 PyObject * obj1 = 0 ;
12973 char *kwnames[] = {
12974 (char *) "self",(char *) "font", NULL
12975 };
12976
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12981 SWIG_POINTER_EXCEPTION | 0)) == -1)
12982 SWIG_fail;
12983 if (arg2 == NULL) {
12984 PyErr_SetString(PyExc_TypeError,"null reference");
12985 SWIG_fail;
12986 }
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 (arg1)->SetInitialFont((wxFont const &)*arg2);
12990
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 Py_INCREF(Py_None); resultobj = Py_None;
12995 return resultobj;
12996 fail:
12997 return NULL;
12998 }
12999
13000
13001 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxFontData *arg1 = (wxFontData *) 0 ;
13004 int arg2 ;
13005 int arg3 ;
13006 PyObject * obj0 = 0 ;
13007 PyObject * obj1 = 0 ;
13008 PyObject * obj2 = 0 ;
13009 char *kwnames[] = {
13010 (char *) "self",(char *) "min",(char *) "max", NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13016 arg2 = (int) SWIG_AsInt(obj1);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 arg3 = (int) SWIG_AsInt(obj2);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 (arg1)->SetRange(arg2,arg3);
13023
13024 wxPyEndAllowThreads(__tstate);
13025 if (PyErr_Occurred()) SWIG_fail;
13026 }
13027 Py_INCREF(Py_None); resultobj = Py_None;
13028 return resultobj;
13029 fail:
13030 return NULL;
13031 }
13032
13033
13034 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13035 PyObject *resultobj;
13036 wxFontData *arg1 = (wxFontData *) 0 ;
13037 bool arg2 ;
13038 PyObject * obj0 = 0 ;
13039 PyObject * obj1 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "self",(char *) "showHelp", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13047 arg2 = (bool) SWIG_AsBool(obj1);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 (arg1)->SetShowHelp(arg2);
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 Py_INCREF(Py_None); resultobj = Py_None;
13057 return resultobj;
13058 fail:
13059 return NULL;
13060 }
13061
13062
13063 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13064 PyObject *obj;
13065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13066 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13067 Py_INCREF(obj);
13068 return Py_BuildValue((char *)"");
13069 }
13070 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13071 PyObject *resultobj;
13072 wxWindow *arg1 = (wxWindow *) 0 ;
13073 wxFontData *arg2 = 0 ;
13074 wxFontDialog *result;
13075 PyObject * obj0 = 0 ;
13076 PyObject * obj1 = 0 ;
13077 char *kwnames[] = {
13078 (char *) "parent",(char *) "data", NULL
13079 };
13080
13081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13085 SWIG_POINTER_EXCEPTION | 0)) == -1)
13086 SWIG_fail;
13087 if (arg2 == NULL) {
13088 PyErr_SetString(PyExc_TypeError,"null reference");
13089 SWIG_fail;
13090 }
13091 {
13092 PyThreadState* __tstate = wxPyBeginAllowThreads();
13093 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13094
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13099 return resultobj;
13100 fail:
13101 return NULL;
13102 }
13103
13104
13105 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13108 wxFontData *result;
13109 PyObject * obj0 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 {
13120 wxFontData &_result_ref = (arg1)->GetFontData();
13121 result = (wxFontData *) &_result_ref;
13122 }
13123
13124 wxPyEndAllowThreads(__tstate);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13128 return resultobj;
13129 fail:
13130 return NULL;
13131 }
13132
13133
13134 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13135 PyObject *obj;
13136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13137 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13138 Py_INCREF(obj);
13139 return Py_BuildValue((char *)"");
13140 }
13141 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13142 PyObject *resultobj;
13143 wxWindow *arg1 = (wxWindow *) 0 ;
13144 wxString *arg2 = 0 ;
13145 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13146 wxString *arg3 = (wxString *) &arg3_defvalue ;
13147 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13148 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13149 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13150 wxMessageDialog *result;
13151 bool temp2 = False ;
13152 bool temp3 = False ;
13153 wxPoint temp5 ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 PyObject * obj2 = 0 ;
13157 PyObject * obj3 = 0 ;
13158 PyObject * obj4 = 0 ;
13159 char *kwnames[] = {
13160 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13161 };
13162
13163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13166 {
13167 arg2 = wxString_in_helper(obj1);
13168 if (arg2 == NULL) SWIG_fail;
13169 temp2 = True;
13170 }
13171 if (obj2) {
13172 {
13173 arg3 = wxString_in_helper(obj2);
13174 if (arg3 == NULL) SWIG_fail;
13175 temp3 = True;
13176 }
13177 }
13178 if (obj3) {
13179 arg4 = (long) SWIG_AsLong(obj3);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 if (obj4) {
13183 {
13184 arg5 = &temp5;
13185 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13186 }
13187 }
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13196 {
13197 if (temp2)
13198 delete arg2;
13199 }
13200 {
13201 if (temp3)
13202 delete arg3;
13203 }
13204 return resultobj;
13205 fail:
13206 {
13207 if (temp2)
13208 delete arg2;
13209 }
13210 {
13211 if (temp3)
13212 delete arg3;
13213 }
13214 return NULL;
13215 }
13216
13217
13218 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13219 PyObject *obj;
13220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13221 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13222 Py_INCREF(obj);
13223 return Py_BuildValue((char *)"");
13224 }
13225 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13226 PyObject *resultobj;
13227 wxString *arg1 = 0 ;
13228 wxString *arg2 = 0 ;
13229 int arg3 = (int) 100 ;
13230 wxWindow *arg4 = (wxWindow *) NULL ;
13231 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13232 wxProgressDialog *result;
13233 bool temp1 = False ;
13234 bool temp2 = False ;
13235 PyObject * obj0 = 0 ;
13236 PyObject * obj1 = 0 ;
13237 PyObject * obj2 = 0 ;
13238 PyObject * obj3 = 0 ;
13239 PyObject * obj4 = 0 ;
13240 char *kwnames[] = {
13241 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13242 };
13243
13244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13245 {
13246 arg1 = wxString_in_helper(obj0);
13247 if (arg1 == NULL) SWIG_fail;
13248 temp1 = True;
13249 }
13250 {
13251 arg2 = wxString_in_helper(obj1);
13252 if (arg2 == NULL) SWIG_fail;
13253 temp2 = True;
13254 }
13255 if (obj2) {
13256 arg3 = (int) SWIG_AsInt(obj2);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 if (obj3) {
13260 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13262 }
13263 if (obj4) {
13264 arg5 = (int) SWIG_AsInt(obj4);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13275 {
13276 if (temp1)
13277 delete arg1;
13278 }
13279 {
13280 if (temp2)
13281 delete arg2;
13282 }
13283 return resultobj;
13284 fail:
13285 {
13286 if (temp1)
13287 delete arg1;
13288 }
13289 {
13290 if (temp2)
13291 delete arg2;
13292 }
13293 return NULL;
13294 }
13295
13296
13297 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13298 PyObject *resultobj;
13299 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13300 int arg2 ;
13301 wxString const &arg3_defvalue = wxPyEmptyString ;
13302 wxString *arg3 = (wxString *) &arg3_defvalue ;
13303 bool result;
13304 bool temp3 = False ;
13305 PyObject * obj0 = 0 ;
13306 PyObject * obj1 = 0 ;
13307 PyObject * obj2 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13315 arg2 = (int) SWIG_AsInt(obj1);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 if (obj2) {
13318 {
13319 arg3 = wxString_in_helper(obj2);
13320 if (arg3 == NULL) SWIG_fail;
13321 temp3 = True;
13322 }
13323 }
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 {
13332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13333 }
13334 {
13335 if (temp3)
13336 delete arg3;
13337 }
13338 return resultobj;
13339 fail:
13340 {
13341 if (temp3)
13342 delete arg3;
13343 }
13344 return NULL;
13345 }
13346
13347
13348 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj;
13350 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13351 PyObject * obj0 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self", NULL
13354 };
13355
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 (arg1)->Resume();
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 Py_INCREF(Py_None); resultobj = Py_None;
13367 return resultobj;
13368 fail:
13369 return NULL;
13370 }
13371
13372
13373 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13374 PyObject *obj;
13375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13376 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13377 Py_INCREF(obj);
13378 return Py_BuildValue((char *)"");
13379 }
13380 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj;
13382 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13383 int arg2 = (int) 0 ;
13384 wxFindDialogEvent *result;
13385 PyObject * obj0 = 0 ;
13386 PyObject * obj1 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "commandType",(char *) "id", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13392 if (obj0) {
13393 arg1 = (wxEventType) SWIG_AsInt(obj0);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 if (obj1) {
13397 arg2 = (int) SWIG_AsInt(obj1);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13408 return resultobj;
13409 fail:
13410 return NULL;
13411 }
13412
13413
13414 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13415 PyObject *resultobj;
13416 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13417 int result;
13418 PyObject * obj0 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 result = (int)(arg1)->GetFlags();
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 resultobj = SWIG_FromInt((int)result);
13434 return resultobj;
13435 fail:
13436 return NULL;
13437 }
13438
13439
13440 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj;
13442 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13443 wxString *result;
13444 PyObject * obj0 = 0 ;
13445 char *kwnames[] = {
13446 (char *) "self", NULL
13447 };
13448
13449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 {
13455 wxString const &_result_ref = (arg1)->GetFindString();
13456 result = (wxString *) &_result_ref;
13457 }
13458
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
13462 {
13463 #if wxUSE_UNICODE
13464 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13465 #else
13466 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13467 #endif
13468 }
13469 return resultobj;
13470 fail:
13471 return NULL;
13472 }
13473
13474
13475 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13476 PyObject *resultobj;
13477 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13478 wxString *result;
13479 PyObject * obj0 = 0 ;
13480 char *kwnames[] = {
13481 (char *) "self", NULL
13482 };
13483
13484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 {
13490 wxString const &_result_ref = (arg1)->GetReplaceString();
13491 result = (wxString *) &_result_ref;
13492 }
13493
13494 wxPyEndAllowThreads(__tstate);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
13497 {
13498 #if wxUSE_UNICODE
13499 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13500 #else
13501 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13502 #endif
13503 }
13504 return resultobj;
13505 fail:
13506 return NULL;
13507 }
13508
13509
13510 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13511 PyObject *resultobj;
13512 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13513 wxFindReplaceDialog *result;
13514 PyObject * obj0 = 0 ;
13515 char *kwnames[] = {
13516 (char *) "self", NULL
13517 };
13518
13519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13530 return resultobj;
13531 fail:
13532 return NULL;
13533 }
13534
13535
13536 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj;
13538 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13539 int arg2 ;
13540 PyObject * obj0 = 0 ;
13541 PyObject * obj1 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self",(char *) "flags", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13549 arg2 = (int) SWIG_AsInt(obj1);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 (arg1)->SetFlags(arg2);
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 Py_INCREF(Py_None); resultobj = Py_None;
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject *resultobj;
13567 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13568 wxString *arg2 = 0 ;
13569 bool temp2 = False ;
13570 PyObject * obj0 = 0 ;
13571 PyObject * obj1 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "str", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13579 {
13580 arg2 = wxString_in_helper(obj1);
13581 if (arg2 == NULL) SWIG_fail;
13582 temp2 = True;
13583 }
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->SetFindString((wxString const &)*arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 Py_INCREF(Py_None); resultobj = Py_None;
13592 {
13593 if (temp2)
13594 delete arg2;
13595 }
13596 return resultobj;
13597 fail:
13598 {
13599 if (temp2)
13600 delete arg2;
13601 }
13602 return NULL;
13603 }
13604
13605
13606 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13609 wxString *arg2 = 0 ;
13610 bool temp2 = False ;
13611 PyObject * obj0 = 0 ;
13612 PyObject * obj1 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "self",(char *) "str", NULL
13615 };
13616
13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13620 {
13621 arg2 = wxString_in_helper(obj1);
13622 if (arg2 == NULL) SWIG_fail;
13623 temp2 = True;
13624 }
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 (arg1)->SetReplaceString((wxString const &)*arg2);
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 Py_INCREF(Py_None); resultobj = Py_None;
13633 {
13634 if (temp2)
13635 delete arg2;
13636 }
13637 return resultobj;
13638 fail:
13639 {
13640 if (temp2)
13641 delete arg2;
13642 }
13643 return NULL;
13644 }
13645
13646
13647 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13648 PyObject *obj;
13649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13650 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13651 Py_INCREF(obj);
13652 return Py_BuildValue((char *)"");
13653 }
13654 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13655 PyObject *resultobj;
13656 int arg1 = (int) 0 ;
13657 wxFindReplaceData *result;
13658 PyObject * obj0 = 0 ;
13659 char *kwnames[] = {
13660 (char *) "flags", NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13664 if (obj0) {
13665 arg1 = (int) SWIG_AsInt(obj0);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13676 return resultobj;
13677 fail:
13678 return NULL;
13679 }
13680
13681
13682 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj;
13684 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13685 PyObject * obj0 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 delete arg1;
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 Py_INCREF(Py_None); resultobj = Py_None;
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13710 wxString *result;
13711 PyObject * obj0 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 {
13722 wxString const &_result_ref = (arg1)->GetFindString();
13723 result = (wxString *) &_result_ref;
13724 }
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 {
13730 #if wxUSE_UNICODE
13731 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13732 #else
13733 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13734 #endif
13735 }
13736 return resultobj;
13737 fail:
13738 return NULL;
13739 }
13740
13741
13742 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13745 wxString *result;
13746 PyObject * obj0 = 0 ;
13747 char *kwnames[] = {
13748 (char *) "self", NULL
13749 };
13750
13751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 {
13757 wxString const &_result_ref = (arg1)->GetReplaceString();
13758 result = (wxString *) &_result_ref;
13759 }
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 {
13765 #if wxUSE_UNICODE
13766 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13767 #else
13768 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13769 #endif
13770 }
13771 return resultobj;
13772 fail:
13773 return NULL;
13774 }
13775
13776
13777 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj;
13779 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13780 int result;
13781 PyObject * obj0 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "self", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13789 {
13790 PyThreadState* __tstate = wxPyBeginAllowThreads();
13791 result = (int)(arg1)->GetFlags();
13792
13793 wxPyEndAllowThreads(__tstate);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 resultobj = SWIG_FromInt((int)result);
13797 return resultobj;
13798 fail:
13799 return NULL;
13800 }
13801
13802
13803 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13804 PyObject *resultobj;
13805 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13806 int arg2 ;
13807 PyObject * obj0 = 0 ;
13808 PyObject * obj1 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self",(char *) "flags", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13816 arg2 = (int) SWIG_AsInt(obj1);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 (arg1)->SetFlags(arg2);
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 Py_INCREF(Py_None); resultobj = Py_None;
13826 return resultobj;
13827 fail:
13828 return NULL;
13829 }
13830
13831
13832 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13833 PyObject *resultobj;
13834 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13835 wxString *arg2 = 0 ;
13836 bool temp2 = False ;
13837 PyObject * obj0 = 0 ;
13838 PyObject * obj1 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self",(char *) "str", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13846 {
13847 arg2 = wxString_in_helper(obj1);
13848 if (arg2 == NULL) SWIG_fail;
13849 temp2 = True;
13850 }
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 (arg1)->SetFindString((wxString const &)*arg2);
13854
13855 wxPyEndAllowThreads(__tstate);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 Py_INCREF(Py_None); resultobj = Py_None;
13859 {
13860 if (temp2)
13861 delete arg2;
13862 }
13863 return resultobj;
13864 fail:
13865 {
13866 if (temp2)
13867 delete arg2;
13868 }
13869 return NULL;
13870 }
13871
13872
13873 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13874 PyObject *resultobj;
13875 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13876 wxString *arg2 = 0 ;
13877 bool temp2 = False ;
13878 PyObject * obj0 = 0 ;
13879 PyObject * obj1 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self",(char *) "str", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13887 {
13888 arg2 = wxString_in_helper(obj1);
13889 if (arg2 == NULL) SWIG_fail;
13890 temp2 = True;
13891 }
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 (arg1)->SetReplaceString((wxString const &)*arg2);
13895
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
13899 Py_INCREF(Py_None); resultobj = Py_None;
13900 {
13901 if (temp2)
13902 delete arg2;
13903 }
13904 return resultobj;
13905 fail:
13906 {
13907 if (temp2)
13908 delete arg2;
13909 }
13910 return NULL;
13911 }
13912
13913
13914 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13915 PyObject *obj;
13916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13917 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13918 Py_INCREF(obj);
13919 return Py_BuildValue((char *)"");
13920 }
13921 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj;
13923 wxWindow *arg1 = (wxWindow *) 0 ;
13924 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13925 wxString *arg3 = 0 ;
13926 int arg4 = (int) 0 ;
13927 wxFindReplaceDialog *result;
13928 bool temp3 = False ;
13929 PyObject * obj0 = 0 ;
13930 PyObject * obj1 = 0 ;
13931 PyObject * obj2 = 0 ;
13932 PyObject * obj3 = 0 ;
13933 char *kwnames[] = {
13934 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13935 };
13936
13937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13942 {
13943 arg3 = wxString_in_helper(obj2);
13944 if (arg3 == NULL) SWIG_fail;
13945 temp3 = True;
13946 }
13947 if (obj3) {
13948 arg4 = (int) SWIG_AsInt(obj3);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13959 {
13960 if (temp3)
13961 delete arg3;
13962 }
13963 return resultobj;
13964 fail:
13965 {
13966 if (temp3)
13967 delete arg3;
13968 }
13969 return NULL;
13970 }
13971
13972
13973 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj;
13975 wxFindReplaceDialog *result;
13976 char *kwnames[] = {
13977 NULL
13978 };
13979
13980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13984
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13989 return resultobj;
13990 fail:
13991 return NULL;
13992 }
13993
13994
13995 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj;
13997 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13998 wxWindow *arg2 = (wxWindow *) 0 ;
13999 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14000 wxString *arg4 = 0 ;
14001 int arg5 = (int) 0 ;
14002 bool result;
14003 bool temp4 = False ;
14004 PyObject * obj0 = 0 ;
14005 PyObject * obj1 = 0 ;
14006 PyObject * obj2 = 0 ;
14007 PyObject * obj3 = 0 ;
14008 PyObject * obj4 = 0 ;
14009 char *kwnames[] = {
14010 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14011 };
14012
14013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14018 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14020 {
14021 arg4 = wxString_in_helper(obj3);
14022 if (arg4 == NULL) SWIG_fail;
14023 temp4 = True;
14024 }
14025 if (obj4) {
14026 arg5 = (int) SWIG_AsInt(obj4);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 {
14037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14038 }
14039 {
14040 if (temp4)
14041 delete arg4;
14042 }
14043 return resultobj;
14044 fail:
14045 {
14046 if (temp4)
14047 delete arg4;
14048 }
14049 return NULL;
14050 }
14051
14052
14053 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14056 wxFindReplaceData *result;
14057 PyObject * obj0 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14065 {
14066 PyThreadState* __tstate = wxPyBeginAllowThreads();
14067 result = (wxFindReplaceData *)(arg1)->GetData();
14068
14069 wxPyEndAllowThreads(__tstate);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
14072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14073 return resultobj;
14074 fail:
14075 return NULL;
14076 }
14077
14078
14079 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14080 PyObject *resultobj;
14081 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14082 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14083 PyObject * obj0 = 0 ;
14084 PyObject * obj1 = 0 ;
14085 char *kwnames[] = {
14086 (char *) "self",(char *) "data", NULL
14087 };
14088
14089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 (arg1)->SetData(arg2);
14097
14098 wxPyEndAllowThreads(__tstate);
14099 if (PyErr_Occurred()) SWIG_fail;
14100 }
14101 Py_INCREF(Py_None); resultobj = Py_None;
14102 return resultobj;
14103 fail:
14104 return NULL;
14105 }
14106
14107
14108 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14109 PyObject *obj;
14110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14111 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14112 Py_INCREF(obj);
14113 return Py_BuildValue((char *)"");
14114 }
14115 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj;
14117 wxWindow *arg1 = (wxWindow *) 0 ;
14118 int arg2 ;
14119 wxString *arg3 = 0 ;
14120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14122 wxSize const &arg5_defvalue = wxDefaultSize ;
14123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14124 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14125 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14126 wxString *arg7 = (wxString *) &arg7_defvalue ;
14127 wxMDIParentFrame *result;
14128 bool temp3 = False ;
14129 wxPoint temp4 ;
14130 wxSize temp5 ;
14131 bool temp7 = False ;
14132 PyObject * obj0 = 0 ;
14133 PyObject * obj1 = 0 ;
14134 PyObject * obj2 = 0 ;
14135 PyObject * obj3 = 0 ;
14136 PyObject * obj4 = 0 ;
14137 PyObject * obj5 = 0 ;
14138 PyObject * obj6 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14146 arg2 = (int const) SWIG_AsInt(obj1);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 {
14149 arg3 = wxString_in_helper(obj2);
14150 if (arg3 == NULL) SWIG_fail;
14151 temp3 = True;
14152 }
14153 if (obj3) {
14154 {
14155 arg4 = &temp4;
14156 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14157 }
14158 }
14159 if (obj4) {
14160 {
14161 arg5 = &temp5;
14162 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14163 }
14164 }
14165 if (obj5) {
14166 arg6 = (long) SWIG_AsLong(obj5);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 if (obj6) {
14170 {
14171 arg7 = wxString_in_helper(obj6);
14172 if (arg7 == NULL) SWIG_fail;
14173 temp7 = True;
14174 }
14175 }
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14184 {
14185 if (temp3)
14186 delete arg3;
14187 }
14188 {
14189 if (temp7)
14190 delete arg7;
14191 }
14192 return resultobj;
14193 fail:
14194 {
14195 if (temp3)
14196 delete arg3;
14197 }
14198 {
14199 if (temp7)
14200 delete arg7;
14201 }
14202 return NULL;
14203 }
14204
14205
14206 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14207 PyObject *resultobj;
14208 wxMDIParentFrame *result;
14209 char *kwnames[] = {
14210 NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14222 return resultobj;
14223 fail:
14224 return NULL;
14225 }
14226
14227
14228 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14231 wxWindow *arg2 = (wxWindow *) 0 ;
14232 int arg3 ;
14233 wxString *arg4 = 0 ;
14234 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14235 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14236 wxSize const &arg6_defvalue = wxDefaultSize ;
14237 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14238 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14239 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14240 wxString *arg8 = (wxString *) &arg8_defvalue ;
14241 bool result;
14242 bool temp4 = False ;
14243 wxPoint temp5 ;
14244 wxSize temp6 ;
14245 bool temp8 = False ;
14246 PyObject * obj0 = 0 ;
14247 PyObject * obj1 = 0 ;
14248 PyObject * obj2 = 0 ;
14249 PyObject * obj3 = 0 ;
14250 PyObject * obj4 = 0 ;
14251 PyObject * obj5 = 0 ;
14252 PyObject * obj6 = 0 ;
14253 PyObject * obj7 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14256 };
14257
14258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14263 arg3 = (int const) SWIG_AsInt(obj2);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 {
14266 arg4 = wxString_in_helper(obj3);
14267 if (arg4 == NULL) SWIG_fail;
14268 temp4 = True;
14269 }
14270 if (obj4) {
14271 {
14272 arg5 = &temp5;
14273 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14274 }
14275 }
14276 if (obj5) {
14277 {
14278 arg6 = &temp6;
14279 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14280 }
14281 }
14282 if (obj6) {
14283 arg7 = (long) SWIG_AsLong(obj6);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 if (obj7) {
14287 {
14288 arg8 = wxString_in_helper(obj7);
14289 if (arg8 == NULL) SWIG_fail;
14290 temp8 = True;
14291 }
14292 }
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 {
14301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14302 }
14303 {
14304 if (temp4)
14305 delete arg4;
14306 }
14307 {
14308 if (temp8)
14309 delete arg8;
14310 }
14311 return resultobj;
14312 fail:
14313 {
14314 if (temp4)
14315 delete arg4;
14316 }
14317 {
14318 if (temp8)
14319 delete arg8;
14320 }
14321 return NULL;
14322 }
14323
14324
14325 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14326 PyObject *resultobj;
14327 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14328 PyObject * obj0 = 0 ;
14329 char *kwnames[] = {
14330 (char *) "self", NULL
14331 };
14332
14333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 (arg1)->ActivateNext();
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 Py_INCREF(Py_None); resultobj = Py_None;
14344 return resultobj;
14345 fail:
14346 return NULL;
14347 }
14348
14349
14350 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj;
14352 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14353 PyObject * obj0 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 (arg1)->ActivatePrevious();
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 Py_INCREF(Py_None); resultobj = Py_None;
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14378 PyObject * obj0 = 0 ;
14379 char *kwnames[] = {
14380 (char *) "self", NULL
14381 };
14382
14383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14386 {
14387 PyThreadState* __tstate = wxPyBeginAllowThreads();
14388 (arg1)->ArrangeIcons();
14389
14390 wxPyEndAllowThreads(__tstate);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 Py_INCREF(Py_None); resultobj = Py_None;
14394 return resultobj;
14395 fail:
14396 return NULL;
14397 }
14398
14399
14400 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj;
14402 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14403 PyObject * obj0 = 0 ;
14404 char *kwnames[] = {
14405 (char *) "self", NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 (arg1)->Cascade();
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 Py_INCREF(Py_None); resultobj = Py_None;
14419 return resultobj;
14420 fail:
14421 return NULL;
14422 }
14423
14424
14425 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14428 wxMDIChildFrame *result;
14429 PyObject * obj0 = 0 ;
14430 char *kwnames[] = {
14431 (char *) "self", NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 {
14445 resultobj = wxPyMake_wxObject(result);
14446 }
14447 return resultobj;
14448 fail:
14449 return NULL;
14450 }
14451
14452
14453 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14454 PyObject *resultobj;
14455 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14456 wxMDIClientWindow *result;
14457 PyObject * obj0 = 0 ;
14458 char *kwnames[] = {
14459 (char *) "self", NULL
14460 };
14461
14462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 {
14473 resultobj = wxPyMake_wxObject(result);
14474 }
14475 return resultobj;
14476 fail:
14477 return NULL;
14478 }
14479
14480
14481 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14482 PyObject *resultobj;
14483 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14484 wxWindow *result;
14485 PyObject * obj0 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 result = (wxWindow *)(arg1)->GetToolBar();
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 {
14501 resultobj = wxPyMake_wxObject(result);
14502 }
14503 return resultobj;
14504 fail:
14505 return NULL;
14506 }
14507
14508
14509 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj;
14511 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14512 PyObject * obj0 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "self", NULL
14515 };
14516
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14520 {
14521 PyThreadState* __tstate = wxPyBeginAllowThreads();
14522 (arg1)->Tile();
14523
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 Py_INCREF(Py_None); resultobj = Py_None;
14528 return resultobj;
14529 fail:
14530 return NULL;
14531 }
14532
14533
14534 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14535 PyObject *obj;
14536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14537 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14538 Py_INCREF(obj);
14539 return Py_BuildValue((char *)"");
14540 }
14541 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14544 int arg2 ;
14545 wxString *arg3 = 0 ;
14546 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14547 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14548 wxSize const &arg5_defvalue = wxDefaultSize ;
14549 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14550 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14551 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14552 wxString *arg7 = (wxString *) &arg7_defvalue ;
14553 wxMDIChildFrame *result;
14554 bool temp3 = False ;
14555 wxPoint temp4 ;
14556 wxSize temp5 ;
14557 bool temp7 = False ;
14558 PyObject * obj0 = 0 ;
14559 PyObject * obj1 = 0 ;
14560 PyObject * obj2 = 0 ;
14561 PyObject * obj3 = 0 ;
14562 PyObject * obj4 = 0 ;
14563 PyObject * obj5 = 0 ;
14564 PyObject * obj6 = 0 ;
14565 char *kwnames[] = {
14566 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14567 };
14568
14569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14572 arg2 = (int const) SWIG_AsInt(obj1);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 {
14575 arg3 = wxString_in_helper(obj2);
14576 if (arg3 == NULL) SWIG_fail;
14577 temp3 = True;
14578 }
14579 if (obj3) {
14580 {
14581 arg4 = &temp4;
14582 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14583 }
14584 }
14585 if (obj4) {
14586 {
14587 arg5 = &temp5;
14588 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14589 }
14590 }
14591 if (obj5) {
14592 arg6 = (long) SWIG_AsLong(obj5);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
14595 if (obj6) {
14596 {
14597 arg7 = wxString_in_helper(obj6);
14598 if (arg7 == NULL) SWIG_fail;
14599 temp7 = True;
14600 }
14601 }
14602 {
14603 PyThreadState* __tstate = wxPyBeginAllowThreads();
14604 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14605
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 {
14610 resultobj = wxPyMake_wxObject(result);
14611 }
14612 {
14613 if (temp3)
14614 delete arg3;
14615 }
14616 {
14617 if (temp7)
14618 delete arg7;
14619 }
14620 return resultobj;
14621 fail:
14622 {
14623 if (temp3)
14624 delete arg3;
14625 }
14626 {
14627 if (temp7)
14628 delete arg7;
14629 }
14630 return NULL;
14631 }
14632
14633
14634 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj;
14636 wxMDIChildFrame *result;
14637 char *kwnames[] = {
14638 NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14642 {
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14645
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 {
14650 resultobj = wxPyMake_wxObject(result);
14651 }
14652 return resultobj;
14653 fail:
14654 return NULL;
14655 }
14656
14657
14658 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14661 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14662 int arg3 ;
14663 wxString *arg4 = 0 ;
14664 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14665 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14666 wxSize const &arg6_defvalue = wxDefaultSize ;
14667 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14668 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14669 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14670 wxString *arg8 = (wxString *) &arg8_defvalue ;
14671 bool result;
14672 bool temp4 = False ;
14673 wxPoint temp5 ;
14674 wxSize temp6 ;
14675 bool temp8 = False ;
14676 PyObject * obj0 = 0 ;
14677 PyObject * obj1 = 0 ;
14678 PyObject * obj2 = 0 ;
14679 PyObject * obj3 = 0 ;
14680 PyObject * obj4 = 0 ;
14681 PyObject * obj5 = 0 ;
14682 PyObject * obj6 = 0 ;
14683 PyObject * obj7 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14693 arg3 = (int const) SWIG_AsInt(obj2);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 {
14696 arg4 = wxString_in_helper(obj3);
14697 if (arg4 == NULL) SWIG_fail;
14698 temp4 = True;
14699 }
14700 if (obj4) {
14701 {
14702 arg5 = &temp5;
14703 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14704 }
14705 }
14706 if (obj5) {
14707 {
14708 arg6 = &temp6;
14709 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14710 }
14711 }
14712 if (obj6) {
14713 arg7 = (long) SWIG_AsLong(obj6);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 if (obj7) {
14717 {
14718 arg8 = wxString_in_helper(obj7);
14719 if (arg8 == NULL) SWIG_fail;
14720 temp8 = True;
14721 }
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14732 }
14733 {
14734 if (temp4)
14735 delete arg4;
14736 }
14737 {
14738 if (temp8)
14739 delete arg8;
14740 }
14741 return resultobj;
14742 fail:
14743 {
14744 if (temp4)
14745 delete arg4;
14746 }
14747 {
14748 if (temp8)
14749 delete arg8;
14750 }
14751 return NULL;
14752 }
14753
14754
14755 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj;
14757 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14758 PyObject * obj0 = 0 ;
14759 char *kwnames[] = {
14760 (char *) "self", NULL
14761 };
14762
14763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 (arg1)->Activate();
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 Py_INCREF(Py_None); resultobj = Py_None;
14774 return resultobj;
14775 fail:
14776 return NULL;
14777 }
14778
14779
14780 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj;
14782 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14783 bool arg2 ;
14784 PyObject * obj0 = 0 ;
14785 PyObject * obj1 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self",(char *) "maximize", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14793 arg2 = (bool) SWIG_AsBool(obj1);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 (arg1)->Maximize(arg2);
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 Py_INCREF(Py_None); resultobj = Py_None;
14803 return resultobj;
14804 fail:
14805 return NULL;
14806 }
14807
14808
14809 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14812 PyObject * obj0 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "self", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 (arg1)->Restore();
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 Py_INCREF(Py_None); resultobj = Py_None;
14828 return resultobj;
14829 fail:
14830 return NULL;
14831 }
14832
14833
14834 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14835 PyObject *obj;
14836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14837 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14838 Py_INCREF(obj);
14839 return Py_BuildValue((char *)"");
14840 }
14841 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14844 long arg2 = (long) 0 ;
14845 wxMDIClientWindow *result;
14846 PyObject * obj0 = 0 ;
14847 PyObject * obj1 = 0 ;
14848 char *kwnames[] = {
14849 (char *) "parent",(char *) "style", NULL
14850 };
14851
14852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14855 if (obj1) {
14856 arg2 = (long) SWIG_AsLong(obj1);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 {
14867 resultobj = wxPyMake_wxObject(result);
14868 }
14869 return resultobj;
14870 fail:
14871 return NULL;
14872 }
14873
14874
14875 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxMDIClientWindow *result;
14878 char *kwnames[] = {
14879 NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14886
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 {
14891 resultobj = wxPyMake_wxObject(result);
14892 }
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj;
14901 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14902 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14903 long arg3 = (long) 0 ;
14904 bool result;
14905 PyObject * obj0 = 0 ;
14906 PyObject * obj1 = 0 ;
14907 PyObject * obj2 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self",(char *) "parent",(char *) "style", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14917 if (obj2) {
14918 arg3 = (long) SWIG_AsLong(obj2);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 {
14922 PyThreadState* __tstate = wxPyBeginAllowThreads();
14923 result = (bool)(arg1)->Create(arg2,arg3);
14924
14925 wxPyEndAllowThreads(__tstate);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 }
14928 {
14929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14930 }
14931 return resultobj;
14932 fail:
14933 return NULL;
14934 }
14935
14936
14937 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14938 PyObject *obj;
14939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14940 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14941 Py_INCREF(obj);
14942 return Py_BuildValue((char *)"");
14943 }
14944 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj;
14946 wxWindow *arg1 = (wxWindow *) 0 ;
14947 int arg2 ;
14948 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14949 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14950 wxSize const &arg4_defvalue = wxDefaultSize ;
14951 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14952 long arg5 = (long) 0 ;
14953 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14954 wxString *arg6 = (wxString *) &arg6_defvalue ;
14955 wxPyWindow *result;
14956 wxPoint temp3 ;
14957 wxSize temp4 ;
14958 bool temp6 = False ;
14959 PyObject * obj0 = 0 ;
14960 PyObject * obj1 = 0 ;
14961 PyObject * obj2 = 0 ;
14962 PyObject * obj3 = 0 ;
14963 PyObject * obj4 = 0 ;
14964 PyObject * obj5 = 0 ;
14965 char *kwnames[] = {
14966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14967 };
14968
14969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14972 arg2 = (int const) SWIG_AsInt(obj1);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 if (obj2) {
14975 {
14976 arg3 = &temp3;
14977 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14978 }
14979 }
14980 if (obj3) {
14981 {
14982 arg4 = &temp4;
14983 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14984 }
14985 }
14986 if (obj4) {
14987 arg5 = (long) SWIG_AsLong(obj4);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 if (obj5) {
14991 {
14992 arg6 = wxString_in_helper(obj5);
14993 if (arg6 == NULL) SWIG_fail;
14994 temp6 = True;
14995 }
14996 }
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15005 {
15006 if (temp6)
15007 delete arg6;
15008 }
15009 return resultobj;
15010 fail:
15011 {
15012 if (temp6)
15013 delete arg6;
15014 }
15015 return NULL;
15016 }
15017
15018
15019 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15020 PyObject *resultobj;
15021 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15022 PyObject *arg2 = (PyObject *) 0 ;
15023 PyObject *arg3 = (PyObject *) 0 ;
15024 PyObject * obj0 = 0 ;
15025 PyObject * obj1 = 0 ;
15026 PyObject * obj2 = 0 ;
15027 char *kwnames[] = {
15028 (char *) "self",(char *) "self",(char *) "_class", NULL
15029 };
15030
15031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15034 arg2 = obj1;
15035 arg3 = obj2;
15036 {
15037 PyThreadState* __tstate = wxPyBeginAllowThreads();
15038 (arg1)->_setCallbackInfo(arg2,arg3);
15039
15040 wxPyEndAllowThreads(__tstate);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 }
15043 Py_INCREF(Py_None); resultobj = Py_None;
15044 return resultobj;
15045 fail:
15046 return NULL;
15047 }
15048
15049
15050 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15051 PyObject *resultobj;
15052 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15053 int arg2 ;
15054 int arg3 ;
15055 int arg4 ;
15056 int arg5 ;
15057 PyObject * obj0 = 0 ;
15058 PyObject * obj1 = 0 ;
15059 PyObject * obj2 = 0 ;
15060 PyObject * obj3 = 0 ;
15061 PyObject * obj4 = 0 ;
15062 char *kwnames[] = {
15063 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15064 };
15065
15066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15069 arg2 = (int) SWIG_AsInt(obj1);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 arg3 = (int) SWIG_AsInt(obj2);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 arg4 = (int) SWIG_AsInt(obj3);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 arg5 = (int) SWIG_AsInt(obj4);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 {
15078 PyThreadState* __tstate = wxPyBeginAllowThreads();
15079 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15080
15081 wxPyEndAllowThreads(__tstate);
15082 if (PyErr_Occurred()) SWIG_fail;
15083 }
15084 Py_INCREF(Py_None); resultobj = Py_None;
15085 return resultobj;
15086 fail:
15087 return NULL;
15088 }
15089
15090
15091 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj;
15093 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15094 int arg2 ;
15095 int arg3 ;
15096 int arg4 ;
15097 int arg5 ;
15098 int arg6 = (int) wxSIZE_AUTO ;
15099 PyObject * obj0 = 0 ;
15100 PyObject * obj1 = 0 ;
15101 PyObject * obj2 = 0 ;
15102 PyObject * obj3 = 0 ;
15103 PyObject * obj4 = 0 ;
15104 PyObject * obj5 = 0 ;
15105 char *kwnames[] = {
15106 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15107 };
15108
15109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15112 arg2 = (int) SWIG_AsInt(obj1);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 arg3 = (int) SWIG_AsInt(obj2);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 arg4 = (int) SWIG_AsInt(obj3);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 arg5 = (int) SWIG_AsInt(obj4);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 if (obj5) {
15121 arg6 = (int) SWIG_AsInt(obj5);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 {
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15127
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 Py_INCREF(Py_None); resultobj = Py_None;
15132 return resultobj;
15133 fail:
15134 return NULL;
15135 }
15136
15137
15138 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj;
15140 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15141 int arg2 ;
15142 int arg3 ;
15143 PyObject * obj0 = 0 ;
15144 PyObject * obj1 = 0 ;
15145 PyObject * obj2 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self",(char *) "width",(char *) "height", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15153 arg2 = (int) SWIG_AsInt(obj1);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 arg3 = (int) SWIG_AsInt(obj2);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 (arg1)->base_DoSetClientSize(arg2,arg3);
15160
15161 wxPyEndAllowThreads(__tstate);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 Py_INCREF(Py_None); resultobj = Py_None;
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15174 int arg2 ;
15175 int arg3 ;
15176 PyObject * obj0 = 0 ;
15177 PyObject * obj1 = 0 ;
15178 PyObject * obj2 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self",(char *) "x",(char *) "y", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 arg2 = (int) SWIG_AsInt(obj1);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 arg3 = (int) SWIG_AsInt(obj2);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 Py_INCREF(Py_None); resultobj = Py_None;
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj;
15206 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15207 int *arg2 = (int *) 0 ;
15208 int *arg3 = (int *) 0 ;
15209 int temp2 ;
15210 int temp3 ;
15211 PyObject * obj0 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "self", NULL
15214 };
15215
15216 arg2 = &temp2;
15217 arg3 = &temp3;
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15221 {
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15224
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
15228 Py_INCREF(Py_None); resultobj = Py_None;
15229 {
15230 PyObject *o = PyInt_FromLong((long) (*arg2));
15231 resultobj = t_output_helper(resultobj,o);
15232 }
15233 {
15234 PyObject *o = PyInt_FromLong((long) (*arg3));
15235 resultobj = t_output_helper(resultobj,o);
15236 }
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15246 int *arg2 = (int *) 0 ;
15247 int *arg3 = (int *) 0 ;
15248 int temp2 ;
15249 int temp3 ;
15250 PyObject * obj0 = 0 ;
15251 char *kwnames[] = {
15252 (char *) "self", NULL
15253 };
15254
15255 arg2 = &temp2;
15256 arg3 = &temp3;
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 Py_INCREF(Py_None); resultobj = Py_None;
15268 {
15269 PyObject *o = PyInt_FromLong((long) (*arg2));
15270 resultobj = t_output_helper(resultobj,o);
15271 }
15272 {
15273 PyObject *o = PyInt_FromLong((long) (*arg3));
15274 resultobj = t_output_helper(resultobj,o);
15275 }
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15285 int *arg2 = (int *) 0 ;
15286 int *arg3 = (int *) 0 ;
15287 int temp2 ;
15288 int temp3 ;
15289 PyObject * obj0 = 0 ;
15290 char *kwnames[] = {
15291 (char *) "self", NULL
15292 };
15293
15294 arg2 = &temp2;
15295 arg3 = &temp3;
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 Py_INCREF(Py_None); resultobj = Py_None;
15307 {
15308 PyObject *o = PyInt_FromLong((long) (*arg2));
15309 resultobj = t_output_helper(resultobj,o);
15310 }
15311 {
15312 PyObject *o = PyInt_FromLong((long) (*arg3));
15313 resultobj = t_output_helper(resultobj,o);
15314 }
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj;
15323 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15324 wxSize result;
15325 PyObject * obj0 = 0 ;
15326 char *kwnames[] = {
15327 (char *) "self", NULL
15328 };
15329
15330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 {
15341 wxSize * resultptr;
15342 resultptr = new wxSize((wxSize &) result);
15343 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15344 }
15345 return resultobj;
15346 fail:
15347 return NULL;
15348 }
15349
15350
15351 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj;
15353 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15354 wxSize result;
15355 PyObject * obj0 = 0 ;
15356 char *kwnames[] = {
15357 (char *) "self", NULL
15358 };
15359
15360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 {
15371 wxSize * resultptr;
15372 resultptr = new wxSize((wxSize &) result);
15373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15374 }
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15384 PyObject * obj0 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 (arg1)->base_InitDialog();
15395
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 Py_INCREF(Py_None); resultobj = Py_None;
15400 return resultobj;
15401 fail:
15402 return NULL;
15403 }
15404
15405
15406 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj;
15408 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15409 bool result;
15410 PyObject * obj0 = 0 ;
15411 char *kwnames[] = {
15412 (char *) "self", NULL
15413 };
15414
15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (bool)(arg1)->base_TransferDataToWindow();
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 {
15426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15427 }
15428 return resultobj;
15429 fail:
15430 return NULL;
15431 }
15432
15433
15434 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15437 bool result;
15438 PyObject * obj0 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "self", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 result = (bool)(arg1)->base_TransferDataFromWindow();
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 {
15454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15455 }
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15465 bool result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (bool)(arg1)->base_Validate();
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 {
15482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15483 }
15484 return resultobj;
15485 fail:
15486 return NULL;
15487 }
15488
15489
15490 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15493 bool result;
15494 PyObject * obj0 = 0 ;
15495 char *kwnames[] = {
15496 (char *) "self", NULL
15497 };
15498
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 {
15510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15511 }
15512 return resultobj;
15513 fail:
15514 return NULL;
15515 }
15516
15517
15518 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj;
15520 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15521 bool result;
15522 PyObject * obj0 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 {
15538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15539 }
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj;
15548 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15549 wxSize result;
15550 PyObject * obj0 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 {
15566 wxSize * resultptr;
15567 resultptr = new wxSize((wxSize &) result);
15568 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15569 }
15570 return resultobj;
15571 fail:
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15579 wxWindow *arg2 = (wxWindow *) 0 ;
15580 PyObject * obj0 = 0 ;
15581 PyObject * obj1 = 0 ;
15582 char *kwnames[] = {
15583 (char *) "self",(char *) "child", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->base_AddChild(arg2);
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 return resultobj;
15600 fail:
15601 return NULL;
15602 }
15603
15604
15605 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15608 wxWindow *arg2 = (wxWindow *) 0 ;
15609 PyObject * obj0 = 0 ;
15610 PyObject * obj1 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self",(char *) "child", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15620 {
15621 PyThreadState* __tstate = wxPyBeginAllowThreads();
15622 (arg1)->base_RemoveChild(arg2);
15623
15624 wxPyEndAllowThreads(__tstate);
15625 if (PyErr_Occurred()) SWIG_fail;
15626 }
15627 Py_INCREF(Py_None); resultobj = Py_None;
15628 return resultobj;
15629 fail:
15630 return NULL;
15631 }
15632
15633
15634 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15635 PyObject *obj;
15636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15637 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15638 Py_INCREF(obj);
15639 return Py_BuildValue((char *)"");
15640 }
15641 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15642 PyObject *resultobj;
15643 wxWindow *arg1 = (wxWindow *) 0 ;
15644 int arg2 ;
15645 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15646 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15647 wxSize const &arg4_defvalue = wxDefaultSize ;
15648 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15649 long arg5 = (long) 0 ;
15650 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15651 wxString *arg6 = (wxString *) &arg6_defvalue ;
15652 wxPyPanel *result;
15653 wxPoint temp3 ;
15654 wxSize temp4 ;
15655 bool temp6 = False ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 PyObject * obj2 = 0 ;
15659 PyObject * obj3 = 0 ;
15660 PyObject * obj4 = 0 ;
15661 PyObject * obj5 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15669 arg2 = (int const) SWIG_AsInt(obj1);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 if (obj2) {
15672 {
15673 arg3 = &temp3;
15674 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15675 }
15676 }
15677 if (obj3) {
15678 {
15679 arg4 = &temp4;
15680 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15681 }
15682 }
15683 if (obj4) {
15684 arg5 = (long) SWIG_AsLong(obj4);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 if (obj5) {
15688 {
15689 arg6 = wxString_in_helper(obj5);
15690 if (arg6 == NULL) SWIG_fail;
15691 temp6 = True;
15692 }
15693 }
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15697
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15702 {
15703 if (temp6)
15704 delete arg6;
15705 }
15706 return resultobj;
15707 fail:
15708 {
15709 if (temp6)
15710 delete arg6;
15711 }
15712 return NULL;
15713 }
15714
15715
15716 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj;
15718 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15719 PyObject *arg2 = (PyObject *) 0 ;
15720 PyObject *arg3 = (PyObject *) 0 ;
15721 PyObject * obj0 = 0 ;
15722 PyObject * obj1 = 0 ;
15723 PyObject * obj2 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self",(char *) "self",(char *) "_class", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15731 arg2 = obj1;
15732 arg3 = obj2;
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 (arg1)->_setCallbackInfo(arg2,arg3);
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 Py_INCREF(Py_None); resultobj = Py_None;
15741 return resultobj;
15742 fail:
15743 return NULL;
15744 }
15745
15746
15747 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15748 PyObject *resultobj;
15749 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15750 int arg2 ;
15751 int arg3 ;
15752 int arg4 ;
15753 int arg5 ;
15754 PyObject * obj0 = 0 ;
15755 PyObject * obj1 = 0 ;
15756 PyObject * obj2 = 0 ;
15757 PyObject * obj3 = 0 ;
15758 PyObject * obj4 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15766 arg2 = (int) SWIG_AsInt(obj1);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 arg3 = (int) SWIG_AsInt(obj2);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 arg4 = (int) SWIG_AsInt(obj3);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 arg5 = (int) SWIG_AsInt(obj4);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15777
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 Py_INCREF(Py_None); resultobj = Py_None;
15782 return resultobj;
15783 fail:
15784 return NULL;
15785 }
15786
15787
15788 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15789 PyObject *resultobj;
15790 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15791 int arg2 ;
15792 int arg3 ;
15793 int arg4 ;
15794 int arg5 ;
15795 int arg6 = (int) wxSIZE_AUTO ;
15796 PyObject * obj0 = 0 ;
15797 PyObject * obj1 = 0 ;
15798 PyObject * obj2 = 0 ;
15799 PyObject * obj3 = 0 ;
15800 PyObject * obj4 = 0 ;
15801 PyObject * obj5 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15809 arg2 = (int) SWIG_AsInt(obj1);
15810 if (PyErr_Occurred()) SWIG_fail;
15811 arg3 = (int) SWIG_AsInt(obj2);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 arg4 = (int) SWIG_AsInt(obj3);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 arg5 = (int) SWIG_AsInt(obj4);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 if (obj5) {
15818 arg6 = (int) SWIG_AsInt(obj5);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 {
15822 PyThreadState* __tstate = wxPyBeginAllowThreads();
15823 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15824
15825 wxPyEndAllowThreads(__tstate);
15826 if (PyErr_Occurred()) SWIG_fail;
15827 }
15828 Py_INCREF(Py_None); resultobj = Py_None;
15829 return resultobj;
15830 fail:
15831 return NULL;
15832 }
15833
15834
15835 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15836 PyObject *resultobj;
15837 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15838 int arg2 ;
15839 int arg3 ;
15840 PyObject * obj0 = 0 ;
15841 PyObject * obj1 = 0 ;
15842 PyObject * obj2 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self",(char *) "width",(char *) "height", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15850 arg2 = (int) SWIG_AsInt(obj1);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 arg3 = (int) SWIG_AsInt(obj2);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 (arg1)->base_DoSetClientSize(arg2,arg3);
15857
15858 wxPyEndAllowThreads(__tstate);
15859 if (PyErr_Occurred()) SWIG_fail;
15860 }
15861 Py_INCREF(Py_None); resultobj = Py_None;
15862 return resultobj;
15863 fail:
15864 return NULL;
15865 }
15866
15867
15868 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15871 int arg2 ;
15872 int arg3 ;
15873 PyObject * obj0 = 0 ;
15874 PyObject * obj1 = 0 ;
15875 PyObject * obj2 = 0 ;
15876 char *kwnames[] = {
15877 (char *) "self",(char *) "x",(char *) "y", NULL
15878 };
15879
15880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15883 arg2 = (int) SWIG_AsInt(obj1);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 arg3 = (int) SWIG_AsInt(obj2);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 Py_INCREF(Py_None); resultobj = Py_None;
15895 return resultobj;
15896 fail:
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15904 int *arg2 = (int *) 0 ;
15905 int *arg3 = (int *) 0 ;
15906 int temp2 ;
15907 int temp3 ;
15908 PyObject * obj0 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self", NULL
15911 };
15912
15913 arg2 = &temp2;
15914 arg3 = &temp3;
15915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15918 {
15919 PyThreadState* __tstate = wxPyBeginAllowThreads();
15920 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15921
15922 wxPyEndAllowThreads(__tstate);
15923 if (PyErr_Occurred()) SWIG_fail;
15924 }
15925 Py_INCREF(Py_None); resultobj = Py_None;
15926 {
15927 PyObject *o = PyInt_FromLong((long) (*arg2));
15928 resultobj = t_output_helper(resultobj,o);
15929 }
15930 {
15931 PyObject *o = PyInt_FromLong((long) (*arg3));
15932 resultobj = t_output_helper(resultobj,o);
15933 }
15934 return resultobj;
15935 fail:
15936 return NULL;
15937 }
15938
15939
15940 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15941 PyObject *resultobj;
15942 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15943 int *arg2 = (int *) 0 ;
15944 int *arg3 = (int *) 0 ;
15945 int temp2 ;
15946 int temp3 ;
15947 PyObject * obj0 = 0 ;
15948 char *kwnames[] = {
15949 (char *) "self", NULL
15950 };
15951
15952 arg2 = &temp2;
15953 arg3 = &temp3;
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 Py_INCREF(Py_None); resultobj = Py_None;
15965 {
15966 PyObject *o = PyInt_FromLong((long) (*arg2));
15967 resultobj = t_output_helper(resultobj,o);
15968 }
15969 {
15970 PyObject *o = PyInt_FromLong((long) (*arg3));
15971 resultobj = t_output_helper(resultobj,o);
15972 }
15973 return resultobj;
15974 fail:
15975 return NULL;
15976 }
15977
15978
15979 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15980 PyObject *resultobj;
15981 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15982 int *arg2 = (int *) 0 ;
15983 int *arg3 = (int *) 0 ;
15984 int temp2 ;
15985 int temp3 ;
15986 PyObject * obj0 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self", NULL
15989 };
15990
15991 arg2 = &temp2;
15992 arg3 = &temp3;
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 Py_INCREF(Py_None); resultobj = Py_None;
16004 {
16005 PyObject *o = PyInt_FromLong((long) (*arg2));
16006 resultobj = t_output_helper(resultobj,o);
16007 }
16008 {
16009 PyObject *o = PyInt_FromLong((long) (*arg3));
16010 resultobj = t_output_helper(resultobj,o);
16011 }
16012 return resultobj;
16013 fail:
16014 return NULL;
16015 }
16016
16017
16018 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16019 PyObject *resultobj;
16020 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16021 wxSize result;
16022 PyObject * obj0 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 {
16038 wxSize * resultptr;
16039 resultptr = new wxSize((wxSize &) result);
16040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16041 }
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16051 wxSize result;
16052 PyObject * obj0 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16060 {
16061 PyThreadState* __tstate = wxPyBeginAllowThreads();
16062 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16063
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 {
16068 wxSize * resultptr;
16069 resultptr = new wxSize((wxSize &) result);
16070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16071 }
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 (arg1)->base_InitDialog();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 Py_INCREF(Py_None); resultobj = Py_None;
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16106 bool result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = (bool)(arg1)->base_TransferDataToWindow();
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 {
16123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16124 }
16125 return resultobj;
16126 fail:
16127 return NULL;
16128 }
16129
16130
16131 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj;
16133 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16134 bool result;
16135 PyObject * obj0 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (bool)(arg1)->base_TransferDataFromWindow();
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 {
16151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16152 }
16153 return resultobj;
16154 fail:
16155 return NULL;
16156 }
16157
16158
16159 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16162 bool result;
16163 PyObject * obj0 = 0 ;
16164 char *kwnames[] = {
16165 (char *) "self", NULL
16166 };
16167
16168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 result = (bool)(arg1)->base_Validate();
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 {
16179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16180 }
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16190 bool result;
16191 PyObject * obj0 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16208 }
16209 return resultobj;
16210 fail:
16211 return NULL;
16212 }
16213
16214
16215 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj;
16217 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16218 bool result;
16219 PyObject * obj0 = 0 ;
16220 char *kwnames[] = {
16221 (char *) "self", NULL
16222 };
16223
16224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 {
16235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16236 }
16237 return resultobj;
16238 fail:
16239 return NULL;
16240 }
16241
16242
16243 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16244 PyObject *resultobj;
16245 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16246 wxSize result;
16247 PyObject * obj0 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 {
16263 wxSize * resultptr;
16264 resultptr = new wxSize((wxSize &) result);
16265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16266 }
16267 return resultobj;
16268 fail:
16269 return NULL;
16270 }
16271
16272
16273 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16274 PyObject *resultobj;
16275 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16276 wxWindow *arg2 = (wxWindow *) 0 ;
16277 PyObject * obj0 = 0 ;
16278 PyObject * obj1 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "child", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 (arg1)->base_AddChild(arg2);
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 Py_INCREF(Py_None); resultobj = Py_None;
16296 return resultobj;
16297 fail:
16298 return NULL;
16299 }
16300
16301
16302 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16305 wxWindow *arg2 = (wxWindow *) 0 ;
16306 PyObject * obj0 = 0 ;
16307 PyObject * obj1 = 0 ;
16308 char *kwnames[] = {
16309 (char *) "self",(char *) "child", NULL
16310 };
16311
16312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 (arg1)->base_RemoveChild(arg2);
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 Py_INCREF(Py_None); resultobj = Py_None;
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16332 PyObject *obj;
16333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16334 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16335 Py_INCREF(obj);
16336 return Py_BuildValue((char *)"");
16337 }
16338 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
16339 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16340 return 1;
16341 }
16342
16343
16344 static PyObject *_wrap_PrintoutTitleStr_get() {
16345 PyObject *pyobj;
16346
16347 {
16348 #if wxUSE_UNICODE
16349 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16350 #else
16351 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16352 #endif
16353 }
16354 return pyobj;
16355 }
16356
16357
16358 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
16359 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16360 return 1;
16361 }
16362
16363
16364 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16365 PyObject *pyobj;
16366
16367 {
16368 #if wxUSE_UNICODE
16369 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16370 #else
16371 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16372 #endif
16373 }
16374 return pyobj;
16375 }
16376
16377
16378 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16379 PyObject *resultobj;
16380 wxPrintData *result;
16381 char *kwnames[] = {
16382 NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 result = (wxPrintData *)new wxPrintData();
16389
16390 wxPyEndAllowThreads(__tstate);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxPrintData *arg1 = (wxPrintData *) 0 ;
16403 PyObject * obj0 = 0 ;
16404 char *kwnames[] = {
16405 (char *) "self", NULL
16406 };
16407
16408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16411 {
16412 PyThreadState* __tstate = wxPyBeginAllowThreads();
16413 delete arg1;
16414
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 Py_INCREF(Py_None); resultobj = Py_None;
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxPrintData *arg1 = (wxPrintData *) 0 ;
16428 int result;
16429 PyObject * obj0 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 result = (int)(arg1)->GetNoCopies();
16440
16441 wxPyEndAllowThreads(__tstate);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 resultobj = SWIG_FromInt((int)result);
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxPrintData *arg1 = (wxPrintData *) 0 ;
16454 bool result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 result = (bool)(arg1)->GetCollate();
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 {
16471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16472 }
16473 return resultobj;
16474 fail:
16475 return NULL;
16476 }
16477
16478
16479 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj;
16481 wxPrintData *arg1 = (wxPrintData *) 0 ;
16482 int result;
16483 PyObject * obj0 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 result = (int)(arg1)->GetOrientation();
16494
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 resultobj = SWIG_FromInt((int)result);
16499 return resultobj;
16500 fail:
16501 return NULL;
16502 }
16503
16504
16505 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16506 PyObject *resultobj;
16507 wxPrintData *arg1 = (wxPrintData *) 0 ;
16508 bool result;
16509 PyObject * obj0 = 0 ;
16510 char *kwnames[] = {
16511 (char *) "self", NULL
16512 };
16513
16514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 result = (bool)(arg1)->Ok();
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 {
16525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16526 }
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxPrintData *arg1 = (wxPrintData *) 0 ;
16536 wxString *result;
16537 PyObject * obj0 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16545 {
16546 PyThreadState* __tstate = wxPyBeginAllowThreads();
16547 {
16548 wxString const &_result_ref = (arg1)->GetPrinterName();
16549 result = (wxString *) &_result_ref;
16550 }
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556 #if wxUSE_UNICODE
16557 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16558 #else
16559 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16560 #endif
16561 }
16562 return resultobj;
16563 fail:
16564 return NULL;
16565 }
16566
16567
16568 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16569 PyObject *resultobj;
16570 wxPrintData *arg1 = (wxPrintData *) 0 ;
16571 bool result;
16572 PyObject * obj0 = 0 ;
16573 char *kwnames[] = {
16574 (char *) "self", NULL
16575 };
16576
16577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16580 {
16581 PyThreadState* __tstate = wxPyBeginAllowThreads();
16582 result = (bool)(arg1)->GetColour();
16583
16584 wxPyEndAllowThreads(__tstate);
16585 if (PyErr_Occurred()) SWIG_fail;
16586 }
16587 {
16588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16589 }
16590 return resultobj;
16591 fail:
16592 return NULL;
16593 }
16594
16595
16596 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxPrintData *arg1 = (wxPrintData *) 0 ;
16599 int result;
16600 PyObject * obj0 = 0 ;
16601 char *kwnames[] = {
16602 (char *) "self", NULL
16603 };
16604
16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16608 {
16609 PyThreadState* __tstate = wxPyBeginAllowThreads();
16610 result = (int)(arg1)->GetDuplex();
16611
16612 wxPyEndAllowThreads(__tstate);
16613 if (PyErr_Occurred()) SWIG_fail;
16614 }
16615 resultobj = SWIG_FromInt((int)result);
16616 return resultobj;
16617 fail:
16618 return NULL;
16619 }
16620
16621
16622 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16623 PyObject *resultobj;
16624 wxPrintData *arg1 = (wxPrintData *) 0 ;
16625 int result;
16626 PyObject * obj0 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 result = (int)(arg1)->GetPaperId();
16637
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 resultobj = SWIG_FromInt((int)result);
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj;
16650 wxPrintData *arg1 = (wxPrintData *) 0 ;
16651 wxSize *result;
16652 PyObject * obj0 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 {
16663 wxSize const &_result_ref = (arg1)->GetPaperSize();
16664 result = (wxSize *) &_result_ref;
16665 }
16666
16667 wxPyEndAllowThreads(__tstate);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 }
16670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16671 return resultobj;
16672 fail:
16673 return NULL;
16674 }
16675
16676
16677 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16678 PyObject *resultobj;
16679 wxPrintData *arg1 = (wxPrintData *) 0 ;
16680 int result;
16681 PyObject * obj0 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self", NULL
16684 };
16685
16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 result = (int)(arg1)->GetQuality();
16692
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 resultobj = SWIG_FromInt((int)result);
16697 return resultobj;
16698 fail:
16699 return NULL;
16700 }
16701
16702
16703 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj;
16705 wxPrintData *arg1 = (wxPrintData *) 0 ;
16706 int arg2 ;
16707 PyObject * obj0 = 0 ;
16708 PyObject * obj1 = 0 ;
16709 char *kwnames[] = {
16710 (char *) "self",(char *) "v", NULL
16711 };
16712
16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16716 arg2 = (int) SWIG_AsInt(obj1);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 (arg1)->SetNoCopies(arg2);
16721
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 Py_INCREF(Py_None); resultobj = Py_None;
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxPrintData *arg1 = (wxPrintData *) 0 ;
16735 bool arg2 ;
16736 PyObject * obj0 = 0 ;
16737 PyObject * obj1 = 0 ;
16738 char *kwnames[] = {
16739 (char *) "self",(char *) "flag", NULL
16740 };
16741
16742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16745 arg2 = (bool) SWIG_AsBool(obj1);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 (arg1)->SetCollate(arg2);
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
16754 Py_INCREF(Py_None); resultobj = Py_None;
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxPrintData *arg1 = (wxPrintData *) 0 ;
16764 int arg2 ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self",(char *) "orient", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16774 arg2 = (int) SWIG_AsInt(obj1);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 {
16777 PyThreadState* __tstate = wxPyBeginAllowThreads();
16778 (arg1)->SetOrientation(arg2);
16779
16780 wxPyEndAllowThreads(__tstate);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 Py_INCREF(Py_None); resultobj = Py_None;
16784 return resultobj;
16785 fail:
16786 return NULL;
16787 }
16788
16789
16790 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16791 PyObject *resultobj;
16792 wxPrintData *arg1 = (wxPrintData *) 0 ;
16793 wxString *arg2 = 0 ;
16794 bool temp2 = False ;
16795 PyObject * obj0 = 0 ;
16796 PyObject * obj1 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self",(char *) "name", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16804 {
16805 arg2 = wxString_in_helper(obj1);
16806 if (arg2 == NULL) SWIG_fail;
16807 temp2 = True;
16808 }
16809 {
16810 PyThreadState* __tstate = wxPyBeginAllowThreads();
16811 (arg1)->SetPrinterName((wxString const &)*arg2);
16812
16813 wxPyEndAllowThreads(__tstate);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 }
16816 Py_INCREF(Py_None); resultobj = Py_None;
16817 {
16818 if (temp2)
16819 delete arg2;
16820 }
16821 return resultobj;
16822 fail:
16823 {
16824 if (temp2)
16825 delete arg2;
16826 }
16827 return NULL;
16828 }
16829
16830
16831 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16832 PyObject *resultobj;
16833 wxPrintData *arg1 = (wxPrintData *) 0 ;
16834 bool arg2 ;
16835 PyObject * obj0 = 0 ;
16836 PyObject * obj1 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self",(char *) "colour", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16844 arg2 = (bool) SWIG_AsBool(obj1);
16845 if (PyErr_Occurred()) SWIG_fail;
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 (arg1)->SetColour(arg2);
16849
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 Py_INCREF(Py_None); resultobj = Py_None;
16854 return resultobj;
16855 fail:
16856 return NULL;
16857 }
16858
16859
16860 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16861 PyObject *resultobj;
16862 wxPrintData *arg1 = (wxPrintData *) 0 ;
16863 int arg2 ;
16864 PyObject * obj0 = 0 ;
16865 PyObject * obj1 = 0 ;
16866 char *kwnames[] = {
16867 (char *) "self",(char *) "duplex", NULL
16868 };
16869
16870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16873 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 (arg1)->SetDuplex((wxDuplexMode )arg2);
16878
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 Py_INCREF(Py_None); resultobj = Py_None;
16883 return resultobj;
16884 fail:
16885 return NULL;
16886 }
16887
16888
16889 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16890 PyObject *resultobj;
16891 wxPrintData *arg1 = (wxPrintData *) 0 ;
16892 int arg2 ;
16893 PyObject * obj0 = 0 ;
16894 PyObject * obj1 = 0 ;
16895 char *kwnames[] = {
16896 (char *) "self",(char *) "sizeId", NULL
16897 };
16898
16899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16902 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 (arg1)->SetPaperId((wxPaperSize )arg2);
16907
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 Py_INCREF(Py_None); resultobj = Py_None;
16912 return resultobj;
16913 fail:
16914 return NULL;
16915 }
16916
16917
16918 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPrintData *arg1 = (wxPrintData *) 0 ;
16921 wxSize *arg2 = 0 ;
16922 wxSize temp2 ;
16923 PyObject * obj0 = 0 ;
16924 PyObject * obj1 = 0 ;
16925 char *kwnames[] = {
16926 (char *) "self",(char *) "sz", NULL
16927 };
16928
16929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16932 {
16933 arg2 = &temp2;
16934 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16935 }
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 (arg1)->SetPaperSize((wxSize const &)*arg2);
16939
16940 wxPyEndAllowThreads(__tstate);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
16943 Py_INCREF(Py_None); resultobj = Py_None;
16944 return resultobj;
16945 fail:
16946 return NULL;
16947 }
16948
16949
16950 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16951 PyObject *resultobj;
16952 wxPrintData *arg1 = (wxPrintData *) 0 ;
16953 int arg2 ;
16954 PyObject * obj0 = 0 ;
16955 PyObject * obj1 = 0 ;
16956 char *kwnames[] = {
16957 (char *) "self",(char *) "quality", NULL
16958 };
16959
16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16963 arg2 = (int) SWIG_AsInt(obj1);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 (arg1)->SetQuality(arg2);
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 Py_INCREF(Py_None); resultobj = Py_None;
16973 return resultobj;
16974 fail:
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxPrintData *arg1 = (wxPrintData *) 0 ;
16982 wxString *result;
16983 PyObject * obj0 = 0 ;
16984 char *kwnames[] = {
16985 (char *) "self", NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 {
16994 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16995 result = (wxString *) &_result_ref;
16996 }
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 {
17002 #if wxUSE_UNICODE
17003 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17004 #else
17005 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17006 #endif
17007 }
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxPrintData *arg1 = (wxPrintData *) 0 ;
17017 wxString *result;
17018 PyObject * obj0 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "self", NULL
17021 };
17022
17023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
17024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 {
17029 wxString const &_result_ref = (arg1)->GetPrinterOptions();
17030 result = (wxString *) &_result_ref;
17031 }
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 {
17037 #if wxUSE_UNICODE
17038 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17039 #else
17040 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17041 #endif
17042 }
17043 return resultobj;
17044 fail:
17045 return NULL;
17046 }
17047
17048
17049 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17050 PyObject *resultobj;
17051 wxPrintData *arg1 = (wxPrintData *) 0 ;
17052 wxString *result;
17053 PyObject * obj0 = 0 ;
17054 char *kwnames[] = {
17055 (char *) "self", NULL
17056 };
17057
17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 {
17064 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17065 result = (wxString *) &_result_ref;
17066 }
17067
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 {
17072 #if wxUSE_UNICODE
17073 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17074 #else
17075 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17076 #endif
17077 }
17078 return resultobj;
17079 fail:
17080 return NULL;
17081 }
17082
17083
17084 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxPrintData *arg1 = (wxPrintData *) 0 ;
17087 wxString *result;
17088 PyObject * obj0 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 {
17099 wxString const &_result_ref = (arg1)->GetFilename();
17100 result = (wxString *) &_result_ref;
17101 }
17102
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 {
17107 #if wxUSE_UNICODE
17108 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17109 #else
17110 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17111 #endif
17112 }
17113 return resultobj;
17114 fail:
17115 return NULL;
17116 }
17117
17118
17119 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17120 PyObject *resultobj;
17121 wxPrintData *arg1 = (wxPrintData *) 0 ;
17122 wxString *result;
17123 PyObject * obj0 = 0 ;
17124 char *kwnames[] = {
17125 (char *) "self", NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 {
17134 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17135 result = (wxString *) &_result_ref;
17136 }
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 {
17142 #if wxUSE_UNICODE
17143 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17144 #else
17145 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17146 #endif
17147 }
17148 return resultobj;
17149 fail:
17150 return NULL;
17151 }
17152
17153
17154 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17155 PyObject *resultobj;
17156 wxPrintData *arg1 = (wxPrintData *) 0 ;
17157 double result;
17158 PyObject * obj0 = 0 ;
17159 char *kwnames[] = {
17160 (char *) "self", NULL
17161 };
17162
17163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = (double)(arg1)->GetPrinterScaleX();
17169
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
17173 resultobj = SWIG_FromDouble((double)result);
17174 return resultobj;
17175 fail:
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxPrintData *arg1 = (wxPrintData *) 0 ;
17183 double result;
17184 PyObject * obj0 = 0 ;
17185 char *kwnames[] = {
17186 (char *) "self", NULL
17187 };
17188
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 result = (double)(arg1)->GetPrinterScaleY();
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 resultobj = SWIG_FromDouble((double)result);
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxPrintData *arg1 = (wxPrintData *) 0 ;
17209 long result;
17210 PyObject * obj0 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = (long)(arg1)->GetPrinterTranslateX();
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 resultobj = SWIG_FromLong((long)result);
17226 return resultobj;
17227 fail:
17228 return NULL;
17229 }
17230
17231
17232 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 wxPrintData *arg1 = (wxPrintData *) 0 ;
17235 long result;
17236 PyObject * obj0 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 result = (long)(arg1)->GetPrinterTranslateY();
17247
17248 wxPyEndAllowThreads(__tstate);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 }
17251 resultobj = SWIG_FromLong((long)result);
17252 return resultobj;
17253 fail:
17254 return NULL;
17255 }
17256
17257
17258 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj;
17260 wxPrintData *arg1 = (wxPrintData *) 0 ;
17261 int result;
17262 PyObject * obj0 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 result = (int)(arg1)->GetPrintMode();
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 resultobj = SWIG_FromInt((int)result);
17278 return resultobj;
17279 fail:
17280 return NULL;
17281 }
17282
17283
17284 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17285 PyObject *resultobj;
17286 wxPrintData *arg1 = (wxPrintData *) 0 ;
17287 wxString *arg2 = 0 ;
17288 bool temp2 = False ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self",(char *) "command", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17298 {
17299 arg2 = wxString_in_helper(obj1);
17300 if (arg2 == NULL) SWIG_fail;
17301 temp2 = True;
17302 }
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 (arg1)->SetPrinterCommand((wxString const &)*arg2);
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 Py_INCREF(Py_None); resultobj = Py_None;
17311 {
17312 if (temp2)
17313 delete arg2;
17314 }
17315 return resultobj;
17316 fail:
17317 {
17318 if (temp2)
17319 delete arg2;
17320 }
17321 return NULL;
17322 }
17323
17324
17325 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17326 PyObject *resultobj;
17327 wxPrintData *arg1 = (wxPrintData *) 0 ;
17328 wxString *arg2 = 0 ;
17329 bool temp2 = False ;
17330 PyObject * obj0 = 0 ;
17331 PyObject * obj1 = 0 ;
17332 char *kwnames[] = {
17333 (char *) "self",(char *) "options", NULL
17334 };
17335
17336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17339 {
17340 arg2 = wxString_in_helper(obj1);
17341 if (arg2 == NULL) SWIG_fail;
17342 temp2 = True;
17343 }
17344 {
17345 PyThreadState* __tstate = wxPyBeginAllowThreads();
17346 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17347
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 Py_INCREF(Py_None); resultobj = Py_None;
17352 {
17353 if (temp2)
17354 delete arg2;
17355 }
17356 return resultobj;
17357 fail:
17358 {
17359 if (temp2)
17360 delete arg2;
17361 }
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxPrintData *arg1 = (wxPrintData *) 0 ;
17369 wxString *arg2 = 0 ;
17370 bool temp2 = False ;
17371 PyObject * obj0 = 0 ;
17372 PyObject * obj1 = 0 ;
17373 char *kwnames[] = {
17374 (char *) "self",(char *) "command", NULL
17375 };
17376
17377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17380 {
17381 arg2 = wxString_in_helper(obj1);
17382 if (arg2 == NULL) SWIG_fail;
17383 temp2 = True;
17384 }
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 Py_INCREF(Py_None); resultobj = Py_None;
17393 {
17394 if (temp2)
17395 delete arg2;
17396 }
17397 return resultobj;
17398 fail:
17399 {
17400 if (temp2)
17401 delete arg2;
17402 }
17403 return NULL;
17404 }
17405
17406
17407 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17408 PyObject *resultobj;
17409 wxPrintData *arg1 = (wxPrintData *) 0 ;
17410 wxString *arg2 = 0 ;
17411 bool temp2 = False ;
17412 PyObject * obj0 = 0 ;
17413 PyObject * obj1 = 0 ;
17414 char *kwnames[] = {
17415 (char *) "self",(char *) "filename", NULL
17416 };
17417
17418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17421 {
17422 arg2 = wxString_in_helper(obj1);
17423 if (arg2 == NULL) SWIG_fail;
17424 temp2 = True;
17425 }
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 (arg1)->SetFilename((wxString const &)*arg2);
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 Py_INCREF(Py_None); resultobj = Py_None;
17434 {
17435 if (temp2)
17436 delete arg2;
17437 }
17438 return resultobj;
17439 fail:
17440 {
17441 if (temp2)
17442 delete arg2;
17443 }
17444 return NULL;
17445 }
17446
17447
17448 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj;
17450 wxPrintData *arg1 = (wxPrintData *) 0 ;
17451 wxString *arg2 = 0 ;
17452 bool temp2 = False ;
17453 PyObject * obj0 = 0 ;
17454 PyObject * obj1 = 0 ;
17455 char *kwnames[] = {
17456 (char *) "self",(char *) "path", NULL
17457 };
17458
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17462 {
17463 arg2 = wxString_in_helper(obj1);
17464 if (arg2 == NULL) SWIG_fail;
17465 temp2 = True;
17466 }
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 {
17476 if (temp2)
17477 delete arg2;
17478 }
17479 return resultobj;
17480 fail:
17481 {
17482 if (temp2)
17483 delete arg2;
17484 }
17485 return NULL;
17486 }
17487
17488
17489 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17490 PyObject *resultobj;
17491 wxPrintData *arg1 = (wxPrintData *) 0 ;
17492 double arg2 ;
17493 PyObject * obj0 = 0 ;
17494 PyObject * obj1 = 0 ;
17495 char *kwnames[] = {
17496 (char *) "self",(char *) "x", NULL
17497 };
17498
17499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17502 arg2 = (double) SWIG_AsDouble(obj1);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 (arg1)->SetPrinterScaleX(arg2);
17507
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 Py_INCREF(Py_None); resultobj = Py_None;
17512 return resultobj;
17513 fail:
17514 return NULL;
17515 }
17516
17517
17518 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17519 PyObject *resultobj;
17520 wxPrintData *arg1 = (wxPrintData *) 0 ;
17521 double arg2 ;
17522 PyObject * obj0 = 0 ;
17523 PyObject * obj1 = 0 ;
17524 char *kwnames[] = {
17525 (char *) "self",(char *) "y", NULL
17526 };
17527
17528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17531 arg2 = (double) SWIG_AsDouble(obj1);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 (arg1)->SetPrinterScaleY(arg2);
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 Py_INCREF(Py_None); resultobj = Py_None;
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj;
17549 wxPrintData *arg1 = (wxPrintData *) 0 ;
17550 double arg2 ;
17551 double arg3 ;
17552 PyObject * obj0 = 0 ;
17553 PyObject * obj1 = 0 ;
17554 PyObject * obj2 = 0 ;
17555 char *kwnames[] = {
17556 (char *) "self",(char *) "x",(char *) "y", NULL
17557 };
17558
17559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17562 arg2 = (double) SWIG_AsDouble(obj1);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 arg3 = (double) SWIG_AsDouble(obj2);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 (arg1)->SetPrinterScaling(arg2,arg3);
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 Py_INCREF(Py_None); resultobj = Py_None;
17574 return resultobj;
17575 fail:
17576 return NULL;
17577 }
17578
17579
17580 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxPrintData *arg1 = (wxPrintData *) 0 ;
17583 long arg2 ;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self",(char *) "x", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17593 arg2 = (long) SWIG_AsLong(obj1);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 (arg1)->SetPrinterTranslateX(arg2);
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 Py_INCREF(Py_None); resultobj = Py_None;
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17610 PyObject *resultobj;
17611 wxPrintData *arg1 = (wxPrintData *) 0 ;
17612 long arg2 ;
17613 PyObject * obj0 = 0 ;
17614 PyObject * obj1 = 0 ;
17615 char *kwnames[] = {
17616 (char *) "self",(char *) "y", NULL
17617 };
17618
17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17622 arg2 = (long) SWIG_AsLong(obj1);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 (arg1)->SetPrinterTranslateY(arg2);
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 Py_INCREF(Py_None); resultobj = Py_None;
17632 return resultobj;
17633 fail:
17634 return NULL;
17635 }
17636
17637
17638 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxPrintData *arg1 = (wxPrintData *) 0 ;
17641 long arg2 ;
17642 long arg3 ;
17643 PyObject * obj0 = 0 ;
17644 PyObject * obj1 = 0 ;
17645 PyObject * obj2 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "self",(char *) "x",(char *) "y", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17653 arg2 = (long) SWIG_AsLong(obj1);
17654 if (PyErr_Occurred()) SWIG_fail;
17655 arg3 = (long) SWIG_AsLong(obj2);
17656 if (PyErr_Occurred()) SWIG_fail;
17657 {
17658 PyThreadState* __tstate = wxPyBeginAllowThreads();
17659 (arg1)->SetPrinterTranslation(arg2,arg3);
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_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17672 PyObject *resultobj;
17673 wxPrintData *arg1 = (wxPrintData *) 0 ;
17674 int arg2 ;
17675 PyObject * obj0 = 0 ;
17676 PyObject * obj1 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self",(char *) "printMode", NULL
17679 };
17680
17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17684 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 {
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
17688 (arg1)->SetPrintMode((wxPrintMode )arg2);
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 Py_INCREF(Py_None); resultobj = Py_None;
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxPrintData *arg1 = (wxPrintData *) 0 ;
17703 wxOutputStream *result;
17704 PyObject * obj0 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17712 {
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 result = (wxOutputStream *)(arg1)->GetOutputStream();
17715
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
17720 return resultobj;
17721 fail:
17722 return NULL;
17723 }
17724
17725
17726 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj;
17728 wxPrintData *arg1 = (wxPrintData *) 0 ;
17729 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
17730 PyObject * obj0 = 0 ;
17731 PyObject * obj1 = 0 ;
17732 char *kwnames[] = {
17733 (char *) "self",(char *) "outputstream", NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
17737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
17740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 (arg1)->SetOutputStream(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 * PrintData_swigregister(PyObject *self, PyObject *args) {
17756 PyObject *obj;
17757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17758 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17759 Py_INCREF(obj);
17760 return Py_BuildValue((char *)"");
17761 }
17762 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxPageSetupDialogData *result;
17765 char *kwnames[] = {
17766 NULL
17767 };
17768
17769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
17778 return resultobj;
17779 fail:
17780 return NULL;
17781 }
17782
17783
17784 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17785 PyObject *resultobj;
17786 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 delete arg1;
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 Py_INCREF(Py_None); resultobj = Py_None;
17803 return resultobj;
17804 fail:
17805 return NULL;
17806 }
17807
17808
17809 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17812 bool arg2 ;
17813 PyObject * obj0 = 0 ;
17814 PyObject * obj1 = 0 ;
17815 char *kwnames[] = {
17816 (char *) "self",(char *) "flag", NULL
17817 };
17818
17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17822 arg2 = (bool) SWIG_AsBool(obj1);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 {
17825 PyThreadState* __tstate = wxPyBeginAllowThreads();
17826 (arg1)->EnableHelp(arg2);
17827
17828 wxPyEndAllowThreads(__tstate);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
17831 Py_INCREF(Py_None); resultobj = Py_None;
17832 return resultobj;
17833 fail:
17834 return NULL;
17835 }
17836
17837
17838 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17839 PyObject *resultobj;
17840 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17841 bool arg2 ;
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self",(char *) "flag", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17851 arg2 = (bool) SWIG_AsBool(obj1);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->EnableMargins(arg2);
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 return resultobj;
17862 fail:
17863 return NULL;
17864 }
17865
17866
17867 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17870 bool arg2 ;
17871 PyObject * obj0 = 0 ;
17872 PyObject * obj1 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self",(char *) "flag", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17880 arg2 = (bool) SWIG_AsBool(obj1);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 {
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 (arg1)->EnableOrientation(arg2);
17885
17886 wxPyEndAllowThreads(__tstate);
17887 if (PyErr_Occurred()) SWIG_fail;
17888 }
17889 Py_INCREF(Py_None); resultobj = Py_None;
17890 return resultobj;
17891 fail:
17892 return NULL;
17893 }
17894
17895
17896 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17897 PyObject *resultobj;
17898 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17899 bool arg2 ;
17900 PyObject * obj0 = 0 ;
17901 PyObject * obj1 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "self",(char *) "flag", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17909 arg2 = (bool) SWIG_AsBool(obj1);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 (arg1)->EnablePaper(arg2);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 Py_INCREF(Py_None); resultobj = Py_None;
17919 return resultobj;
17920 fail:
17921 return NULL;
17922 }
17923
17924
17925 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17928 bool arg2 ;
17929 PyObject * obj0 = 0 ;
17930 PyObject * obj1 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self",(char *) "flag", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17938 arg2 = (bool) SWIG_AsBool(obj1);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 (arg1)->EnablePrinter(arg2);
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 Py_INCREF(Py_None); resultobj = Py_None;
17948 return resultobj;
17949 fail:
17950 return NULL;
17951 }
17952
17953
17954 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17955 PyObject *resultobj;
17956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17957 bool result;
17958 PyObject * obj0 = 0 ;
17959 char *kwnames[] = {
17960 (char *) "self", NULL
17961 };
17962
17963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (bool)(arg1)->GetDefaultMinMargins();
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 {
17974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17975 }
17976 return resultobj;
17977 fail:
17978 return NULL;
17979 }
17980
17981
17982 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj;
17984 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17985 bool result;
17986 PyObject * obj0 = 0 ;
17987 char *kwnames[] = {
17988 (char *) "self", NULL
17989 };
17990
17991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 result = (bool)(arg1)->GetEnableMargins();
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 {
18002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18003 }
18004 return resultobj;
18005 fail:
18006 return NULL;
18007 }
18008
18009
18010 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18011 PyObject *resultobj;
18012 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18013 bool result;
18014 PyObject * obj0 = 0 ;
18015 char *kwnames[] = {
18016 (char *) "self", NULL
18017 };
18018
18019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
18020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 result = (bool)(arg1)->GetEnableOrientation();
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 {
18030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18031 }
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18041 bool result;
18042 PyObject * obj0 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 result = (bool)(arg1)->GetEnablePaper();
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 {
18058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18059 }
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18069 bool result;
18070 PyObject * obj0 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18078 {
18079 PyThreadState* __tstate = wxPyBeginAllowThreads();
18080 result = (bool)(arg1)->GetEnablePrinter();
18081
18082 wxPyEndAllowThreads(__tstate);
18083 if (PyErr_Occurred()) SWIG_fail;
18084 }
18085 {
18086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18087 }
18088 return resultobj;
18089 fail:
18090 return NULL;
18091 }
18092
18093
18094 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18095 PyObject *resultobj;
18096 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18097 bool result;
18098 PyObject * obj0 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "self", NULL
18101 };
18102
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18106 {
18107 PyThreadState* __tstate = wxPyBeginAllowThreads();
18108 result = (bool)(arg1)->GetEnableHelp();
18109
18110 wxPyEndAllowThreads(__tstate);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 {
18114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18115 }
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj;
18124 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18125 bool result;
18126 PyObject * obj0 = 0 ;
18127 char *kwnames[] = {
18128 (char *) "self", NULL
18129 };
18130
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 result = (bool)(arg1)->GetDefaultInfo();
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 {
18142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18143 }
18144 return resultobj;
18145 fail:
18146 return NULL;
18147 }
18148
18149
18150 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18153 wxPoint result;
18154 PyObject * obj0 = 0 ;
18155 char *kwnames[] = {
18156 (char *) "self", NULL
18157 };
18158
18159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (arg1)->GetMarginTopLeft();
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 {
18170 wxPoint * resultptr;
18171 resultptr = new wxPoint((wxPoint &) result);
18172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18173 }
18174 return resultobj;
18175 fail:
18176 return NULL;
18177 }
18178
18179
18180 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18181 PyObject *resultobj;
18182 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18183 wxPoint result;
18184 PyObject * obj0 = 0 ;
18185 char *kwnames[] = {
18186 (char *) "self", NULL
18187 };
18188
18189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18192 {
18193 PyThreadState* __tstate = wxPyBeginAllowThreads();
18194 result = (arg1)->GetMarginBottomRight();
18195
18196 wxPyEndAllowThreads(__tstate);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 }
18199 {
18200 wxPoint * resultptr;
18201 resultptr = new wxPoint((wxPoint &) result);
18202 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18203 }
18204 return resultobj;
18205 fail:
18206 return NULL;
18207 }
18208
18209
18210 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18211 PyObject *resultobj;
18212 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18213 wxPoint result;
18214 PyObject * obj0 = 0 ;
18215 char *kwnames[] = {
18216 (char *) "self", NULL
18217 };
18218
18219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18222 {
18223 PyThreadState* __tstate = wxPyBeginAllowThreads();
18224 result = (arg1)->GetMinMarginTopLeft();
18225
18226 wxPyEndAllowThreads(__tstate);
18227 if (PyErr_Occurred()) SWIG_fail;
18228 }
18229 {
18230 wxPoint * resultptr;
18231 resultptr = new wxPoint((wxPoint &) result);
18232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18233 }
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18241 PyObject *resultobj;
18242 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18243 wxPoint result;
18244 PyObject * obj0 = 0 ;
18245 char *kwnames[] = {
18246 (char *) "self", NULL
18247 };
18248
18249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 result = (arg1)->GetMinMarginBottomRight();
18255
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 {
18260 wxPoint * resultptr;
18261 resultptr = new wxPoint((wxPoint &) result);
18262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18263 }
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18273 int result;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
18280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (int)(arg1)->GetPaperId();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 resultobj = SWIG_FromInt((int)result);
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18299 wxSize result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
18306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (arg1)->GetPaperSize();
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
18316 wxSize * resultptr;
18317 resultptr = new wxSize((wxSize &) result);
18318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18319 }
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18329 wxPrintData *result;
18330 PyObject * obj0 = 0 ;
18331 char *kwnames[] = {
18332 (char *) "self", NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 {
18341 wxPrintData &_result_ref = (arg1)->GetPrintData();
18342 result = (wxPrintData *) &_result_ref;
18343 }
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
18349 return resultobj;
18350 fail:
18351 return NULL;
18352 }
18353
18354
18355 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18356 PyObject *resultobj;
18357 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18358 bool result;
18359 PyObject * obj0 = 0 ;
18360 char *kwnames[] = {
18361 (char *) "self", NULL
18362 };
18363
18364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 result = (bool)(arg1)->Ok();
18370
18371 wxPyEndAllowThreads(__tstate);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 {
18375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18376 }
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj;
18385 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18386 bool arg2 ;
18387 PyObject * obj0 = 0 ;
18388 PyObject * obj1 = 0 ;
18389 char *kwnames[] = {
18390 (char *) "self",(char *) "flag", NULL
18391 };
18392
18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18396 arg2 = (bool) SWIG_AsBool(obj1);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 {
18399 PyThreadState* __tstate = wxPyBeginAllowThreads();
18400 (arg1)->SetDefaultInfo(arg2);
18401
18402 wxPyEndAllowThreads(__tstate);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 Py_INCREF(Py_None); resultobj = Py_None;
18406 return resultobj;
18407 fail:
18408 return NULL;
18409 }
18410
18411
18412 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18413 PyObject *resultobj;
18414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18415 bool arg2 ;
18416 PyObject * obj0 = 0 ;
18417 PyObject * obj1 = 0 ;
18418 char *kwnames[] = {
18419 (char *) "self",(char *) "flag", NULL
18420 };
18421
18422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18425 arg2 = (bool) SWIG_AsBool(obj1);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 (arg1)->SetDefaultMinMargins(arg2);
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 Py_INCREF(Py_None); resultobj = Py_None;
18435 return resultobj;
18436 fail:
18437 return NULL;
18438 }
18439
18440
18441 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18444 wxPoint *arg2 = 0 ;
18445 wxPoint temp2 ;
18446 PyObject * obj0 = 0 ;
18447 PyObject * obj1 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self",(char *) "pt", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18455 {
18456 arg2 = &temp2;
18457 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18458 }
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 Py_INCREF(Py_None); resultobj = Py_None;
18467 return resultobj;
18468 fail:
18469 return NULL;
18470 }
18471
18472
18473 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj;
18475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18476 wxPoint *arg2 = 0 ;
18477 wxPoint temp2 ;
18478 PyObject * obj0 = 0 ;
18479 PyObject * obj1 = 0 ;
18480 char *kwnames[] = {
18481 (char *) "self",(char *) "pt", NULL
18482 };
18483
18484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18487 {
18488 arg2 = &temp2;
18489 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18490 }
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 Py_INCREF(Py_None); resultobj = Py_None;
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj;
18507 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18508 wxPoint *arg2 = 0 ;
18509 wxPoint temp2 ;
18510 PyObject * obj0 = 0 ;
18511 PyObject * obj1 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self",(char *) "pt", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18519 {
18520 arg2 = &temp2;
18521 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18522 }
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 Py_INCREF(Py_None); resultobj = Py_None;
18531 return resultobj;
18532 fail:
18533 return NULL;
18534 }
18535
18536
18537 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18540 wxPoint *arg2 = 0 ;
18541 wxPoint temp2 ;
18542 PyObject * obj0 = 0 ;
18543 PyObject * obj1 = 0 ;
18544 char *kwnames[] = {
18545 (char *) "self",(char *) "pt", NULL
18546 };
18547
18548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18551 {
18552 arg2 = &temp2;
18553 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18554 }
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 Py_INCREF(Py_None); resultobj = Py_None;
18563 return resultobj;
18564 fail:
18565 return NULL;
18566 }
18567
18568
18569 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18572 int arg2 ;
18573 PyObject * obj0 = 0 ;
18574 PyObject * obj1 = 0 ;
18575 char *kwnames[] = {
18576 (char *) "self",(char *) "id", NULL
18577 };
18578
18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18582 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 (arg1)->SetPaperId((wxPaperSize )arg2);
18587
18588 wxPyEndAllowThreads(__tstate);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
18591 Py_INCREF(Py_None); resultobj = Py_None;
18592 return resultobj;
18593 fail:
18594 return NULL;
18595 }
18596
18597
18598 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18599 PyObject *resultobj;
18600 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18601 wxSize *arg2 = 0 ;
18602 wxSize temp2 ;
18603 PyObject * obj0 = 0 ;
18604 PyObject * obj1 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "self",(char *) "size", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18612 {
18613 arg2 = &temp2;
18614 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18615 }
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 (arg1)->SetPaperSize((wxSize const &)*arg2);
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 Py_INCREF(Py_None); resultobj = Py_None;
18624 return resultobj;
18625 fail:
18626 return NULL;
18627 }
18628
18629
18630 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18633 wxPrintData *arg2 = 0 ;
18634 PyObject * obj0 = 0 ;
18635 PyObject * obj1 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self",(char *) "printData", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
18644 SWIG_POINTER_EXCEPTION | 0)) == -1)
18645 SWIG_fail;
18646 if (arg2 == NULL) {
18647 PyErr_SetString(PyExc_TypeError,"null reference");
18648 SWIG_fail;
18649 }
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18653
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 Py_INCREF(Py_None); resultobj = Py_None;
18658 return resultobj;
18659 fail:
18660 return NULL;
18661 }
18662
18663
18664 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18665 PyObject *obj;
18666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18667 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18668 Py_INCREF(obj);
18669 return Py_BuildValue((char *)"");
18670 }
18671 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18672 PyObject *resultobj;
18673 wxWindow *arg1 = (wxWindow *) 0 ;
18674 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18675 wxPageSetupDialog *result;
18676 PyObject * obj0 = 0 ;
18677 PyObject * obj1 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "parent",(char *) "data", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18685 if (obj1) {
18686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
18687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18688 }
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
18697 return resultobj;
18698 fail:
18699 return NULL;
18700 }
18701
18702
18703 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18706 wxPageSetupDialogData *result;
18707 PyObject * obj0 = 0 ;
18708 char *kwnames[] = {
18709 (char *) "self", NULL
18710 };
18711
18712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 {
18718 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18719 result = (wxPageSetupDialogData *) &_result_ref;
18720 }
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18735 int result;
18736 PyObject * obj0 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 result = (int)(arg1)->ShowModal();
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = SWIG_FromInt((int)result);
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18759 PyObject *obj;
18760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18761 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18762 Py_INCREF(obj);
18763 return Py_BuildValue((char *)"");
18764 }
18765 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
18766 PyObject *resultobj;
18767 wxPrintDialogData *result;
18768
18769 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 result = (wxPrintDialogData *)new wxPrintDialogData();
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18778 return resultobj;
18779 fail:
18780 return NULL;
18781 }
18782
18783
18784 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
18785 PyObject *resultobj;
18786 wxPrintData *arg1 = 0 ;
18787 wxPrintDialogData *result;
18788 PyObject * obj0 = 0 ;
18789
18790 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18792 SWIG_POINTER_EXCEPTION | 0)) == -1)
18793 SWIG_fail;
18794 if (arg1 == NULL) {
18795 PyErr_SetString(PyExc_TypeError,"null reference");
18796 SWIG_fail;
18797 }
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
18813 int argc;
18814 PyObject *argv[2];
18815 int ii;
18816
18817 argc = PyObject_Length(args);
18818 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18819 argv[ii] = PyTuple_GetItem(args,ii);
18820 }
18821 if (argc == 0) {
18822 return _wrap_new_PrintDialogData__SWIG_0(self,args);
18823 }
18824 if (argc == 1) {
18825 int _v;
18826 {
18827 void *ptr;
18828 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18829 _v = 0;
18830 PyErr_Clear();
18831 } else {
18832 _v = 1;
18833 }
18834 }
18835 if (_v) {
18836 return _wrap_new_PrintDialogData__SWIG_1(self,args);
18837 }
18838 }
18839
18840 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
18841 return NULL;
18842 }
18843
18844
18845 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 delete arg1;
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 Py_INCREF(Py_None); resultobj = Py_None;
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18873 int result;
18874 PyObject * obj0 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 resultobj = SWIG_FromInt((int)result);
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18899 int result;
18900 PyObject * obj0 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 resultobj = SWIG_FromInt((int)result);
18916 return resultobj;
18917 fail:
18918 return NULL;
18919 }
18920
18921
18922 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18923 PyObject *resultobj;
18924 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18925 int result;
18926 PyObject * obj0 = 0 ;
18927 char *kwnames[] = {
18928 (char *) "self", NULL
18929 };
18930
18931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18934 {
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18937
18938 wxPyEndAllowThreads(__tstate);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 resultobj = SWIG_FromInt((int)result);
18942 return resultobj;
18943 fail:
18944 return NULL;
18945 }
18946
18947
18948 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18951 int result;
18952 PyObject * obj0 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 resultobj = SWIG_FromInt((int)result);
18968 return resultobj;
18969 fail:
18970 return NULL;
18971 }
18972
18973
18974 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18975 PyObject *resultobj;
18976 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18977 int result;
18978 PyObject * obj0 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18986 {
18987 PyThreadState* __tstate = wxPyBeginAllowThreads();
18988 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18989
18990 wxPyEndAllowThreads(__tstate);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 }
18993 resultobj = SWIG_FromInt((int)result);
18994 return resultobj;
18995 fail:
18996 return NULL;
18997 }
18998
18999
19000 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19001 PyObject *resultobj;
19002 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19003 bool result;
19004 PyObject * obj0 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
19010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19021 }
19022 return resultobj;
19023 fail:
19024 return NULL;
19025 }
19026
19027
19028 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19031 bool result;
19032 PyObject * obj0 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
19038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 {
19048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19049 }
19050 return resultobj;
19051 fail:
19052 return NULL;
19053 }
19054
19055
19056 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19057 PyObject *resultobj;
19058 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19059 bool result;
19060 PyObject * obj0 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
19066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 {
19076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19077 }
19078 return resultobj;
19079 fail:
19080 return NULL;
19081 }
19082
19083
19084 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19087 bool result;
19088 PyObject * obj0 = 0 ;
19089 char *kwnames[] = {
19090 (char *) "self", NULL
19091 };
19092
19093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
19094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19096 {
19097 PyThreadState* __tstate = wxPyBeginAllowThreads();
19098 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
19099
19100 wxPyEndAllowThreads(__tstate);
19101 if (PyErr_Occurred()) SWIG_fail;
19102 }
19103 {
19104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19105 }
19106 return resultobj;
19107 fail:
19108 return NULL;
19109 }
19110
19111
19112 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj;
19114 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19115 bool result;
19116 PyObject * obj0 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 {
19132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19133 }
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19143 int arg2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "v", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19153 arg2 = (int) SWIG_AsInt(obj1);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 (arg1)->SetFromPage(arg2);
19158
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 Py_INCREF(Py_None); resultobj = Py_None;
19163 return resultobj;
19164 fail:
19165 return NULL;
19166 }
19167
19168
19169 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19172 int arg2 ;
19173 PyObject * obj0 = 0 ;
19174 PyObject * obj1 = 0 ;
19175 char *kwnames[] = {
19176 (char *) "self",(char *) "v", NULL
19177 };
19178
19179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
19180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19182 arg2 = (int) SWIG_AsInt(obj1);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 (arg1)->SetToPage(arg2);
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 Py_INCREF(Py_None); resultobj = Py_None;
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19201 int arg2 ;
19202 PyObject * obj0 = 0 ;
19203 PyObject * obj1 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "v", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
19209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19211 arg2 = (int) SWIG_AsInt(obj1);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 (arg1)->SetMinPage(arg2);
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 return resultobj;
19222 fail:
19223 return NULL;
19224 }
19225
19226
19227 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19228 PyObject *resultobj;
19229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19230 int arg2 ;
19231 PyObject * obj0 = 0 ;
19232 PyObject * obj1 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self",(char *) "v", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
19238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19240 arg2 = (int) SWIG_AsInt(obj1);
19241 if (PyErr_Occurred()) SWIG_fail;
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 (arg1)->SetMaxPage(arg2);
19245
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 Py_INCREF(Py_None); resultobj = Py_None;
19250 return resultobj;
19251 fail:
19252 return NULL;
19253 }
19254
19255
19256 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19259 int arg2 ;
19260 PyObject * obj0 = 0 ;
19261 PyObject * obj1 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self",(char *) "v", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19269 arg2 = (int) SWIG_AsInt(obj1);
19270 if (PyErr_Occurred()) SWIG_fail;
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 (arg1)->SetNoCopies(arg2);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 Py_INCREF(Py_None); resultobj = Py_None;
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19288 bool arg2 ;
19289 PyObject * obj0 = 0 ;
19290 PyObject * obj1 = 0 ;
19291 char *kwnames[] = {
19292 (char *) "self",(char *) "flag", NULL
19293 };
19294
19295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
19296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19298 arg2 = (bool) SWIG_AsBool(obj1);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 (arg1)->SetAllPages(arg2);
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj;
19316 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19317 bool arg2 ;
19318 PyObject * obj0 = 0 ;
19319 PyObject * obj1 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self",(char *) "flag", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19327 arg2 = (bool) SWIG_AsBool(obj1);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 {
19330 PyThreadState* __tstate = wxPyBeginAllowThreads();
19331 (arg1)->SetSelection(arg2);
19332
19333 wxPyEndAllowThreads(__tstate);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 Py_INCREF(Py_None); resultobj = Py_None;
19337 return resultobj;
19338 fail:
19339 return NULL;
19340 }
19341
19342
19343 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj;
19345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19346 bool arg2 ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self",(char *) "flag", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19356 arg2 = (bool) SWIG_AsBool(obj1);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 {
19359 PyThreadState* __tstate = wxPyBeginAllowThreads();
19360 (arg1)->SetCollate(arg2);
19361
19362 wxPyEndAllowThreads(__tstate);
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
19365 Py_INCREF(Py_None); resultobj = Py_None;
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj;
19374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19375 bool arg2 ;
19376 PyObject * obj0 = 0 ;
19377 PyObject * obj1 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self",(char *) "flag", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19385 arg2 = (bool) SWIG_AsBool(obj1);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 {
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 (arg1)->SetPrintToFile(arg2);
19390
19391 wxPyEndAllowThreads(__tstate);
19392 if (PyErr_Occurred()) SWIG_fail;
19393 }
19394 Py_INCREF(Py_None); resultobj = Py_None;
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19404 bool arg2 ;
19405 PyObject * obj0 = 0 ;
19406 PyObject * obj1 = 0 ;
19407 char *kwnames[] = {
19408 (char *) "self",(char *) "flag", NULL
19409 };
19410
19411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19414 arg2 = (bool) SWIG_AsBool(obj1);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 {
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 (arg1)->SetSetupDialog(arg2);
19419
19420 wxPyEndAllowThreads(__tstate);
19421 if (PyErr_Occurred()) SWIG_fail;
19422 }
19423 Py_INCREF(Py_None); resultobj = Py_None;
19424 return resultobj;
19425 fail:
19426 return NULL;
19427 }
19428
19429
19430 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19431 PyObject *resultobj;
19432 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19433 bool arg2 ;
19434 PyObject * obj0 = 0 ;
19435 PyObject * obj1 = 0 ;
19436 char *kwnames[] = {
19437 (char *) "self",(char *) "flag", NULL
19438 };
19439
19440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
19441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19443 arg2 = (bool) SWIG_AsBool(obj1);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 {
19446 PyThreadState* __tstate = wxPyBeginAllowThreads();
19447 (arg1)->EnablePrintToFile(arg2);
19448
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 Py_INCREF(Py_None); resultobj = Py_None;
19453 return resultobj;
19454 fail:
19455 return NULL;
19456 }
19457
19458
19459 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19460 PyObject *resultobj;
19461 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19462 bool arg2 ;
19463 PyObject * obj0 = 0 ;
19464 PyObject * obj1 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self",(char *) "flag", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19472 arg2 = (bool) SWIG_AsBool(obj1);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 (arg1)->EnableSelection(arg2);
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 Py_INCREF(Py_None); resultobj = Py_None;
19482 return resultobj;
19483 fail:
19484 return NULL;
19485 }
19486
19487
19488 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19489 PyObject *resultobj;
19490 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19491 bool arg2 ;
19492 PyObject * obj0 = 0 ;
19493 PyObject * obj1 = 0 ;
19494 char *kwnames[] = {
19495 (char *) "self",(char *) "flag", NULL
19496 };
19497
19498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19501 arg2 = (bool) SWIG_AsBool(obj1);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 (arg1)->EnablePageNumbers(arg2);
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 Py_INCREF(Py_None); resultobj = Py_None;
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19520 bool arg2 ;
19521 PyObject * obj0 = 0 ;
19522 PyObject * obj1 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self",(char *) "flag", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19530 arg2 = (bool) SWIG_AsBool(obj1);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->EnableHelp(arg2);
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 Py_INCREF(Py_None); resultobj = Py_None;
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19549 bool result;
19550 PyObject * obj0 = 0 ;
19551 char *kwnames[] = {
19552 (char *) "self", NULL
19553 };
19554
19555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19561
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
19565 {
19566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19567 }
19568 return resultobj;
19569 fail:
19570 return NULL;
19571 }
19572
19573
19574 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19577 bool result;
19578 PyObject * obj0 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
19594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19595 }
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19605 bool result;
19606 PyObject * obj0 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 {
19622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19623 }
19624 return resultobj;
19625 fail:
19626 return NULL;
19627 }
19628
19629
19630 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19631 PyObject *resultobj;
19632 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19633 bool result;
19634 PyObject * obj0 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 {
19650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19651 }
19652 return resultobj;
19653 fail:
19654 return NULL;
19655 }
19656
19657
19658 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19661 bool result;
19662 PyObject * obj0 = 0 ;
19663 char *kwnames[] = {
19664 (char *) "self", NULL
19665 };
19666
19667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 {
19678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19679 }
19680 return resultobj;
19681 fail:
19682 return NULL;
19683 }
19684
19685
19686 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19687 PyObject *resultobj;
19688 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19689 wxPrintData *result;
19690 PyObject * obj0 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19698 {
19699 PyThreadState* __tstate = wxPyBeginAllowThreads();
19700 {
19701 wxPrintData &_result_ref = (arg1)->GetPrintData();
19702 result = (wxPrintData *) &_result_ref;
19703 }
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19718 wxPrintData *arg2 = 0 ;
19719 PyObject * obj0 = 0 ;
19720 PyObject * obj1 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self",(char *) "printData", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19729 SWIG_POINTER_EXCEPTION | 0)) == -1)
19730 SWIG_fail;
19731 if (arg2 == NULL) {
19732 PyErr_SetString(PyExc_TypeError,"null reference");
19733 SWIG_fail;
19734 }
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 Py_INCREF(Py_None); resultobj = Py_None;
19743 return resultobj;
19744 fail:
19745 return NULL;
19746 }
19747
19748
19749 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19750 PyObject *obj;
19751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19752 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19753 Py_INCREF(obj);
19754 return Py_BuildValue((char *)"");
19755 }
19756 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19757 PyObject *resultobj;
19758 wxWindow *arg1 = (wxWindow *) 0 ;
19759 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19760 wxPrintDialog *result;
19761 PyObject * obj0 = 0 ;
19762 PyObject * obj1 = 0 ;
19763 char *kwnames[] = {
19764 (char *) "parent",(char *) "data", NULL
19765 };
19766
19767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19770 if (obj1) {
19771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19773 }
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19791 wxPrintDialogData *result;
19792 PyObject * obj0 = 0 ;
19793 char *kwnames[] = {
19794 (char *) "self", NULL
19795 };
19796
19797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 {
19803 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19804 result = (wxPrintDialogData *) &_result_ref;
19805 }
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19818 PyObject *resultobj;
19819 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19820 wxDC *result;
19821 PyObject * obj0 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 result = (wxDC *)(arg1)->GetPrintDC();
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 {
19837 resultobj = wxPyMake_wxObject(result);
19838 }
19839 return resultobj;
19840 fail:
19841 return NULL;
19842 }
19843
19844
19845 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19846 PyObject *resultobj;
19847 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19848 int result;
19849 PyObject * obj0 = 0 ;
19850 char *kwnames[] = {
19851 (char *) "self", NULL
19852 };
19853
19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = (int)(arg1)->ShowModal();
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 resultobj = SWIG_FromInt((int)result);
19865 return resultobj;
19866 fail:
19867 return NULL;
19868 }
19869
19870
19871 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19872 PyObject *obj;
19873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19874 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19875 Py_INCREF(obj);
19876 return Py_BuildValue((char *)"");
19877 }
19878 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19881 wxPrinter *result;
19882 PyObject * obj0 = 0 ;
19883 char *kwnames[] = {
19884 (char *) "data", NULL
19885 };
19886
19887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19888 if (obj0) {
19889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19891 }
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 result = (wxPrinter *)new wxPrinter(arg1);
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj;
19908 wxPrinter *arg1 = (wxPrinter *) 0 ;
19909 PyObject * obj0 = 0 ;
19910 char *kwnames[] = {
19911 (char *) "self", NULL
19912 };
19913
19914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 delete arg1;
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 Py_INCREF(Py_None); resultobj = Py_None;
19925 return resultobj;
19926 fail:
19927 return NULL;
19928 }
19929
19930
19931 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxPrinter *arg1 = (wxPrinter *) 0 ;
19934 wxWindow *arg2 = (wxWindow *) 0 ;
19935 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 PyObject * obj2 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "parent",(char *) "printout", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19948 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->CreateAbortWindow(arg2,arg3);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 Py_INCREF(Py_None); resultobj = Py_None;
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPrinter *arg1 = (wxPrinter *) 0 ;
19967 wxPrintDialogData *result;
19968 PyObject * obj0 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 {
19979 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19980 result = (wxPrintDialogData *) &_result_ref;
19981 }
19982
19983 wxPyEndAllowThreads(__tstate);
19984 if (PyErr_Occurred()) SWIG_fail;
19985 }
19986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19987 return resultobj;
19988 fail:
19989 return NULL;
19990 }
19991
19992
19993 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxPrinter *arg1 = (wxPrinter *) 0 ;
19996 wxWindow *arg2 = (wxWindow *) 0 ;
19997 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19998 int arg4 = (int) True ;
19999 bool result;
20000 PyObject * obj0 = 0 ;
20001 PyObject * obj1 = 0 ;
20002 PyObject * obj2 = 0 ;
20003 PyObject * obj3 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20013 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20015 if (obj3) {
20016 arg4 = (int) SWIG_AsInt(obj3);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (bool)(arg1)->Print(arg2,arg3,arg4);
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 {
20027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20028 }
20029 return resultobj;
20030 fail:
20031 return NULL;
20032 }
20033
20034
20035 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxPrinter *arg1 = (wxPrinter *) 0 ;
20038 wxWindow *arg2 = (wxWindow *) 0 ;
20039 wxDC *result;
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "parent", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20051 {
20052 PyThreadState* __tstate = wxPyBeginAllowThreads();
20053 result = (wxDC *)(arg1)->PrintDialog(arg2);
20054
20055 wxPyEndAllowThreads(__tstate);
20056 if (PyErr_Occurred()) SWIG_fail;
20057 }
20058 {
20059 resultobj = wxPyMake_wxObject(result);
20060 }
20061 return resultobj;
20062 fail:
20063 return NULL;
20064 }
20065
20066
20067 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxPrinter *arg1 = (wxPrinter *) 0 ;
20070 wxWindow *arg2 = (wxWindow *) 0 ;
20071 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20072 wxString *arg4 = 0 ;
20073 bool temp4 = False ;
20074 PyObject * obj0 = 0 ;
20075 PyObject * obj1 = 0 ;
20076 PyObject * obj2 = 0 ;
20077 PyObject * obj3 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20087 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20089 {
20090 arg4 = wxString_in_helper(obj3);
20091 if (arg4 == NULL) SWIG_fail;
20092 temp4 = True;
20093 }
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 Py_INCREF(Py_None); resultobj = Py_None;
20102 {
20103 if (temp4)
20104 delete arg4;
20105 }
20106 return resultobj;
20107 fail:
20108 {
20109 if (temp4)
20110 delete arg4;
20111 }
20112 return NULL;
20113 }
20114
20115
20116 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj;
20118 wxPrinter *arg1 = (wxPrinter *) 0 ;
20119 wxWindow *arg2 = (wxWindow *) 0 ;
20120 bool result;
20121 PyObject * obj0 = 0 ;
20122 PyObject * obj1 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self",(char *) "parent", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 result = (bool)(arg1)->Setup(arg2);
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 {
20140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20141 }
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxPrinter *arg1 = (wxPrinter *) 0 ;
20151 bool result;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (bool)(arg1)->GetAbort();
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 {
20168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20169 }
20170 return resultobj;
20171 fail:
20172 return NULL;
20173 }
20174
20175
20176 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 int result;
20179 char *kwnames[] = {
20180 NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 result = (int)wxPrinter::GetLastError();
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 resultobj = SWIG_FromInt((int)result);
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
20199 PyObject *obj;
20200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20201 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
20202 Py_INCREF(obj);
20203 return Py_BuildValue((char *)"");
20204 }
20205 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
20208 wxString *arg1 = (wxString *) &arg1_defvalue ;
20209 wxPyPrintout *result;
20210 bool temp1 = False ;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "title", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
20217 if (obj0) {
20218 {
20219 arg1 = wxString_in_helper(obj0);
20220 if (arg1 == NULL) SWIG_fail;
20221 temp1 = True;
20222 }
20223 }
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 {
20232 resultobj = wxPyMake_wxObject(result);
20233 }
20234 {
20235 if (temp1)
20236 delete arg1;
20237 }
20238 return resultobj;
20239 fail:
20240 {
20241 if (temp1)
20242 delete arg1;
20243 }
20244 return NULL;
20245 }
20246
20247
20248 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20249 PyObject *resultobj;
20250 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20251 PyObject *arg2 = (PyObject *) 0 ;
20252 PyObject *arg3 = (PyObject *) 0 ;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 PyObject * obj2 = 0 ;
20256 char *kwnames[] = {
20257 (char *) "self",(char *) "self",(char *) "_class", NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20263 arg2 = obj1;
20264 arg3 = obj2;
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 (arg1)->_setCallbackInfo(arg2,arg3);
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
20272 Py_INCREF(Py_None); resultobj = Py_None;
20273 return resultobj;
20274 fail:
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20282 wxString result;
20283 PyObject * obj0 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
20289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20291 {
20292 PyThreadState* __tstate = wxPyBeginAllowThreads();
20293 result = ((wxPyPrintout const *)arg1)->GetTitle();
20294
20295 wxPyEndAllowThreads(__tstate);
20296 if (PyErr_Occurred()) SWIG_fail;
20297 }
20298 {
20299 #if wxUSE_UNICODE
20300 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20301 #else
20302 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20303 #endif
20304 }
20305 return resultobj;
20306 fail:
20307 return NULL;
20308 }
20309
20310
20311 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj;
20313 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20314 wxDC *result;
20315 PyObject * obj0 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
20321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20323 {
20324 PyThreadState* __tstate = wxPyBeginAllowThreads();
20325 result = (wxDC *)(arg1)->GetDC();
20326
20327 wxPyEndAllowThreads(__tstate);
20328 if (PyErr_Occurred()) SWIG_fail;
20329 }
20330 {
20331 resultobj = wxPyMake_wxObject(result);
20332 }
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj;
20341 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20342 wxDC *arg2 = (wxDC *) 0 ;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self",(char *) "dc", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 (arg1)->SetDC(arg2);
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 Py_INCREF(Py_None); resultobj = Py_None;
20362 return resultobj;
20363 fail:
20364 return NULL;
20365 }
20366
20367
20368 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20369 PyObject *resultobj;
20370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20371 int arg2 ;
20372 int arg3 ;
20373 PyObject * obj0 = 0 ;
20374 PyObject * obj1 = 0 ;
20375 PyObject * obj2 = 0 ;
20376 char *kwnames[] = {
20377 (char *) "self",(char *) "w",(char *) "h", NULL
20378 };
20379
20380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
20381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20383 arg2 = (int) SWIG_AsInt(obj1);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 arg3 = (int) SWIG_AsInt(obj2);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->SetPageSizePixels(arg2,arg3);
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 Py_INCREF(Py_None); resultobj = Py_None;
20395 return resultobj;
20396 fail:
20397 return NULL;
20398 }
20399
20400
20401 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj;
20403 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20404 int *arg2 = (int *) 0 ;
20405 int *arg3 = (int *) 0 ;
20406 int temp2 ;
20407 int temp3 ;
20408 PyObject * obj0 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self", NULL
20411 };
20412
20413 arg2 = &temp2;
20414 arg3 = &temp3;
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 (arg1)->GetPageSizePixels(arg2,arg3);
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 Py_INCREF(Py_None); resultobj = Py_None;
20426 {
20427 PyObject *o = PyInt_FromLong((long) (*arg2));
20428 resultobj = t_output_helper(resultobj,o);
20429 }
20430 {
20431 PyObject *o = PyInt_FromLong((long) (*arg3));
20432 resultobj = t_output_helper(resultobj,o);
20433 }
20434 return resultobj;
20435 fail:
20436 return NULL;
20437 }
20438
20439
20440 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20441 PyObject *resultobj;
20442 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20443 int arg2 ;
20444 int arg3 ;
20445 PyObject * obj0 = 0 ;
20446 PyObject * obj1 = 0 ;
20447 PyObject * obj2 = 0 ;
20448 char *kwnames[] = {
20449 (char *) "self",(char *) "w",(char *) "h", NULL
20450 };
20451
20452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
20453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20455 arg2 = (int) SWIG_AsInt(obj1);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 arg3 = (int) SWIG_AsInt(obj2);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 {
20460 PyThreadState* __tstate = wxPyBeginAllowThreads();
20461 (arg1)->SetPageSizeMM(arg2,arg3);
20462
20463 wxPyEndAllowThreads(__tstate);
20464 if (PyErr_Occurred()) SWIG_fail;
20465 }
20466 Py_INCREF(Py_None); resultobj = Py_None;
20467 return resultobj;
20468 fail:
20469 return NULL;
20470 }
20471
20472
20473 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20474 PyObject *resultobj;
20475 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20476 int *arg2 = (int *) 0 ;
20477 int *arg3 = (int *) 0 ;
20478 int temp2 ;
20479 int temp3 ;
20480 PyObject * obj0 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self", NULL
20483 };
20484
20485 arg2 = &temp2;
20486 arg3 = &temp3;
20487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
20488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 (arg1)->GetPageSizeMM(arg2,arg3);
20493
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 Py_INCREF(Py_None); resultobj = Py_None;
20498 {
20499 PyObject *o = PyInt_FromLong((long) (*arg2));
20500 resultobj = t_output_helper(resultobj,o);
20501 }
20502 {
20503 PyObject *o = PyInt_FromLong((long) (*arg3));
20504 resultobj = t_output_helper(resultobj,o);
20505 }
20506 return resultobj;
20507 fail:
20508 return NULL;
20509 }
20510
20511
20512 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20513 PyObject *resultobj;
20514 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20515 int arg2 ;
20516 int arg3 ;
20517 PyObject * obj0 = 0 ;
20518 PyObject * obj1 = 0 ;
20519 PyObject * obj2 = 0 ;
20520 char *kwnames[] = {
20521 (char *) "self",(char *) "x",(char *) "y", NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
20525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20527 arg2 = (int) SWIG_AsInt(obj1);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 arg3 = (int) SWIG_AsInt(obj2);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 (arg1)->SetPPIScreen(arg2,arg3);
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 Py_INCREF(Py_None); resultobj = Py_None;
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20548 int *arg2 = (int *) 0 ;
20549 int *arg3 = (int *) 0 ;
20550 int temp2 ;
20551 int temp3 ;
20552 PyObject * obj0 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self", NULL
20555 };
20556
20557 arg2 = &temp2;
20558 arg3 = &temp3;
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 (arg1)->GetPPIScreen(arg2,arg3);
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 {
20571 PyObject *o = PyInt_FromLong((long) (*arg2));
20572 resultobj = t_output_helper(resultobj,o);
20573 }
20574 {
20575 PyObject *o = PyInt_FromLong((long) (*arg3));
20576 resultobj = t_output_helper(resultobj,o);
20577 }
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20587 int arg2 ;
20588 int arg3 ;
20589 PyObject * obj0 = 0 ;
20590 PyObject * obj1 = 0 ;
20591 PyObject * obj2 = 0 ;
20592 char *kwnames[] = {
20593 (char *) "self",(char *) "x",(char *) "y", NULL
20594 };
20595
20596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20599 arg2 = (int) SWIG_AsInt(obj1);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 arg3 = (int) SWIG_AsInt(obj2);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 {
20604 PyThreadState* __tstate = wxPyBeginAllowThreads();
20605 (arg1)->SetPPIPrinter(arg2,arg3);
20606
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 Py_INCREF(Py_None); resultobj = Py_None;
20611 return resultobj;
20612 fail:
20613 return NULL;
20614 }
20615
20616
20617 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj;
20619 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20620 int *arg2 = (int *) 0 ;
20621 int *arg3 = (int *) 0 ;
20622 int temp2 ;
20623 int temp3 ;
20624 PyObject * obj0 = 0 ;
20625 char *kwnames[] = {
20626 (char *) "self", NULL
20627 };
20628
20629 arg2 = &temp2;
20630 arg3 = &temp3;
20631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 (arg1)->GetPPIPrinter(arg2,arg3);
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 Py_INCREF(Py_None); resultobj = Py_None;
20642 {
20643 PyObject *o = PyInt_FromLong((long) (*arg2));
20644 resultobj = t_output_helper(resultobj,o);
20645 }
20646 {
20647 PyObject *o = PyInt_FromLong((long) (*arg3));
20648 resultobj = t_output_helper(resultobj,o);
20649 }
20650 return resultobj;
20651 fail:
20652 return NULL;
20653 }
20654
20655
20656 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj;
20658 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20659 bool result;
20660 PyObject * obj0 = 0 ;
20661 char *kwnames[] = {
20662 (char *) "self", NULL
20663 };
20664
20665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = (bool)(arg1)->IsPreview();
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 {
20676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20677 }
20678 return resultobj;
20679 fail:
20680 return NULL;
20681 }
20682
20683
20684 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20685 PyObject *resultobj;
20686 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20687 bool arg2 ;
20688 PyObject * obj0 = 0 ;
20689 PyObject * obj1 = 0 ;
20690 char *kwnames[] = {
20691 (char *) "self",(char *) "p", NULL
20692 };
20693
20694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20697 arg2 = (bool) SWIG_AsBool(obj1);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 (arg1)->SetIsPreview(arg2);
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 Py_INCREF(Py_None); resultobj = Py_None;
20707 return resultobj;
20708 fail:
20709 return NULL;
20710 }
20711
20712
20713 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20716 int arg2 ;
20717 int arg3 ;
20718 bool result;
20719 PyObject * obj0 = 0 ;
20720 PyObject * obj1 = 0 ;
20721 PyObject * obj2 = 0 ;
20722 char *kwnames[] = {
20723 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20724 };
20725
20726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20729 arg2 = (int) SWIG_AsInt(obj1);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 arg3 = (int) SWIG_AsInt(obj2);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 {
20741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20742 }
20743 return resultobj;
20744 fail:
20745 return NULL;
20746 }
20747
20748
20749 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20750 PyObject *resultobj;
20751 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20752 PyObject * obj0 = 0 ;
20753 char *kwnames[] = {
20754 (char *) "self", NULL
20755 };
20756
20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 (arg1)->base_OnEndDocument();
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 Py_INCREF(Py_None); resultobj = Py_None;
20768 return resultobj;
20769 fail:
20770 return NULL;
20771 }
20772
20773
20774 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20775 PyObject *resultobj;
20776 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20777 PyObject * obj0 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 (arg1)->base_OnBeginPrinting();
20788
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 Py_INCREF(Py_None); resultobj = Py_None;
20793 return resultobj;
20794 fail:
20795 return NULL;
20796 }
20797
20798
20799 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20800 PyObject *resultobj;
20801 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20802 PyObject * obj0 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 (arg1)->base_OnEndPrinting();
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 Py_INCREF(Py_None); resultobj = Py_None;
20818 return resultobj;
20819 fail:
20820 return NULL;
20821 }
20822
20823
20824 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20825 PyObject *resultobj;
20826 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20827 PyObject * obj0 = 0 ;
20828 char *kwnames[] = {
20829 (char *) "self", NULL
20830 };
20831
20832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 (arg1)->base_OnPreparePrinting();
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 Py_INCREF(Py_None); resultobj = Py_None;
20843 return resultobj;
20844 fail:
20845 return NULL;
20846 }
20847
20848
20849 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj;
20851 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20852 int arg2 ;
20853 bool result;
20854 PyObject * obj0 = 0 ;
20855 PyObject * obj1 = 0 ;
20856 char *kwnames[] = {
20857 (char *) "self",(char *) "page", NULL
20858 };
20859
20860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20863 arg2 = (int) SWIG_AsInt(obj1);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 result = (bool)(arg1)->base_HasPage(arg2);
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 {
20873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20874 }
20875 return resultobj;
20876 fail:
20877 return NULL;
20878 }
20879
20880
20881 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj;
20883 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20884 int *arg2 = (int *) 0 ;
20885 int *arg3 = (int *) 0 ;
20886 int *arg4 = (int *) 0 ;
20887 int *arg5 = (int *) 0 ;
20888 int temp2 ;
20889 int temp3 ;
20890 int temp4 ;
20891 int temp5 ;
20892 PyObject * obj0 = 0 ;
20893 char *kwnames[] = {
20894 (char *) "self", NULL
20895 };
20896
20897 arg2 = &temp2;
20898 arg3 = &temp3;
20899 arg4 = &temp4;
20900 arg5 = &temp5;
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 Py_INCREF(Py_None); resultobj = Py_None;
20912 {
20913 PyObject *o = PyInt_FromLong((long) (*arg2));
20914 resultobj = t_output_helper(resultobj,o);
20915 }
20916 {
20917 PyObject *o = PyInt_FromLong((long) (*arg3));
20918 resultobj = t_output_helper(resultobj,o);
20919 }
20920 {
20921 PyObject *o = PyInt_FromLong((long) (*arg4));
20922 resultobj = t_output_helper(resultobj,o);
20923 }
20924 {
20925 PyObject *o = PyInt_FromLong((long) (*arg5));
20926 resultobj = t_output_helper(resultobj,o);
20927 }
20928 return resultobj;
20929 fail:
20930 return NULL;
20931 }
20932
20933
20934 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20935 PyObject *obj;
20936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20937 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20938 Py_INCREF(obj);
20939 return Py_BuildValue((char *)"");
20940 }
20941 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20942 PyObject *resultobj;
20943 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20944 wxWindow *arg2 = (wxWindow *) 0 ;
20945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20947 wxSize const &arg4_defvalue = wxDefaultSize ;
20948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20949 long arg5 = (long) 0 ;
20950 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20951 wxString *arg6 = (wxString *) &arg6_defvalue ;
20952 wxPreviewCanvas *result;
20953 wxPoint temp3 ;
20954 wxSize temp4 ;
20955 bool temp6 = False ;
20956 PyObject * obj0 = 0 ;
20957 PyObject * obj1 = 0 ;
20958 PyObject * obj2 = 0 ;
20959 PyObject * obj3 = 0 ;
20960 PyObject * obj4 = 0 ;
20961 PyObject * obj5 = 0 ;
20962 char *kwnames[] = {
20963 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20964 };
20965
20966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20971 if (obj2) {
20972 {
20973 arg3 = &temp3;
20974 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20975 }
20976 }
20977 if (obj3) {
20978 {
20979 arg4 = &temp4;
20980 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20981 }
20982 }
20983 if (obj4) {
20984 arg5 = (long) SWIG_AsLong(obj4);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 }
20987 if (obj5) {
20988 {
20989 arg6 = wxString_in_helper(obj5);
20990 if (arg6 == NULL) SWIG_fail;
20991 temp6 = True;
20992 }
20993 }
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
21002 {
21003 if (temp6)
21004 delete arg6;
21005 }
21006 return resultobj;
21007 fail:
21008 {
21009 if (temp6)
21010 delete arg6;
21011 }
21012 return NULL;
21013 }
21014
21015
21016 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
21017 PyObject *obj;
21018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21019 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
21020 Py_INCREF(obj);
21021 return Py_BuildValue((char *)"");
21022 }
21023 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj;
21025 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21026 wxFrame *arg2 = (wxFrame *) 0 ;
21027 wxString *arg3 = 0 ;
21028 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21029 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21030 wxSize const &arg5_defvalue = wxDefaultSize ;
21031 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21032 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21033 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21034 wxString *arg7 = (wxString *) &arg7_defvalue ;
21035 wxPreviewFrame *result;
21036 bool temp3 = False ;
21037 wxPoint temp4 ;
21038 wxSize temp5 ;
21039 bool temp7 = False ;
21040 PyObject * obj0 = 0 ;
21041 PyObject * obj1 = 0 ;
21042 PyObject * obj2 = 0 ;
21043 PyObject * obj3 = 0 ;
21044 PyObject * obj4 = 0 ;
21045 PyObject * obj5 = 0 ;
21046 PyObject * obj6 = 0 ;
21047 char *kwnames[] = {
21048 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21049 };
21050
21051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21056 {
21057 arg3 = wxString_in_helper(obj2);
21058 if (arg3 == NULL) SWIG_fail;
21059 temp3 = True;
21060 }
21061 if (obj3) {
21062 {
21063 arg4 = &temp4;
21064 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21065 }
21066 }
21067 if (obj4) {
21068 {
21069 arg5 = &temp5;
21070 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21071 }
21072 }
21073 if (obj5) {
21074 arg6 = (long) SWIG_AsLong(obj5);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 if (obj6) {
21078 {
21079 arg7 = wxString_in_helper(obj6);
21080 if (arg7 == NULL) SWIG_fail;
21081 temp7 = True;
21082 }
21083 }
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
21086 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
21092 {
21093 if (temp3)
21094 delete arg3;
21095 }
21096 {
21097 if (temp7)
21098 delete arg7;
21099 }
21100 return resultobj;
21101 fail:
21102 {
21103 if (temp3)
21104 delete arg3;
21105 }
21106 {
21107 if (temp7)
21108 delete arg7;
21109 }
21110 return NULL;
21111 }
21112
21113
21114 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
21115 PyObject *resultobj;
21116 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21117 PyObject * obj0 = 0 ;
21118 char *kwnames[] = {
21119 (char *) "self", NULL
21120 };
21121
21122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
21123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 (arg1)->Initialize();
21128
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
21132 Py_INCREF(Py_None); resultobj = Py_None;
21133 return resultobj;
21134 fail:
21135 return NULL;
21136 }
21137
21138
21139 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21142 PyObject * obj0 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 (arg1)->CreateControlBar();
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 Py_INCREF(Py_None); resultobj = Py_None;
21158 return resultobj;
21159 fail:
21160 return NULL;
21161 }
21162
21163
21164 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21167 PyObject * obj0 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
21173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21175 {
21176 PyThreadState* __tstate = wxPyBeginAllowThreads();
21177 (arg1)->CreateCanvas();
21178
21179 wxPyEndAllowThreads(__tstate);
21180 if (PyErr_Occurred()) SWIG_fail;
21181 }
21182 Py_INCREF(Py_None); resultobj = Py_None;
21183 return resultobj;
21184 fail:
21185 return NULL;
21186 }
21187
21188
21189 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj;
21191 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21192 wxPreviewControlBar *result;
21193 PyObject * obj0 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
21199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
21209 return resultobj;
21210 fail:
21211 return NULL;
21212 }
21213
21214
21215 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
21216 PyObject *obj;
21217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21218 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
21219 Py_INCREF(obj);
21220 return Py_BuildValue((char *)"");
21221 }
21222 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21225 long arg2 ;
21226 wxWindow *arg3 = (wxWindow *) 0 ;
21227 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21228 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21229 wxSize const &arg5_defvalue = wxDefaultSize ;
21230 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21231 long arg6 = (long) wxTAB_TRAVERSAL ;
21232 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21233 wxString *arg7 = (wxString *) &arg7_defvalue ;
21234 wxPreviewControlBar *result;
21235 wxPoint temp4 ;
21236 wxSize temp5 ;
21237 bool temp7 = False ;
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 PyObject * obj2 = 0 ;
21241 PyObject * obj3 = 0 ;
21242 PyObject * obj4 = 0 ;
21243 PyObject * obj5 = 0 ;
21244 PyObject * obj6 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21252 arg2 = (long) SWIG_AsLong(obj1);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
21255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21256 if (obj3) {
21257 {
21258 arg4 = &temp4;
21259 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21260 }
21261 }
21262 if (obj4) {
21263 {
21264 arg5 = &temp5;
21265 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21266 }
21267 }
21268 if (obj5) {
21269 arg6 = (long) SWIG_AsLong(obj5);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 if (obj6) {
21273 {
21274 arg7 = wxString_in_helper(obj6);
21275 if (arg7 == NULL) SWIG_fail;
21276 temp7 = True;
21277 }
21278 }
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
21287 {
21288 if (temp7)
21289 delete arg7;
21290 }
21291 return resultobj;
21292 fail:
21293 {
21294 if (temp7)
21295 delete arg7;
21296 }
21297 return NULL;
21298 }
21299
21300
21301 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj;
21303 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21304 int result;
21305 PyObject * obj0 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "self", NULL
21308 };
21309
21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
21311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 result = (int)(arg1)->GetZoomControl();
21316
21317 wxPyEndAllowThreads(__tstate);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 resultobj = SWIG_FromInt((int)result);
21321 return resultobj;
21322 fail:
21323 return NULL;
21324 }
21325
21326
21327 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21330 int arg2 ;
21331 PyObject * obj0 = 0 ;
21332 PyObject * obj1 = 0 ;
21333 char *kwnames[] = {
21334 (char *) "self",(char *) "zoom", NULL
21335 };
21336
21337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
21338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21340 arg2 = (int) SWIG_AsInt(obj1);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 {
21343 PyThreadState* __tstate = wxPyBeginAllowThreads();
21344 (arg1)->SetZoomControl(arg2);
21345
21346 wxPyEndAllowThreads(__tstate);
21347 if (PyErr_Occurred()) SWIG_fail;
21348 }
21349 Py_INCREF(Py_None); resultobj = Py_None;
21350 return resultobj;
21351 fail:
21352 return NULL;
21353 }
21354
21355
21356 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21357 PyObject *resultobj;
21358 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21359 wxPrintPreview *result;
21360 PyObject * obj0 = 0 ;
21361 char *kwnames[] = {
21362 (char *) "self", NULL
21363 };
21364
21365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
21366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
21376 return resultobj;
21377 fail:
21378 return NULL;
21379 }
21380
21381
21382 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21385 PyObject * obj0 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21393 {
21394 PyThreadState* __tstate = wxPyBeginAllowThreads();
21395 (arg1)->OnNext();
21396
21397 wxPyEndAllowThreads(__tstate);
21398 if (PyErr_Occurred()) SWIG_fail;
21399 }
21400 Py_INCREF(Py_None); resultobj = Py_None;
21401 return resultobj;
21402 fail:
21403 return NULL;
21404 }
21405
21406
21407 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
21408 PyObject *resultobj;
21409 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21410 PyObject * obj0 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
21416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 (arg1)->OnPrevious();
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
21425 Py_INCREF(Py_None); resultobj = Py_None;
21426 return resultobj;
21427 fail:
21428 return NULL;
21429 }
21430
21431
21432 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21435 PyObject * obj0 = 0 ;
21436 char *kwnames[] = {
21437 (char *) "self", NULL
21438 };
21439
21440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
21441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21443 {
21444 PyThreadState* __tstate = wxPyBeginAllowThreads();
21445 (arg1)->OnFirst();
21446
21447 wxPyEndAllowThreads(__tstate);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 }
21450 Py_INCREF(Py_None); resultobj = Py_None;
21451 return resultobj;
21452 fail:
21453 return NULL;
21454 }
21455
21456
21457 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21460 PyObject * obj0 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
21466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21468 {
21469 PyThreadState* __tstate = wxPyBeginAllowThreads();
21470 (arg1)->OnLast();
21471
21472 wxPyEndAllowThreads(__tstate);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 }
21475 Py_INCREF(Py_None); resultobj = Py_None;
21476 return resultobj;
21477 fail:
21478 return NULL;
21479 }
21480
21481
21482 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
21483 PyObject *resultobj;
21484 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 (arg1)->OnGoto();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 Py_INCREF(Py_None); resultobj = Py_None;
21501 return resultobj;
21502 fail:
21503 return NULL;
21504 }
21505
21506
21507 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21508 PyObject *obj;
21509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21510 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21511 Py_INCREF(obj);
21512 return Py_BuildValue((char *)"");
21513 }
21514 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
21515 PyObject *resultobj;
21516 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21517 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21518 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
21519 wxPrintPreview *result;
21520 PyObject * obj0 = 0 ;
21521 PyObject * obj1 = 0 ;
21522 PyObject * obj2 = 0 ;
21523
21524 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
21525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21529 if (obj2) {
21530 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
21531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21532 }
21533 {
21534 PyThreadState* __tstate = wxPyBeginAllowThreads();
21535 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21536
21537 wxPyEndAllowThreads(__tstate);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 }
21540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
21541 return resultobj;
21542 fail:
21543 return NULL;
21544 }
21545
21546
21547 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
21548 PyObject *resultobj;
21549 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21550 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21551 wxPrintData *arg3 = (wxPrintData *) 0 ;
21552 wxPrintPreview *result;
21553 PyObject * obj0 = 0 ;
21554 PyObject * obj1 = 0 ;
21555 PyObject * obj2 = 0 ;
21556
21557 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
21558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21562 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
21563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
21579 int argc;
21580 PyObject *argv[4];
21581 int ii;
21582
21583 argc = PyObject_Length(args);
21584 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
21585 argv[ii] = PyTuple_GetItem(args,ii);
21586 }
21587 if ((argc >= 2) && (argc <= 3)) {
21588 int _v;
21589 {
21590 void *ptr;
21591 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21592 _v = 0;
21593 PyErr_Clear();
21594 } else {
21595 _v = 1;
21596 }
21597 }
21598 if (_v) {
21599 {
21600 void *ptr;
21601 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21602 _v = 0;
21603 PyErr_Clear();
21604 } else {
21605 _v = 1;
21606 }
21607 }
21608 if (_v) {
21609 if (argc <= 2) {
21610 return _wrap_new_PrintPreview__SWIG_0(self,args);
21611 }
21612 {
21613 void *ptr;
21614 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
21615 _v = 0;
21616 PyErr_Clear();
21617 } else {
21618 _v = 1;
21619 }
21620 }
21621 if (_v) {
21622 return _wrap_new_PrintPreview__SWIG_0(self,args);
21623 }
21624 }
21625 }
21626 }
21627 if (argc == 3) {
21628 int _v;
21629 {
21630 void *ptr;
21631 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21632 _v = 0;
21633 PyErr_Clear();
21634 } else {
21635 _v = 1;
21636 }
21637 }
21638 if (_v) {
21639 {
21640 void *ptr;
21641 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21642 _v = 0;
21643 PyErr_Clear();
21644 } else {
21645 _v = 1;
21646 }
21647 }
21648 if (_v) {
21649 {
21650 void *ptr;
21651 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21652 _v = 0;
21653 PyErr_Clear();
21654 } else {
21655 _v = 1;
21656 }
21657 }
21658 if (_v) {
21659 return _wrap_new_PrintPreview__SWIG_1(self,args);
21660 }
21661 }
21662 }
21663 }
21664
21665 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
21666 return NULL;
21667 }
21668
21669
21670 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj;
21672 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21673 int arg2 ;
21674 bool result;
21675 PyObject * obj0 = 0 ;
21676 PyObject * obj1 = 0 ;
21677 char *kwnames[] = {
21678 (char *) "self",(char *) "pageNum", NULL
21679 };
21680
21681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21684 arg2 = (int) SWIG_AsInt(obj1);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 result = (bool)(arg1)->SetCurrentPage(arg2);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 {
21694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21695 }
21696 return resultobj;
21697 fail:
21698 return NULL;
21699 }
21700
21701
21702 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21703 PyObject *resultobj;
21704 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21705 int result;
21706 PyObject * obj0 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 result = (int)(arg1)->GetCurrentPage();
21717
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
21721 resultobj = SWIG_FromInt((int)result);
21722 return resultobj;
21723 fail:
21724 return NULL;
21725 }
21726
21727
21728 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21731 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21732 PyObject * obj0 = 0 ;
21733 PyObject * obj1 = 0 ;
21734 char *kwnames[] = {
21735 (char *) "self",(char *) "printout", NULL
21736 };
21737
21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 (arg1)->SetPrintout(arg2);
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 Py_INCREF(Py_None); resultobj = Py_None;
21751 return resultobj;
21752 fail:
21753 return NULL;
21754 }
21755
21756
21757 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21758 PyObject *resultobj;
21759 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21760 wxPyPrintout *result;
21761 PyObject * obj0 = 0 ;
21762 char *kwnames[] = {
21763 (char *) "self", NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 result = (wxPyPrintout *)(arg1)->GetPrintout();
21772
21773 wxPyEndAllowThreads(__tstate);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 }
21776 {
21777 resultobj = wxPyMake_wxObject(result);
21778 }
21779 return resultobj;
21780 fail:
21781 return NULL;
21782 }
21783
21784
21785 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21786 PyObject *resultobj;
21787 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21788 wxPyPrintout *result;
21789 PyObject * obj0 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "self", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21800
21801 wxPyEndAllowThreads(__tstate);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 {
21805 resultobj = wxPyMake_wxObject(result);
21806 }
21807 return resultobj;
21808 fail:
21809 return NULL;
21810 }
21811
21812
21813 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21816 wxFrame *arg2 = (wxFrame *) 0 ;
21817 PyObject * obj0 = 0 ;
21818 PyObject * obj1 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self",(char *) "frame", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 (arg1)->SetFrame(arg2);
21831
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 Py_INCREF(Py_None); resultobj = Py_None;
21836 return resultobj;
21837 fail:
21838 return NULL;
21839 }
21840
21841
21842 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21845 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21846 PyObject * obj0 = 0 ;
21847 PyObject * obj1 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self",(char *) "canvas", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21857 {
21858 PyThreadState* __tstate = wxPyBeginAllowThreads();
21859 (arg1)->SetCanvas(arg2);
21860
21861 wxPyEndAllowThreads(__tstate);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 }
21864 Py_INCREF(Py_None); resultobj = Py_None;
21865 return resultobj;
21866 fail:
21867 return NULL;
21868 }
21869
21870
21871 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21872 PyObject *resultobj;
21873 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21874 wxFrame *result;
21875 PyObject * obj0 = 0 ;
21876 char *kwnames[] = {
21877 (char *) "self", NULL
21878 };
21879
21880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21883 {
21884 PyThreadState* __tstate = wxPyBeginAllowThreads();
21885 result = (wxFrame *)(arg1)->GetFrame();
21886
21887 wxPyEndAllowThreads(__tstate);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 }
21890 {
21891 resultobj = wxPyMake_wxObject(result);
21892 }
21893 return resultobj;
21894 fail:
21895 return NULL;
21896 }
21897
21898
21899 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21900 PyObject *resultobj;
21901 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21902 wxPreviewCanvas *result;
21903 PyObject * obj0 = 0 ;
21904 char *kwnames[] = {
21905 (char *) "self", NULL
21906 };
21907
21908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21911 {
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21914
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21928 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21929 wxDC *arg3 = 0 ;
21930 bool result;
21931 PyObject * obj0 = 0 ;
21932 PyObject * obj1 = 0 ;
21933 PyObject * obj2 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21943 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21944 SWIG_POINTER_EXCEPTION | 0)) == -1)
21945 SWIG_fail;
21946 if (arg3 == NULL) {
21947 PyErr_SetString(PyExc_TypeError,"null reference");
21948 SWIG_fail;
21949 }
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 {
21958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21959 }
21960 return resultobj;
21961 fail:
21962 return NULL;
21963 }
21964
21965
21966 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21967 PyObject *resultobj;
21968 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21969 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21970 wxDC *arg3 = 0 ;
21971 bool result;
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 PyObject * obj2 = 0 ;
21975 char *kwnames[] = {
21976 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21977 };
21978
21979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21984 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21985 SWIG_POINTER_EXCEPTION | 0)) == -1)
21986 SWIG_fail;
21987 if (arg3 == NULL) {
21988 PyErr_SetString(PyExc_TypeError,"null reference");
21989 SWIG_fail;
21990 }
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 {
21999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22000 }
22001 return resultobj;
22002 fail:
22003 return NULL;
22004 }
22005
22006
22007 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj;
22009 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22010 int arg2 ;
22011 bool result;
22012 PyObject * obj0 = 0 ;
22013 PyObject * obj1 = 0 ;
22014 char *kwnames[] = {
22015 (char *) "self",(char *) "pageNum", NULL
22016 };
22017
22018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22021 arg2 = (int) SWIG_AsInt(obj1);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 result = (bool)(arg1)->RenderPage(arg2);
22026
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
22030 {
22031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22032 }
22033 return resultobj;
22034 fail:
22035 return NULL;
22036 }
22037
22038
22039 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj;
22041 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22042 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22043 PyObject * obj0 = 0 ;
22044 PyObject * obj1 = 0 ;
22045 char *kwnames[] = {
22046 (char *) "self",(char *) "canvas", NULL
22047 };
22048
22049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
22050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 (arg1)->AdjustScrollbars(arg2);
22057
22058 wxPyEndAllowThreads(__tstate);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 Py_INCREF(Py_None); resultobj = Py_None;
22062 return resultobj;
22063 fail:
22064 return NULL;
22065 }
22066
22067
22068 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
22069 PyObject *resultobj;
22070 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22071 wxPrintDialogData *result;
22072 PyObject * obj0 = 0 ;
22073 char *kwnames[] = {
22074 (char *) "self", NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
22078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 {
22083 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22084 result = (wxPrintDialogData *) &_result_ref;
22085 }
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22091 return resultobj;
22092 fail:
22093 return NULL;
22094 }
22095
22096
22097 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj;
22099 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22100 int arg2 ;
22101 PyObject * obj0 = 0 ;
22102 PyObject * obj1 = 0 ;
22103 char *kwnames[] = {
22104 (char *) "self",(char *) "percent", NULL
22105 };
22106
22107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22110 arg2 = (int) SWIG_AsInt(obj1);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 (arg1)->SetZoom(arg2);
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 Py_INCREF(Py_None); resultobj = Py_None;
22120 return resultobj;
22121 fail:
22122 return NULL;
22123 }
22124
22125
22126 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22127 PyObject *resultobj;
22128 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22129 int result;
22130 PyObject * obj0 = 0 ;
22131 char *kwnames[] = {
22132 (char *) "self", NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
22136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22138 {
22139 PyThreadState* __tstate = wxPyBeginAllowThreads();
22140 result = (int)(arg1)->GetZoom();
22141
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
22145 resultobj = SWIG_FromInt((int)result);
22146 return resultobj;
22147 fail:
22148 return NULL;
22149 }
22150
22151
22152 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22155 int result;
22156 PyObject * obj0 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
22162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = (int)(arg1)->GetMaxPage();
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 resultobj = SWIG_FromInt((int)result);
22172 return resultobj;
22173 fail:
22174 return NULL;
22175 }
22176
22177
22178 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22179 PyObject *resultobj;
22180 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22181 int result;
22182 PyObject * obj0 = 0 ;
22183 char *kwnames[] = {
22184 (char *) "self", NULL
22185 };
22186
22187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
22188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 result = (int)(arg1)->GetMinPage();
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 resultobj = SWIG_FromInt((int)result);
22198 return resultobj;
22199 fail:
22200 return NULL;
22201 }
22202
22203
22204 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
22205 PyObject *resultobj;
22206 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22207 bool result;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)(arg1)->Ok();
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 {
22224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22225 }
22226 return resultobj;
22227 fail:
22228 return NULL;
22229 }
22230
22231
22232 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22235 bool arg2 ;
22236 PyObject * obj0 = 0 ;
22237 PyObject * obj1 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self",(char *) "ok", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
22243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22245 arg2 = (bool) SWIG_AsBool(obj1);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 {
22248 PyThreadState* __tstate = wxPyBeginAllowThreads();
22249 (arg1)->SetOk(arg2);
22250
22251 wxPyEndAllowThreads(__tstate);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 }
22254 Py_INCREF(Py_None); resultobj = Py_None;
22255 return resultobj;
22256 fail:
22257 return NULL;
22258 }
22259
22260
22261 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22262 PyObject *resultobj;
22263 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22264 bool arg2 ;
22265 bool result;
22266 PyObject * obj0 = 0 ;
22267 PyObject * obj1 = 0 ;
22268 char *kwnames[] = {
22269 (char *) "self",(char *) "interactive", NULL
22270 };
22271
22272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
22273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22275 arg2 = (bool) SWIG_AsBool(obj1);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 result = (bool)(arg1)->Print(arg2);
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 {
22285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22286 }
22287 return resultobj;
22288 fail:
22289 return NULL;
22290 }
22291
22292
22293 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22296 PyObject * obj0 = 0 ;
22297 char *kwnames[] = {
22298 (char *) "self", NULL
22299 };
22300
22301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
22302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22304 {
22305 PyThreadState* __tstate = wxPyBeginAllowThreads();
22306 (arg1)->DetermineScaling();
22307
22308 wxPyEndAllowThreads(__tstate);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
22311 Py_INCREF(Py_None); resultobj = Py_None;
22312 return resultobj;
22313 fail:
22314 return NULL;
22315 }
22316
22317
22318 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
22319 PyObject *obj;
22320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22321 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
22322 Py_INCREF(obj);
22323 return Py_BuildValue((char *)"");
22324 }
22325 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22326 PyObject *resultobj;
22327 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22328 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22329 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22330 wxPyPrintPreview *result;
22331 PyObject * obj0 = 0 ;
22332 PyObject * obj1 = 0 ;
22333 PyObject * obj2 = 0 ;
22334
22335 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
22336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22340 if (obj2) {
22341 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22343 }
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
22352 return resultobj;
22353 fail:
22354 return NULL;
22355 }
22356
22357
22358 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22359 PyObject *resultobj;
22360 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22361 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22362 wxPrintData *arg3 = (wxPrintData *) 0 ;
22363 wxPyPrintPreview *result;
22364 PyObject * obj0 = 0 ;
22365 PyObject * obj1 = 0 ;
22366 PyObject * obj2 = 0 ;
22367
22368 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
22369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22371 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22373 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
22383 return resultobj;
22384 fail:
22385 return NULL;
22386 }
22387
22388
22389 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
22390 int argc;
22391 PyObject *argv[4];
22392 int ii;
22393
22394 argc = PyObject_Length(args);
22395 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22396 argv[ii] = PyTuple_GetItem(args,ii);
22397 }
22398 if ((argc >= 2) && (argc <= 3)) {
22399 int _v;
22400 {
22401 void *ptr;
22402 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22403 _v = 0;
22404 PyErr_Clear();
22405 } else {
22406 _v = 1;
22407 }
22408 }
22409 if (_v) {
22410 {
22411 void *ptr;
22412 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22413 _v = 0;
22414 PyErr_Clear();
22415 } else {
22416 _v = 1;
22417 }
22418 }
22419 if (_v) {
22420 if (argc <= 2) {
22421 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
22422 }
22423 {
22424 void *ptr;
22425 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22426 _v = 0;
22427 PyErr_Clear();
22428 } else {
22429 _v = 1;
22430 }
22431 }
22432 if (_v) {
22433 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
22434 }
22435 }
22436 }
22437 }
22438 if (argc == 3) {
22439 int _v;
22440 {
22441 void *ptr;
22442 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22443 _v = 0;
22444 PyErr_Clear();
22445 } else {
22446 _v = 1;
22447 }
22448 }
22449 if (_v) {
22450 {
22451 void *ptr;
22452 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22453 _v = 0;
22454 PyErr_Clear();
22455 } else {
22456 _v = 1;
22457 }
22458 }
22459 if (_v) {
22460 {
22461 void *ptr;
22462 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22463 _v = 0;
22464 PyErr_Clear();
22465 } else {
22466 _v = 1;
22467 }
22468 }
22469 if (_v) {
22470 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
22471 }
22472 }
22473 }
22474 }
22475
22476 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
22477 return NULL;
22478 }
22479
22480
22481 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj;
22483 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22484 PyObject *arg2 = (PyObject *) 0 ;
22485 PyObject *arg3 = (PyObject *) 0 ;
22486 PyObject * obj0 = 0 ;
22487 PyObject * obj1 = 0 ;
22488 PyObject * obj2 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self",(char *) "self",(char *) "_class", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22496 arg2 = obj1;
22497 arg3 = obj2;
22498 {
22499 PyThreadState* __tstate = wxPyBeginAllowThreads();
22500 (arg1)->_setCallbackInfo(arg2,arg3);
22501
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 Py_INCREF(Py_None); resultobj = Py_None;
22506 return resultobj;
22507 fail:
22508 return NULL;
22509 }
22510
22511
22512 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22515 int arg2 ;
22516 bool result;
22517 PyObject * obj0 = 0 ;
22518 PyObject * obj1 = 0 ;
22519 char *kwnames[] = {
22520 (char *) "self",(char *) "pageNum", NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22526 arg2 = (int) SWIG_AsInt(obj1);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 result = (bool)(arg1)->base_SetCurrentPage(arg2);
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 {
22536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22537 }
22538 return resultobj;
22539 fail:
22540 return NULL;
22541 }
22542
22543
22544 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22547 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22548 wxDC *arg3 = 0 ;
22549 bool result;
22550 PyObject * obj0 = 0 ;
22551 PyObject * obj1 = 0 ;
22552 PyObject * obj2 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22562 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22563 SWIG_POINTER_EXCEPTION | 0)) == -1)
22564 SWIG_fail;
22565 if (arg3 == NULL) {
22566 PyErr_SetString(PyExc_TypeError,"null reference");
22567 SWIG_fail;
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 {
22577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22578 }
22579 return resultobj;
22580 fail:
22581 return NULL;
22582 }
22583
22584
22585 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22586 PyObject *resultobj;
22587 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22588 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22589 wxDC *arg3 = 0 ;
22590 bool result;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 PyObject * obj2 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22603 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22604 SWIG_POINTER_EXCEPTION | 0)) == -1)
22605 SWIG_fail;
22606 if (arg3 == NULL) {
22607 PyErr_SetString(PyExc_TypeError,"null reference");
22608 SWIG_fail;
22609 }
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 {
22618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22619 }
22620 return resultobj;
22621 fail:
22622 return NULL;
22623 }
22624
22625
22626 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22627 PyObject *resultobj;
22628 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22629 int arg2 ;
22630 bool result;
22631 PyObject * obj0 = 0 ;
22632 PyObject * obj1 = 0 ;
22633 char *kwnames[] = {
22634 (char *) "self",(char *) "pageNum", NULL
22635 };
22636
22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22640 arg2 = (int) SWIG_AsInt(obj1);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 {
22643 PyThreadState* __tstate = wxPyBeginAllowThreads();
22644 result = (bool)(arg1)->base_RenderPage(arg2);
22645
22646 wxPyEndAllowThreads(__tstate);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 {
22650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22651 }
22652 return resultobj;
22653 fail:
22654 return NULL;
22655 }
22656
22657
22658 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22659 PyObject *resultobj;
22660 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22661 int arg2 ;
22662 PyObject * obj0 = 0 ;
22663 PyObject * obj1 = 0 ;
22664 char *kwnames[] = {
22665 (char *) "self",(char *) "percent", NULL
22666 };
22667
22668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22671 arg2 = (int) SWIG_AsInt(obj1);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 (arg1)->base_SetZoom(arg2);
22676
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 Py_INCREF(Py_None); resultobj = Py_None;
22681 return resultobj;
22682 fail:
22683 return NULL;
22684 }
22685
22686
22687 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj;
22689 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22690 bool arg2 ;
22691 bool result;
22692 PyObject * obj0 = 0 ;
22693 PyObject * obj1 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self",(char *) "interactive", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
22699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22701 arg2 = (bool) SWIG_AsBool(obj1);
22702 if (PyErr_Occurred()) SWIG_fail;
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 result = (bool)(arg1)->base_Print(arg2);
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 {
22711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22712 }
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
22728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 (arg1)->base_DetermineScaling();
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 Py_INCREF(Py_None); resultobj = Py_None;
22738 return resultobj;
22739 fail:
22740 return NULL;
22741 }
22742
22743
22744 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
22745 PyObject *obj;
22746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22747 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
22748 Py_INCREF(obj);
22749 return Py_BuildValue((char *)"");
22750 }
22751 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22754 wxFrame *arg2 = (wxFrame *) 0 ;
22755 wxString *arg3 = 0 ;
22756 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22757 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22758 wxSize const &arg5_defvalue = wxDefaultSize ;
22759 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22760 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22761 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22762 wxString *arg7 = (wxString *) &arg7_defvalue ;
22763 wxPyPreviewFrame *result;
22764 bool temp3 = False ;
22765 wxPoint temp4 ;
22766 wxSize temp5 ;
22767 bool temp7 = False ;
22768 PyObject * obj0 = 0 ;
22769 PyObject * obj1 = 0 ;
22770 PyObject * obj2 = 0 ;
22771 PyObject * obj3 = 0 ;
22772 PyObject * obj4 = 0 ;
22773 PyObject * obj5 = 0 ;
22774 PyObject * obj6 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22784 {
22785 arg3 = wxString_in_helper(obj2);
22786 if (arg3 == NULL) SWIG_fail;
22787 temp3 = True;
22788 }
22789 if (obj3) {
22790 {
22791 arg4 = &temp4;
22792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22793 }
22794 }
22795 if (obj4) {
22796 {
22797 arg5 = &temp5;
22798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22799 }
22800 }
22801 if (obj5) {
22802 arg6 = (long) SWIG_AsLong(obj5);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 if (obj6) {
22806 {
22807 arg7 = wxString_in_helper(obj6);
22808 if (arg7 == NULL) SWIG_fail;
22809 temp7 = True;
22810 }
22811 }
22812 {
22813 PyThreadState* __tstate = wxPyBeginAllowThreads();
22814 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22815
22816 wxPyEndAllowThreads(__tstate);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
22820 {
22821 if (temp3)
22822 delete arg3;
22823 }
22824 {
22825 if (temp7)
22826 delete arg7;
22827 }
22828 return resultobj;
22829 fail:
22830 {
22831 if (temp3)
22832 delete arg3;
22833 }
22834 {
22835 if (temp7)
22836 delete arg7;
22837 }
22838 return NULL;
22839 }
22840
22841
22842 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj;
22844 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22845 PyObject *arg2 = (PyObject *) 0 ;
22846 PyObject *arg3 = (PyObject *) 0 ;
22847 PyObject * obj0 = 0 ;
22848 PyObject * obj1 = 0 ;
22849 PyObject * obj2 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self",(char *) "self",(char *) "_class", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22857 arg2 = obj1;
22858 arg3 = obj2;
22859 {
22860 PyThreadState* __tstate = wxPyBeginAllowThreads();
22861 (arg1)->_setCallbackInfo(arg2,arg3);
22862
22863 wxPyEndAllowThreads(__tstate);
22864 if (PyErr_Occurred()) SWIG_fail;
22865 }
22866 Py_INCREF(Py_None); resultobj = Py_None;
22867 return resultobj;
22868 fail:
22869 return NULL;
22870 }
22871
22872
22873 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22874 PyObject *resultobj;
22875 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22876 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22877 PyObject * obj0 = 0 ;
22878 PyObject * obj1 = 0 ;
22879 char *kwnames[] = {
22880 (char *) "self",(char *) "canvas", NULL
22881 };
22882
22883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22888 {
22889 PyThreadState* __tstate = wxPyBeginAllowThreads();
22890 (arg1)->SetPreviewCanvas(arg2);
22891
22892 wxPyEndAllowThreads(__tstate);
22893 if (PyErr_Occurred()) SWIG_fail;
22894 }
22895 Py_INCREF(Py_None); resultobj = Py_None;
22896 return resultobj;
22897 fail:
22898 return NULL;
22899 }
22900
22901
22902 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22903 PyObject *resultobj;
22904 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22905 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22906 PyObject * obj0 = 0 ;
22907 PyObject * obj1 = 0 ;
22908 char *kwnames[] = {
22909 (char *) "self",(char *) "bar", NULL
22910 };
22911
22912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
22916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 (arg1)->SetControlBar(arg2);
22920
22921 wxPyEndAllowThreads(__tstate);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 Py_INCREF(Py_None); resultobj = Py_None;
22925 return resultobj;
22926 fail:
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22934 PyObject * obj0 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self", NULL
22937 };
22938
22939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 (arg1)->base_Initialize();
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 Py_INCREF(Py_None); resultobj = Py_None;
22950 return resultobj;
22951 fail:
22952 return NULL;
22953 }
22954
22955
22956 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22957 PyObject *resultobj;
22958 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22959 PyObject * obj0 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 (arg1)->base_CreateCanvas();
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 Py_INCREF(Py_None); resultobj = Py_None;
22975 return resultobj;
22976 fail:
22977 return NULL;
22978 }
22979
22980
22981 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22982 PyObject *resultobj;
22983 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22984 PyObject * obj0 = 0 ;
22985 char *kwnames[] = {
22986 (char *) "self", NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22992 {
22993 PyThreadState* __tstate = wxPyBeginAllowThreads();
22994 (arg1)->base_CreateControlBar();
22995
22996 wxPyEndAllowThreads(__tstate);
22997 if (PyErr_Occurred()) SWIG_fail;
22998 }
22999 Py_INCREF(Py_None); resultobj = Py_None;
23000 return resultobj;
23001 fail:
23002 return NULL;
23003 }
23004
23005
23006 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
23007 PyObject *obj;
23008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23009 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
23010 Py_INCREF(obj);
23011 return Py_BuildValue((char *)"");
23012 }
23013 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23014 PyObject *resultobj;
23015 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23016 long arg2 ;
23017 wxWindow *arg3 = (wxWindow *) 0 ;
23018 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23019 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23020 wxSize const &arg5_defvalue = wxDefaultSize ;
23021 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23022 long arg6 = (long) 0 ;
23023 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23024 wxString *arg7 = (wxString *) &arg7_defvalue ;
23025 wxPyPreviewControlBar *result;
23026 wxPoint temp4 ;
23027 wxSize temp5 ;
23028 bool temp7 = False ;
23029 PyObject * obj0 = 0 ;
23030 PyObject * obj1 = 0 ;
23031 PyObject * obj2 = 0 ;
23032 PyObject * obj3 = 0 ;
23033 PyObject * obj4 = 0 ;
23034 PyObject * obj5 = 0 ;
23035 PyObject * obj6 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 arg2 = (long) SWIG_AsLong(obj1);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23047 if (obj3) {
23048 {
23049 arg4 = &temp4;
23050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23051 }
23052 }
23053 if (obj4) {
23054 {
23055 arg5 = &temp5;
23056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23057 }
23058 }
23059 if (obj5) {
23060 arg6 = (long) SWIG_AsLong(obj5);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 }
23063 if (obj6) {
23064 {
23065 arg7 = wxString_in_helper(obj6);
23066 if (arg7 == NULL) SWIG_fail;
23067 temp7 = True;
23068 }
23069 }
23070 {
23071 PyThreadState* __tstate = wxPyBeginAllowThreads();
23072 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23073
23074 wxPyEndAllowThreads(__tstate);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
23078 {
23079 if (temp7)
23080 delete arg7;
23081 }
23082 return resultobj;
23083 fail:
23084 {
23085 if (temp7)
23086 delete arg7;
23087 }
23088 return NULL;
23089 }
23090
23091
23092 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23093 PyObject *resultobj;
23094 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23095 PyObject *arg2 = (PyObject *) 0 ;
23096 PyObject *arg3 = (PyObject *) 0 ;
23097 PyObject * obj0 = 0 ;
23098 PyObject * obj1 = 0 ;
23099 PyObject * obj2 = 0 ;
23100 char *kwnames[] = {
23101 (char *) "self",(char *) "self",(char *) "_class", NULL
23102 };
23103
23104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23107 arg2 = obj1;
23108 arg3 = obj2;
23109 {
23110 PyThreadState* __tstate = wxPyBeginAllowThreads();
23111 (arg1)->_setCallbackInfo(arg2,arg3);
23112
23113 wxPyEndAllowThreads(__tstate);
23114 if (PyErr_Occurred()) SWIG_fail;
23115 }
23116 Py_INCREF(Py_None); resultobj = Py_None;
23117 return resultobj;
23118 fail:
23119 return NULL;
23120 }
23121
23122
23123 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
23124 PyObject *resultobj;
23125 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23126 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
23127 PyObject * obj0 = 0 ;
23128 PyObject * obj1 = 0 ;
23129 char *kwnames[] = {
23130 (char *) "self",(char *) "preview", NULL
23131 };
23132
23133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
23134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
23137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 (arg1)->SetPrintPreview(arg2);
23141
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 Py_INCREF(Py_None); resultobj = Py_None;
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23155 PyObject * obj0 = 0 ;
23156 char *kwnames[] = {
23157 (char *) "self", NULL
23158 };
23159
23160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
23161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23163 {
23164 PyThreadState* __tstate = wxPyBeginAllowThreads();
23165 (arg1)->base_CreateButtons();
23166
23167 wxPyEndAllowThreads(__tstate);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
23170 Py_INCREF(Py_None); resultobj = Py_None;
23171 return resultobj;
23172 fail:
23173 return NULL;
23174 }
23175
23176
23177 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23178 PyObject *resultobj;
23179 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23180 int arg2 ;
23181 PyObject * obj0 = 0 ;
23182 PyObject * obj1 = 0 ;
23183 char *kwnames[] = {
23184 (char *) "self",(char *) "zoom", NULL
23185 };
23186
23187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23190 arg2 = (int) SWIG_AsInt(obj1);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 {
23193 PyThreadState* __tstate = wxPyBeginAllowThreads();
23194 (arg1)->base_SetZoomControl(arg2);
23195
23196 wxPyEndAllowThreads(__tstate);
23197 if (PyErr_Occurred()) SWIG_fail;
23198 }
23199 Py_INCREF(Py_None); resultobj = Py_None;
23200 return resultobj;
23201 fail:
23202 return NULL;
23203 }
23204
23205
23206 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23207 PyObject *obj;
23208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23209 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
23210 Py_INCREF(obj);
23211 return Py_BuildValue((char *)"");
23212 }
23213 static PyMethodDef SwigMethods[] = {
23214 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
23215 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
23216 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
23217 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
23218 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
23219 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23220 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23221 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
23222 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
23223 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
23224 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
23225 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
23226 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
23227 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
23228 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
23229 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
23230 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
23231 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
23232 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
23233 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
23234 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
23235 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23236 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
23237 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
23238 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
23239 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
23240 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
23241 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
23242 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
23243 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
23244 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
23245 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
23246 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
23247 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
23248 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
23249 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
23250 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
23251 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
23252 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
23253 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
23254 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
23255 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
23256 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
23257 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
23258 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
23259 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
23260 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
23261 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
23262 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
23263 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
23264 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
23265 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
23266 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
23267 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
23268 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
23269 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
23270 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
23271 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
23272 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
23273 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
23274 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
23275 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
23276 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
23277 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
23278 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
23279 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
23280 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
23281 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
23282 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
23283 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
23284 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
23285 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23286 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
23287 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
23288 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
23289 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
23290 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
23291 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
23292 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
23293 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
23294 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
23295 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
23296 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
23297 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
23298 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
23299 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
23300 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
23301 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
23302 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
23303 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
23304 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
23305 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
23306 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
23307 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
23308 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
23309 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
23310 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
23311 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
23312 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
23313 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
23314 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
23315 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
23316 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
23317 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
23318 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
23319 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
23320 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
23321 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
23322 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
23323 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
23324 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
23325 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
23326 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
23327 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
23328 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
23329 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
23330 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
23331 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
23332 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
23333 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
23334 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
23335 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
23336 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
23337 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
23338 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
23339 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
23340 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
23341 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
23342 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
23343 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
23344 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
23345 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
23346 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
23347 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
23348 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
23349 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
23350 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
23351 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
23352 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
23353 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
23354 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
23355 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
23356 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
23357 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
23358 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
23359 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
23360 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
23361 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
23362 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
23363 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
23364 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
23365 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
23366 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
23367 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
23368 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
23369 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
23370 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
23371 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
23372 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
23373 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
23374 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
23375 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
23376 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
23377 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
23378 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
23379 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
23380 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
23381 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
23382 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
23383 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
23384 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
23385 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23386 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23387 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
23388 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
23389 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23390 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23391 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
23392 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
23393 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
23394 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
23395 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23396 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23397 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
23398 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
23399 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
23400 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
23401 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
23402 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
23403 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
23404 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23405 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
23406 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
23407 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23408 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
23409 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
23410 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
23411 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
23412 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
23413 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
23414 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
23415 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
23416 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
23417 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
23418 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
23419 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
23420 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
23421 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
23422 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23423 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
23424 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
23425 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
23426 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
23427 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
23428 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
23429 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
23430 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23431 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23432 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23433 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
23434 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
23435 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
23436 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
23437 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
23438 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
23439 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
23440 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
23441 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
23442 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
23443 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
23444 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
23445 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
23446 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
23447 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
23448 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
23449 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
23450 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23451 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
23452 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
23453 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
23454 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
23455 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
23456 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
23457 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
23458 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
23459 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
23460 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
23461 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
23462 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
23463 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
23464 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
23465 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
23466 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
23467 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
23468 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
23469 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
23470 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
23471 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
23472 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
23473 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
23474 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
23475 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
23476 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23477 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
23478 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
23479 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
23480 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
23481 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
23482 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
23483 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
23484 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
23485 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
23486 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
23487 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
23488 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
23489 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
23490 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
23491 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
23492 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
23493 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
23494 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
23495 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
23496 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
23497 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
23498 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
23499 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
23500 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
23501 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
23502 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
23503 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
23504 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
23505 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
23506 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
23507 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
23508 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
23509 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
23510 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
23511 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
23512 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
23513 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
23514 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
23515 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
23516 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
23517 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
23518 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
23519 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
23520 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
23521 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
23522 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
23523 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
23524 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
23525 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
23526 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
23527 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
23528 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
23529 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
23530 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
23531 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
23532 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
23533 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
23534 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
23535 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
23536 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
23537 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
23538 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
23539 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
23540 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
23541 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
23542 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
23543 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
23544 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23545 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
23546 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
23547 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
23548 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
23549 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
23550 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23551 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
23552 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
23553 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
23554 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
23555 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
23556 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
23557 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
23558 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
23559 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
23560 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
23561 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
23562 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
23563 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
23564 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
23565 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
23566 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
23567 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23568 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
23569 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23570 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
23571 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23572 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
23573 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23574 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
23575 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23576 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23577 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
23578 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23579 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
23580 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
23581 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
23582 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23583 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
23584 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23585 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23586 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
23587 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
23588 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
23589 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
23590 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23591 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23592 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
23593 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
23594 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
23595 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
23596 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
23597 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
23598 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
23599 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
23600 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
23601 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
23602 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23603 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23604 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
23605 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
23606 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
23607 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
23608 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
23609 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23610 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23611 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
23612 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
23613 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
23614 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23615 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23616 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23617 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23618 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23619 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23620 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23621 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23622 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23623 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23624 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23625 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23626 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23627 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
23628 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23629 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23630 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23631 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23632 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23633 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
23634 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
23635 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23636 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23637 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23638 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23639 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23640 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23641 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23642 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23643 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23644 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23645 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23646 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23647 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23648 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
23649 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23650 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23651 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23652 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23653 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23654 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
23655 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
23656 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
23657 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23658 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23659 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23660 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
23661 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
23662 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
23663 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
23664 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23665 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23666 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
23667 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23668 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23669 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23670 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
23671 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
23672 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
23673 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23674 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23675 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
23676 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23677 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23678 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23679 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
23680 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23681 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23682 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23683 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23684 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23685 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
23686 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23687 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23688 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23689 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
23690 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23691 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23692 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23693 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
23694 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23695 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23696 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
23697 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
23698 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
23699 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
23700 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
23701 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23702 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23703 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23704 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
23705 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
23706 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
23707 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
23708 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23709 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
23710 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
23711 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
23712 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
23713 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23714 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23715 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23716 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23717 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23718 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23719 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23720 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23721 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23722 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23723 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23724 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23725 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23726 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23727 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23728 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23729 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23730 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23731 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23732 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
23733 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
23734 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
23735 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23736 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
23737 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
23738 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23739 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
23740 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
23741 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23742 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23743 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23744 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
23745 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
23746 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23747 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23748 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23749 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
23750 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
23751 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
23752 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
23753 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23754 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
23755 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
23756 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23757 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23758 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23759 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23760 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
23761 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23762 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23763 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23764 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
23765 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23766 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23767 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23768 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23769 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23770 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
23771 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23772 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23773 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
23774 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23775 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
23776 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
23777 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
23778 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
23779 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23780 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
23781 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23782 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
23783 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
23784 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
23785 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
23786 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
23787 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
23788 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23789 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
23790 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
23791 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
23792 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23793 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23794 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23795 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23796 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23797 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23798 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23799 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23800 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
23801 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
23802 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
23803 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
23804 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
23805 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
23806 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
23807 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
23808 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
23809 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
23810 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23811 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
23812 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
23813 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
23814 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23815 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23816 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
23817 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
23818 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23819 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
23820 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23821 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23822 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
23823 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
23824 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
23825 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
23826 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
23827 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
23828 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
23829 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23830 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23831 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
23832 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
23833 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
23834 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
23835 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
23836 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
23837 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
23838 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
23839 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23840 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
23841 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23842 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23843 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
23844 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
23845 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23846 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23847 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
23848 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
23849 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
23850 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23851 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
23852 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
23853 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23854 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23855 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
23856 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23857 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
23858 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
23859 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
23860 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23861 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
23862 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
23863 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23864 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23865 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
23866 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
23867 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23868 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23869 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23870 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23871 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23872 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23873 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23874 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23875 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23876 { NULL, NULL }
23877 };
23878
23879
23880 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23881
23882 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23883 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23884 }
23885 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23886 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23887 }
23888 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23889 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23890 }
23891 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23892 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23893 }
23894 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23895 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23896 }
23897 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23898 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23899 }
23900 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23901 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23902 }
23903 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23904 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23905 }
23906 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23907 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23908 }
23909 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23910 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23911 }
23912 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23913 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23914 }
23915 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23916 return (void *)((wxEvent *) ((wxPyEvent *) x));
23917 }
23918 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23919 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23920 }
23921 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23922 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23923 }
23924 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23925 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23926 }
23927 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23928 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23929 }
23930 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23931 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23932 }
23933 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23934 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23935 }
23936 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23937 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23938 }
23939 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23940 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23941 }
23942 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23943 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23944 }
23945 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23946 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23947 }
23948 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23949 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23950 }
23951 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23952 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23953 }
23954 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23955 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23956 }
23957 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23958 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23959 }
23960 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23961 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23962 }
23963 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23964 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23965 }
23966 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23967 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23968 }
23969 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23970 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23971 }
23972 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23973 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23974 }
23975 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23976 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23977 }
23978 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23979 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23980 }
23981 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23982 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23983 }
23984 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23985 return (void *)((wxEvent *) ((wxShowEvent *) x));
23986 }
23987 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23988 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23989 }
23990 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23991 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23992 }
23993 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23994 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23995 }
23996 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23997 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23998 }
23999 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
24000 return (void *)((wxEvent *) ((wxKeyEvent *) x));
24001 }
24002 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
24003 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
24004 }
24005 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
24006 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
24007 }
24008 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
24009 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
24010 }
24011 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
24012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24013 }
24014 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
24015 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24016 }
24017 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
24018 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24019 }
24020 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
24021 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
24022 }
24023 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
24024 return (void *)((wxEvtHandler *) ((wxValidator *) x));
24025 }
24026 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
24027 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
24028 }
24029 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
24030 return (void *)((wxEvtHandler *) ((wxMenu *) x));
24031 }
24032 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
24033 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24034 }
24035 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
24036 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24037 }
24038 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
24039 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24040 }
24041 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
24042 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24043 }
24044 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
24045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24046 }
24047 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
24048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24049 }
24050 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
24051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24052 }
24053 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
24054 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
24055 }
24056 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
24057 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
24058 }
24059 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
24060 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24061 }
24062 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
24063 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24064 }
24065 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
24066 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24067 }
24068 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
24069 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
24070 }
24071 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
24072 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24073 }
24074 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
24075 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
24076 }
24077 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
24078 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
24079 }
24080 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
24081 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
24082 }
24083 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
24084 return (void *)((wxEvtHandler *) ((wxWindow *) x));
24085 }
24086 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
24087 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24088 }
24089 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
24090 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
24091 }
24092 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
24093 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
24094 }
24095 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
24096 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
24097 }
24098 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
24099 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24100 }
24101 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
24102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24103 }
24104 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
24105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24106 }
24107 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
24108 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
24109 }
24110 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
24111 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24112 }
24113 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
24114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
24115 }
24116 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
24117 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24118 }
24119 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
24120 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24121 }
24122 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
24123 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24124 }
24125 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
24126 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24127 }
24128 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
24129 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24130 }
24131 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
24132 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
24133 }
24134 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
24135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24136 }
24137 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
24138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24139 }
24140 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
24141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24142 }
24143 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
24144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24145 }
24146 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
24147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24148 }
24149 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
24150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24151 }
24152 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
24153 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24154 }
24155 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
24156 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24157 }
24158 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
24159 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
24160 }
24161 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
24162 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
24163 }
24164 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
24165 return (void *)((wxFrame *) ((wxProgressDialog *) x));
24166 }
24167 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
24168 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
24169 }
24170 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
24171 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24172 }
24173 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
24174 return (void *)((wxFrame *) ((wxMiniFrame *) x));
24175 }
24176 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
24177 return (void *)((wxFrame *) ((wxSplashScreen *) x));
24178 }
24179 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
24180 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
24181 }
24182 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
24183 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
24184 }
24185 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
24186 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24187 }
24188 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
24189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24190 }
24191 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
24192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24193 }
24194 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
24195 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
24196 }
24197 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
24198 return (void *)((wxObject *) ((wxSizerItem *) x));
24199 }
24200 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
24201 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
24202 }
24203 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
24204 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
24205 }
24206 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
24207 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
24208 }
24209 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
24210 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
24211 }
24212 static void *_p_wxSizerTo_p_wxObject(void *x) {
24213 return (void *)((wxObject *) ((wxSizer *) x));
24214 }
24215 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
24216 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
24217 }
24218 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
24219 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
24220 }
24221 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
24222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24223 }
24224 static void *_p_wxEventTo_p_wxObject(void *x) {
24225 return (void *)((wxObject *) ((wxEvent *) x));
24226 }
24227 static void *_p_wxFontDataTo_p_wxObject(void *x) {
24228 return (void *)((wxObject *) ((wxFontData *) x));
24229 }
24230 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
24231 return (void *)((wxObject *) ((wxPrintData *) x));
24232 }
24233 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
24234 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
24235 }
24236 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
24237 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
24238 }
24239 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
24240 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
24241 }
24242 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
24243 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
24244 }
24245 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
24246 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
24247 }
24248 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
24249 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
24250 }
24251 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
24252 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
24253 }
24254 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
24255 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
24256 }
24257 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
24258 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
24259 }
24260 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
24261 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
24262 }
24263 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
24264 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
24265 }
24266 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
24267 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
24268 }
24269 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
24270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24271 }
24272 static void *_p_wxControlTo_p_wxObject(void *x) {
24273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
24274 }
24275 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
24276 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
24277 }
24278 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
24279 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24280 }
24281 static void *_p_wxFSFileTo_p_wxObject(void *x) {
24282 return (void *)((wxObject *) ((wxFSFile *) x));
24283 }
24284 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
24285 return (void *)((wxObject *) ((wxFindReplaceData *) x));
24286 }
24287 static void *_p_wxPySizerTo_p_wxObject(void *x) {
24288 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
24289 }
24290 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
24291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24292 }
24293 static void *_p_wxColourDataTo_p_wxObject(void *x) {
24294 return (void *)((wxObject *) ((wxColourData *) x));
24295 }
24296 static void *_p_wxPyEventTo_p_wxObject(void *x) {
24297 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
24298 }
24299 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
24300 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
24301 }
24302 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
24303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
24304 }
24305 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
24306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24307 }
24308 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
24309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24310 }
24311 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
24312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24313 }
24314 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
24315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24316 }
24317 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
24318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24319 }
24320 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
24321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24322 }
24323 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
24324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24325 }
24326 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
24327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24328 }
24329 static void *_p_wxShowEventTo_p_wxObject(void *x) {
24330 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
24331 }
24332 static void *_p_wxPrinterTo_p_wxObject(void *x) {
24333 return (void *)((wxObject *) ((wxPrinter *) x));
24334 }
24335 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
24336 return (void *)((wxObject *) ((wxMenuItem *) x));
24337 }
24338 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
24339 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
24340 }
24341 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
24342 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
24343 }
24344 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
24345 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
24346 }
24347 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
24348 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
24349 }
24350 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
24351 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
24352 }
24353 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
24354 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
24355 }
24356 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
24357 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
24358 }
24359 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
24360 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
24361 }
24362 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
24363 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
24364 }
24365 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
24366 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
24367 }
24368 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
24369 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
24370 }
24371 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
24372 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
24373 }
24374 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
24375 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
24376 }
24377 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
24378 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
24379 }
24380 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
24381 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
24382 }
24383 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
24384 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
24385 }
24386 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
24387 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
24388 }
24389 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
24390 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
24391 }
24392 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
24393 return (void *)((wxObject *) ((wxImageHandler *) x));
24394 }
24395 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
24396 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
24397 }
24398 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
24399 return (void *)((wxObject *) ((wxEvtHandler *) x));
24400 }
24401 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
24402 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
24403 }
24404 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
24405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24406 }
24407 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
24408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24409 }
24410 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
24411 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
24412 }
24413 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
24414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24415 }
24416 static void *_p_wxImageTo_p_wxObject(void *x) {
24417 return (void *)((wxObject *) ((wxImage *) x));
24418 }
24419 static void *_p_wxFrameTo_p_wxObject(void *x) {
24420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24421 }
24422 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
24423 return (void *)((wxObject *) ((wxPyPrintout *) x));
24424 }
24425 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
24426 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
24427 }
24428 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
24429 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
24430 }
24431 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
24432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
24433 }
24434 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
24435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24436 }
24437 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
24438 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24439 }
24440 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
24441 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
24442 }
24443 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
24444 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
24445 }
24446 static void *_p_wxWindowTo_p_wxObject(void *x) {
24447 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
24448 }
24449 static void *_p_wxMenuTo_p_wxObject(void *x) {
24450 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
24451 }
24452 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
24453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
24454 }
24455 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
24456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24457 }
24458 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
24459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
24460 }
24461 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
24462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
24463 }
24464 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
24465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
24466 }
24467 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
24468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
24469 }
24470 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
24471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24472 }
24473 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
24474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
24475 }
24476 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
24477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24478 }
24479 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
24480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24481 }
24482 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
24483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24484 }
24485 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
24486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
24487 }
24488 static void *_p_wxSashEventTo_p_wxObject(void *x) {
24489 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
24490 }
24491 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
24492 return (void *)((wxObject *) ((wxPrintPreview *) x));
24493 }
24494 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
24495 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
24496 }
24497 static void *_p_wxPanelTo_p_wxObject(void *x) {
24498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
24499 }
24500 static void *_p_wxDialogTo_p_wxObject(void *x) {
24501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24502 }
24503 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
24504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24505 }
24506 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
24507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24508 }
24509 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
24510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24511 }
24512 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
24513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24514 }
24515 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
24516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24517 }
24518 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
24519 return (void *)((wxObject *) ((wxFileSystem *) x));
24520 }
24521 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
24522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
24523 }
24524 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
24525 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
24526 }
24527 static void *_p_wxPyAppTo_p_wxObject(void *x) {
24528 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
24529 }
24530 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
24531 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
24532 }
24533 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
24534 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
24535 }
24536 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
24537 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
24538 }
24539 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
24540 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
24541 }
24542 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
24543 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
24544 }
24545 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
24546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24547 }
24548 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
24549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24550 }
24551 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
24552 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
24553 }
24554 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
24555 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
24556 }
24557 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
24558 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
24559 }
24560 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
24561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24562 }
24563 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
24564 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
24565 }
24566 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
24567 return (void *)((wxObject *) ((wxPrintDialogData *) x));
24568 }
24569 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
24570 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
24571 }
24572 static void *_p_wxValidatorTo_p_wxObject(void *x) {
24573 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
24574 }
24575 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
24576 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24577 }
24578 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
24579 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
24580 }
24581 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
24582 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24583 }
24584 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
24585 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24586 }
24587 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
24588 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24589 }
24590 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
24591 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
24592 }
24593 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
24594 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
24595 }
24596 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
24597 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
24598 }
24599 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
24600 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
24601 }
24602 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
24603 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
24604 }
24605 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
24606 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
24607 }
24608 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
24609 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
24610 }
24611 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
24612 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
24613 }
24614 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
24615 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
24616 }
24617 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
24618 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
24619 }
24620 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
24621 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
24622 }
24623 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
24624 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
24625 }
24626 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
24627 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
24628 }
24629 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
24630 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
24631 }
24632 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
24633 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
24634 }
24635 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
24636 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
24637 }
24638 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24639 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
24640 }
24641 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24642 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
24643 }
24644 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
24645 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
24646 }
24647 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24648 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
24649 }
24650 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24651 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24652 }
24653 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
24654 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24655 }
24656 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
24657 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24658 }
24659 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
24660 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
24661 }
24662 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
24663 return (void *)((wxWindow *) ((wxMenuBar *) x));
24664 }
24665 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
24666 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24667 }
24668 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
24669 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24670 }
24671 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
24672 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24673 }
24674 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
24675 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24676 }
24677 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
24678 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24679 }
24680 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
24681 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24682 }
24683 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
24684 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24685 }
24686 static void *_p_wxPanelTo_p_wxWindow(void *x) {
24687 return (void *)((wxWindow *) ((wxPanel *) x));
24688 }
24689 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
24690 return (void *)((wxWindow *) ((wxStatusBar *) x));
24691 }
24692 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
24693 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
24694 }
24695 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
24696 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
24697 }
24698 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
24699 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24700 }
24701 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
24702 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24703 }
24704 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
24705 return (void *)((wxWindow *) ((wxPopupWindow *) x));
24706 }
24707 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
24708 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
24709 }
24710 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
24711 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
24712 }
24713 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
24714 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
24715 }
24716 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
24717 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
24718 }
24719 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
24720 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
24721 }
24722 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
24723 return (void *)((wxWindow *) ((wxSashWindow *) x));
24724 }
24725 static void *_p_wxControlTo_p_wxWindow(void *x) {
24726 return (void *)((wxWindow *) ((wxControl *) x));
24727 }
24728 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
24729 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24730 }
24731 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
24732 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24733 }
24734 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
24735 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24736 }
24737 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
24738 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
24739 }
24740 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
24741 return (void *)((wxWindow *) ((wxPyWindow *) x));
24742 }
24743 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
24744 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24745 }
24746 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
24747 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24748 }
24749 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
24750 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24751 }
24752 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
24753 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
24754 }
24755 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
24756 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24757 }
24758 static void *_p_wxFrameTo_p_wxWindow(void *x) {
24759 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
24760 }
24761 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
24762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24763 }
24764 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
24765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24766 }
24767 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
24768 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24769 }
24770 static void *_p_wxDialogTo_p_wxWindow(void *x) {
24771 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
24772 }
24773 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
24774 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24775 }
24776 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
24777 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24778 }
24779 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
24780 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24781 }
24782 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
24783 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
24784 }
24785 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
24786 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
24787 }
24788 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
24789 return (void *)((wxDialog *) ((wxColourDialog *) x));
24790 }
24791 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
24792 return (void *)((wxDialog *) ((wxDirDialog *) x));
24793 }
24794 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
24795 return (void *)((wxDialog *) ((wxFontDialog *) x));
24796 }
24797 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
24798 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
24799 }
24800 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
24801 return (void *)((wxDialog *) ((wxPrintDialog *) x));
24802 }
24803 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
24804 return (void *)((wxDialog *) ((wxFileDialog *) x));
24805 }
24806 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
24807 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
24808 }
24809 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
24810 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
24811 }
24812 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24813 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24814 }
24815 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24816 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24817 }
24818 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24819 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24820 }
24821 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24822 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24823 }
24824 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24825 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24826 }
24827 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24828 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24829 }
24830 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24831 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24832 }
24833 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24834 return (void *)((wxPanel *) ((wxPyPanel *) x));
24835 }
24836 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24837 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24838 }
24839 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24840 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24841 }
24842 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24843 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24844 }
24845 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24846 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24847 }
24848 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24849 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24850 }
24851 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24852 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24853 }
24854 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24855 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24856 }
24857 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24858 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24859 }
24860 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24861 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24862 }
24863 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24864 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24865 }
24866 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24867 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24868 }
24869 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24870 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24871 }
24872 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24873 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24874 }
24875 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24876 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24877 }
24878 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24879 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24880 }
24881 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24882 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24883 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24884 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24885 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24886 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24887 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24888 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24889 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24890 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24891 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24892 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24893 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24894 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24895 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24896 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24897 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24898 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24899 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24900 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24901 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24902 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24903 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24904 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24905 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24906 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24907 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24908 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24909 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24910 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24911 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24912 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24913 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24914 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24915 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24916 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24917 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24918 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24919 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24920 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24921 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24922 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24923 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24924 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24925 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24926 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24927 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24928 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24929 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24930 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24931 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24932 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24933 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24934 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24935 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24936 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24937 static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24938 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24939 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24940 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24941 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24942 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24943 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24944 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24945 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24946 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24947 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24948 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24949 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24950 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24951 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24952 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24953 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24954 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24955 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24956 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24957 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24958 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24959 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24960 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24961 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24962 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24963 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24964 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24965
24966 static swig_type_info *swig_types_initial[] = {
24967 _swigt__p_wxQueryLayoutInfoEvent,
24968 _swigt__p_wxPreviewFrame,
24969 _swigt__p_wxPyPreviewFrame,
24970 _swigt__p_wxPyPanel,
24971 _swigt__p_wxMenu,
24972 _swigt__p_wxPrintData,
24973 _swigt__p_wxFontData,
24974 _swigt__p_wxEvent,
24975 _swigt__p_wxTaskBarIcon,
24976 _swigt__p_wxIconBundle,
24977 _swigt__p_wxLayoutAlgorithm,
24978 _swigt__p_wxFindDialogEvent,
24979 _swigt__p_wxPreviewCanvas,
24980 _swigt__p_wxFont,
24981 _swigt__p_wxSplitterEvent,
24982 _swigt__p_wxRegion,
24983 _swigt__p_wxFindReplaceData,
24984 _swigt__p_int,
24985 _swigt__p_wxSize,
24986 _swigt__p_wxDC,
24987 _swigt__p_wxIcon,
24988 _swigt__p_wxMDIChildFrame,
24989 _swigt__p_wxColourData,
24990 _swigt__p_wxNotifyEvent,
24991 _swigt__p_wxPyWindow,
24992 _swigt__p_wxSplashScreen,
24993 _swigt__p_wxFindReplaceDialog,
24994 _swigt__p_wxProgressDialog,
24995 _swigt__p_wxMessageDialog,
24996 _swigt__p_wxTextEntryDialog,
24997 _swigt__p_wxSingleChoiceDialog,
24998 _swigt__p_wxMultiChoiceDialog,
24999 _swigt__p_wxFileDialog,
25000 _swigt__p_wxPrinter,
25001 _swigt__p_wxArrayInt,
25002 _swigt__p_wxEvtHandler,
25003 _swigt__p_wxCalculateLayoutEvent,
25004 _swigt__p_wxPyHtmlListBox,
25005 _swigt__p_wxPyVListBox,
25006 _swigt__p_wxRect,
25007 _swigt__p_char,
25008 _swigt__p_wxMiniFrame,
25009 _swigt__p_wxFrame,
25010 _swigt__p_wxPyPrintout,
25011 _swigt__p_wxTaskBarIconEvent,
25012 _swigt__p_wxScrollWinEvent,
25013 _swigt__p_wxStatusBar,
25014 _swigt__p_wxMDIParentFrame,
25015 _swigt__p_wxPoint,
25016 _swigt__p_wxObject,
25017 _swigt__p_wxOutputStream,
25018 _swigt__p_unsigned_long,
25019 _swigt__p_wxMDIClientWindow,
25020 _swigt__p_wxTipWindow,
25021 _swigt__p_wxSashLayoutWindow,
25022 _swigt__p_wxSplitterWindow,
25023 _swigt__p_wxPyVScrolledWindow,
25024 _swigt__p_wxPyPopupTransientWindow,
25025 _swigt__p_wxPopupWindow,
25026 _swigt__p_wxSashWindow,
25027 _swigt__p_wxTopLevelWindow,
25028 _swigt__p_wxWindow,
25029 _swigt__p_wxScrolledWindow,
25030 _swigt__p_wxSplashScreenWindow,
25031 _swigt__p_wxMenuBar,
25032 _swigt__p_wxPrintPreview,
25033 _swigt__p_wxSashEvent,
25034 _swigt__p_wxString,
25035 _swigt__p_wxPyPrintPreview,
25036 _swigt__p_wxFontDialog,
25037 _swigt__p_wxDirDialog,
25038 _swigt__p_wxColourDialog,
25039 _swigt__p_wxDialog,
25040 _swigt__p_wxPanel,
25041 _swigt__p_wxPageSetupDialog,
25042 _swigt__p_wxPrintDialog,
25043 _swigt__p_wxBitmap,
25044 _swigt__p_wxCommandEvent,
25045 _swigt__p_wxPreviewControlBar,
25046 _swigt__p_wxPyPreviewControlBar,
25047 _swigt__p_wxColour,
25048 _swigt__p_wxToolBar,
25049 _swigt__p_wxPageSetupDialogData,
25050 _swigt__p_wxPrintDialogData,
25051 0
25052 };
25053
25054
25055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25056
25057 static swig_const_info swig_const_table[] = {
25058 {0}};
25059
25060 #ifdef __cplusplus
25061 }
25062 #endif
25063
25064 #ifdef __cplusplus
25065 extern "C"
25066 #endif
25067 SWIGEXPORT(void) SWIG_init(void) {
25068 static PyObject *SWIG_globals = 0;
25069 static int typeinit = 0;
25070 PyObject *m, *d;
25071 int i;
25072 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
25073 m = Py_InitModule((char *) SWIG_name, SwigMethods);
25074 d = PyModule_GetDict(m);
25075
25076 if (!typeinit) {
25077 for (i = 0; swig_types_initial[i]; i++) {
25078 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
25079 }
25080 typeinit = 1;
25081 }
25082 SWIG_InstallConstants(d,swig_const_table);
25083
25084 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
25085 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
25086 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
25087 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
25088 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
25089 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
25090 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
25091 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
25092 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
25093 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
25094 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
25095 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
25096 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
25097 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
25098 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
25099 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
25100 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
25101 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
25102 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
25103 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
25104 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
25105 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
25106 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
25107 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
25108 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
25109 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
25110 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
25111 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
25112 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
25113 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
25114 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
25115 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
25116 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
25117 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
25118 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
25119 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
25120 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
25121 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
25122 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
25123 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
25124 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
25125 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
25126 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
25127 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
25128 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
25129 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
25130 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
25131 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
25132 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
25133 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
25134 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
25135 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
25136 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
25137 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
25138 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
25139 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
25140 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
25141 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
25142 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
25143 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
25144 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
25145 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
25146 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
25147 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
25148 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
25149 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
25150 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
25151 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
25152
25153 // Map renamed classes back to their common name for OOR
25154 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25155 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25156 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25157
25158 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
25159 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
25160 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
25161 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
25162 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
25163 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
25164 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
25165 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
25166 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
25167 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
25168 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
25169 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
25170 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
25171 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
25172 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
25173 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
25174 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
25175 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
25176 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
25177 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
25178 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
25179 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
25180 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
25181 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
25182 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
25183 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
25184 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25185 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25186 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25187 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25188 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25189 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25190 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25191 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25192 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
25193 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
25194 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
25195 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
25196 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
25197 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
25198 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
25199 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
25200 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
25201 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
25202 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
25203 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
25204 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
25205 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
25206 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
25207 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
25208 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
25209 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
25210 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
25211 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
25212 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
25213 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
25214 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
25215 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
25216 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
25217 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
25218
25219 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
25220
25221 }
25222